From f39e58dafd9d4f24ab702a6154350656c3c2e710 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 30 May 2025 05:35:24 +0000 Subject: [PATCH] Automated update by SDK Generator version:3.11.0 commit:fbb3a12 --- .github/workflows/release.yml | 2 +- package.json | 2 +- src/gen/.openapi-generator/FILES | 99 + src/gen/docs/apis/AccountingApi.md | 680 +++ src/gen/docs/apis/CrmApi.md | 682 +++ src/gen/docs/models/AccountingDepartment.md | 4 +- src/gen/docs/models/AccountingLocation.md | 2 +- src/gen/docs/models/Activity.md | 2 +- src/gen/docs/models/Applicant.md | 2 +- src/gen/docs/models/Application.md | 2 +- src/gen/docs/models/AtsActivity.md | 2 +- src/gen/docs/models/BalanceSheetReports.md | 2 +- src/gen/docs/models/BankFeedAccount.md | 71 + src/gen/docs/models/BankFeedStatement.md | 60 + .../models/BankFeedStatementTransactions.md | 54 + src/gen/docs/models/Bill.md | 2 +- src/gen/docs/models/BillPayment.md | 2 +- src/gen/docs/models/Collection.md | 2 +- src/gen/docs/models/CollectionTag.md | 2 +- .../docs/models/CollectionTicketComment.md | 2 +- src/gen/docs/models/CollectionUser.md | 2 +- src/gen/docs/models/Company.md | 2 +- src/gen/docs/models/CompanyInfo.md | 2 +- src/gen/docs/models/Contact.md | 2 +- .../models/CreateBankFeedAccountResponse.md | 33 + .../models/CreateBankFeedStatementResponse.md | 33 + .../docs/models/CreateCustomObjectResponse.md | 33 + .../CreateCustomObjectSchemaResponse.md | 33 + src/gen/docs/models/CreditNote.md | 2 +- src/gen/docs/models/CreditOrDebit.md | 15 + src/gen/docs/models/CustomObject.md | 37 + src/gen/docs/models/CustomObjectFields.md | 19 + src/gen/docs/models/CustomObjectSchema.md | 41 + .../docs/models/CustomObjectSchemaFields.md | 64 + .../docs/models/CustomObjectSchemaOptions.md | 19 + .../docs/models/CustomObjectSchemasSort.md | 36 + src/gen/docs/models/CustomObjectsSort.md | 36 + src/gen/docs/models/Customer.md | 2 +- .../models/DeleteBankFeedAccountResponse.md | 33 + .../models/DeleteBankFeedStatementResponse.md | 33 + .../docs/models/DeleteCustomObjectResponse.md | 33 + .../DeleteCustomObjectSchemaResponse.md | 33 + src/gen/docs/models/Department.md | 2 +- src/gen/docs/models/Drive.md | 2 +- src/gen/docs/models/DriveGroup.md | 2 +- src/gen/docs/models/EcommerceCustomer.md | 2 +- src/gen/docs/models/EcommerceOrder.md | 4 +- src/gen/docs/models/EcommerceOrderLineItem.md | 2 +- src/gen/docs/models/EcommerceOrderRefund.md | 31 + src/gen/docs/models/EcommerceProduct.md | 2 +- src/gen/docs/models/EcommerceStore.md | 2 +- src/gen/docs/models/Employee.md | 2 +- src/gen/docs/models/EmployeesFilter.md | 1 + src/gen/docs/models/Expense.md | 6 +- src/gen/docs/models/ExpenseLineItem.md | 2 + src/gen/docs/models/Folder.md | 2 +- .../docs/models/GetBankFeedAccountResponse.md | 33 + .../models/GetBankFeedAccountsResponse.md | 37 + .../models/GetBankFeedStatementResponse.md | 33 + .../models/GetBankFeedStatementsResponse.md | 37 + .../docs/models/GetCustomObjectResponse.md | 33 + .../models/GetCustomObjectSchemaResponse.md | 33 + .../models/GetCustomObjectSchemasResponse.md | 37 + .../docs/models/GetCustomObjectsResponse.md | 37 + src/gen/docs/models/HrisCompany.md | 2 +- src/gen/docs/models/HrisJob.md | 2 +- src/gen/docs/models/Invoice.md | 4 +- src/gen/docs/models/InvoiceItem.md | 2 +- src/gen/docs/models/InvoiceLineItem.md | 2 + .../docs/models/InvoicePaymentAllocations.md | 20 + src/gen/docs/models/Item.md | 2 +- src/gen/docs/models/Job.md | 2 +- src/gen/docs/models/JournalEntry.md | 25 +- src/gen/docs/models/Lead.md | 4 +- src/gen/docs/models/LedgerAccount.md | 2 +- src/gen/docs/models/Location.md | 2 +- src/gen/docs/models/Merchant.md | 2 +- src/gen/docs/models/Message.md | 2 +- src/gen/docs/models/Modifier.md | 2 +- src/gen/docs/models/ModifierGroup.md | 2 +- src/gen/docs/models/Note.md | 3 +- src/gen/docs/models/Offer.md | 2 +- src/gen/docs/models/Opportunity.md | 2 +- src/gen/docs/models/Order.md | 2 +- src/gen/docs/models/OtherExpenses.md | 4 +- src/gen/docs/models/OtherIncome.md | 4 +- src/gen/docs/models/Payment.md | 2 +- src/gen/docs/models/PaymentsFilter.md | 1 + src/gen/docs/models/Payroll.md | 2 +- src/gen/docs/models/Person.md | 2 +- src/gen/docs/models/PosPayment.md | 2 +- src/gen/docs/models/ProfitAndLoss.md | 2 +- src/gen/docs/models/PurchaseOrder.md | 4 +- src/gen/docs/models/Subsidiary.md | 2 +- src/gen/docs/models/Supplier.md | 2 +- src/gen/docs/models/TaxRate.md | 2 +- src/gen/docs/models/Tender.md | 2 +- src/gen/docs/models/Ticket.md | 2 +- src/gen/docs/models/TimeOffRequest.md | 2 +- src/gen/docs/models/TrackingCategory.md | 2 +- src/gen/docs/models/UnifiedFile.md | 2 +- .../models/UpdateBankFeedAccountResponse.md | 33 + .../models/UpdateBankFeedStatementResponse.md | 33 + .../docs/models/UpdateCustomObjectResponse.md | 33 + .../UpdateCustomObjectSchemaResponse.md | 33 + src/gen/docs/models/User.md | 2 +- src/gen/lib/Api/AccountingApi.php | 5258 ++++++++++++++++- src/gen/lib/Api/AtsApi.php | 2 +- src/gen/lib/Api/ConnectorApi.php | 2 +- src/gen/lib/Api/CrmApi.php | 5200 +++++++++++++++- src/gen/lib/Api/EcommerceApi.php | 2 +- src/gen/lib/Api/FileStorageApi.php | 2 +- src/gen/lib/Api/HrisApi.php | 2 +- src/gen/lib/Api/IssueTrackingApi.php | 2 +- src/gen/lib/Api/LeadApi.php | 2 +- src/gen/lib/Api/PosApi.php | 2 +- src/gen/lib/Api/SmsApi.php | 2 +- src/gen/lib/Api/VaultApi.php | 2 +- src/gen/lib/Api/WebhookApi.php | 2 +- src/gen/lib/ApiException.php | 2 +- src/gen/lib/Configuration.php | 8 +- src/gen/lib/HeaderSelector.php | 2 +- src/gen/lib/Model/AccountingDepartment.php | 38 +- .../lib/Model/AccountingDepartmentsFilter.php | 2 +- src/gen/lib/Model/AccountingEventType.php | 2 +- src/gen/lib/Model/AccountingLocation.php | 8 +- .../lib/Model/AccountingLocationsFilter.php | 2 +- src/gen/lib/Model/ActivitiesFilter.php | 2 +- src/gen/lib/Model/ActivitiesSort.php | 2 +- src/gen/lib/Model/Activity.php | 8 +- src/gen/lib/Model/ActivityAttendee.php | 2 +- src/gen/lib/Model/Address.php | 2 +- src/gen/lib/Model/AgedCreditors.php | 2 +- src/gen/lib/Model/AgedDebtors.php | 2 +- src/gen/lib/Model/AgedReportFilter.php | 2 +- src/gen/lib/Model/Allocation.php | 2 +- src/gen/lib/Model/Api.php | 2 +- src/gen/lib/Model/ApiResource.php | 2 +- src/gen/lib/Model/ApiResourceCoverage.php | 2 +- .../lib/Model/ApiResourceCoverageCoverage.php | 2 +- .../lib/Model/ApiResourceLinkedResources.php | 2 +- src/gen/lib/Model/ApiResources.php | 2 +- src/gen/lib/Model/ApiStatus.php | 2 +- src/gen/lib/Model/ApisFilter.php | 2 +- src/gen/lib/Model/Applicant.php | 8 +- src/gen/lib/Model/ApplicantSocialLinks.php | 2 +- src/gen/lib/Model/ApplicantWebsites.php | 2 +- src/gen/lib/Model/ApplicantsFilter.php | 2 +- src/gen/lib/Model/Application.php | 8 +- src/gen/lib/Model/ApplicationStage.php | 2 +- src/gen/lib/Model/Assignee.php | 2 +- src/gen/lib/Model/AtsActivity.php | 8 +- src/gen/lib/Model/AtsEventType.php | 2 +- src/gen/lib/Model/Attachment.php | 2 +- src/gen/lib/Model/AttachmentReference.php | 2 +- src/gen/lib/Model/AttachmentReferenceType.php | 2 +- src/gen/lib/Model/AuthType.php | 2 +- src/gen/lib/Model/BadRequestResponse.php | 2 +- src/gen/lib/Model/BalanceByPeriod.php | 2 +- src/gen/lib/Model/BalanceByTransaction.php | 2 +- src/gen/lib/Model/BalanceSheet.php | 2 +- src/gen/lib/Model/BalanceSheetAccount.php | 2 +- .../lib/Model/BalanceSheetAccountRecord.php | 2 +- .../lib/Model/BalanceSheetAssetsAccount.php | 2 +- .../lib/Model/BalanceSheetEquityAccount.php | 2 +- src/gen/lib/Model/BalanceSheetFilter.php | 2 +- .../Model/BalanceSheetLiabilitiesAccount.php | 2 +- src/gen/lib/Model/BalanceSheetReports.php | 8 +- .../BalanceSheetUncategorizedItemsAccount.php | 2 +- src/gen/lib/Model/BankAccount.php | 2 +- src/gen/lib/Model/BankFeedAccount.php | 827 +++ src/gen/lib/Model/BankFeedStatement.php | 750 +++ .../Model/BankFeedStatementTransactions.php | 585 ++ src/gen/lib/Model/Benefit.php | 2 +- src/gen/lib/Model/Bill.php | 8 +- src/gen/lib/Model/BillLineItem.php | 2 +- src/gen/lib/Model/BillPayment.php | 8 +- src/gen/lib/Model/BillPaymentAllocations.php | 2 +- src/gen/lib/Model/BillsFilter.php | 2 +- src/gen/lib/Model/BillsSort.php | 2 +- src/gen/lib/Model/Branch.php | 2 +- src/gen/lib/Model/CashDetails.php | 2 +- src/gen/lib/Model/Collection.php | 8 +- src/gen/lib/Model/CollectionTag.php | 8 +- src/gen/lib/Model/CollectionTicketComment.php | 8 +- src/gen/lib/Model/CollectionUser.php | 8 +- src/gen/lib/Model/CollectionsSort.php | 2 +- src/gen/lib/Model/CommentsSort.php | 2 +- src/gen/lib/Model/CompaniesFilter.php | 2 +- src/gen/lib/Model/CompaniesSort.php | 2 +- src/gen/lib/Model/Company.php | 8 +- src/gen/lib/Model/CompanyInfo.php | 8 +- src/gen/lib/Model/CompanyRowType.php | 2 +- src/gen/lib/Model/Compensation.php | 2 +- src/gen/lib/Model/Connection.php | 2 +- src/gen/lib/Model/ConnectionConfiguration.php | 2 +- src/gen/lib/Model/ConnectionDefaults.php | 2 +- src/gen/lib/Model/ConnectionImportData.php | 2 +- .../Model/ConnectionImportDataCredentials.php | 2 +- src/gen/lib/Model/ConnectionMetadata.php | 2 +- src/gen/lib/Model/ConnectionState.php | 2 +- src/gen/lib/Model/ConnectionWebhook.php | 2 +- src/gen/lib/Model/Connector.php | 2 +- src/gen/lib/Model/ConnectorDoc.php | 2 +- src/gen/lib/Model/ConnectorEvent.php | 2 +- src/gen/lib/Model/ConnectorOauthScopes.php | 2 +- src/gen/lib/Model/ConnectorOauthScopes1.php | 2 +- src/gen/lib/Model/ConnectorResource.php | 2 +- src/gen/lib/Model/ConnectorSetting.php | 2 +- src/gen/lib/Model/ConnectorStatus.php | 2 +- src/gen/lib/Model/ConnectorTlsSupport.php | 2 +- src/gen/lib/Model/ConnectorUnifiedApis.php | 2 +- src/gen/lib/Model/ConnectorsFilter.php | 2 +- src/gen/lib/Model/Consumer.php | 2 +- src/gen/lib/Model/ConsumerConnection.php | 2 +- src/gen/lib/Model/ConsumerMetadata.php | 2 +- ...nsumerRequestCountsInDateRangeResponse.php | 2 +- ...erRequestCountsInDateRangeResponseData.php | 2 +- src/gen/lib/Model/Contact.php | 8 +- src/gen/lib/Model/ContactsFilter.php | 2 +- src/gen/lib/Model/ContactsSort.php | 2 +- src/gen/lib/Model/CopyFolderRequest.php | 2 +- src/gen/lib/Model/CostOfGoodsSold.php | 2 +- .../CreateAccountingDepartmentResponse.php | 2 +- .../CreateAccountingLocationResponse.php | 2 +- src/gen/lib/Model/CreateActivityResponse.php | 2 +- src/gen/lib/Model/CreateApplicantResponse.php | 2 +- .../lib/Model/CreateApplicationResponse.php | 2 +- src/gen/lib/Model/CreateAttachmentRequest.php | 2 +- .../lib/Model/CreateAttachmentResponse.php | 2 +- .../Model/CreateBankFeedAccountResponse.php | 519 ++ .../Model/CreateBankFeedStatementResponse.php | 519 ++ .../lib/Model/CreateBillPaymentResponse.php | 2 +- src/gen/lib/Model/CreateBillResponse.php | 2 +- src/gen/lib/Model/CreateCallbackState.php | 2 +- .../lib/Model/CreateCallbackStateResponse.php | 2 +- .../Model/CreateCallbackStateResponseData.php | 2 +- src/gen/lib/Model/CreateCommentResponse.php | 2 +- src/gen/lib/Model/CreateCompanyResponse.php | 2 +- .../lib/Model/CreateConnectionResponse.php | 2 +- src/gen/lib/Model/CreateConsumerResponse.php | 2 +- src/gen/lib/Model/CreateContactResponse.php | 2 +- .../lib/Model/CreateCreditNoteResponse.php | 2 +- .../lib/Model/CreateCustomMappingRequest.php | 2 +- .../lib/Model/CreateCustomMappingResponse.php | 2 +- .../lib/Model/CreateCustomObjectResponse.php | 519 ++ .../CreateCustomObjectSchemaResponse.php | 519 ++ src/gen/lib/Model/CreateCustomerResponse.php | 2 +- .../lib/Model/CreateDepartmentResponse.php | 2 +- .../lib/Model/CreateDriveGroupResponse.php | 2 +- src/gen/lib/Model/CreateDriveResponse.php | 2 +- .../Model/CreateEcommerceCustomerResponse.php | 2 +- .../Model/CreateEcommerceOrderResponse.php | 2 +- src/gen/lib/Model/CreateEmployeeResponse.php | 2 +- src/gen/lib/Model/CreateExpenseResponse.php | 2 +- src/gen/lib/Model/CreateFileRequest.php | 2 +- src/gen/lib/Model/CreateFileResponse.php | 2 +- src/gen/lib/Model/CreateFolderRequest.php | 2 +- src/gen/lib/Model/CreateFolderResponse.php | 2 +- .../lib/Model/CreateHrisCompanyResponse.php | 2 +- .../lib/Model/CreateInvoiceItemResponse.php | 2 +- src/gen/lib/Model/CreateInvoiceResponse.php | 2 +- src/gen/lib/Model/CreateItemResponse.php | 2 +- src/gen/lib/Model/CreateJobResponse.php | 2 +- .../lib/Model/CreateJournalEntryResponse.php | 2 +- src/gen/lib/Model/CreateLeadResponse.php | 2 +- .../lib/Model/CreateLedgerAccountResponse.php | 2 +- src/gen/lib/Model/CreateLocationResponse.php | 2 +- src/gen/lib/Model/CreateMerchantResponse.php | 2 +- src/gen/lib/Model/CreateMessageResponse.php | 2 +- .../lib/Model/CreateModifierGroupResponse.php | 2 +- src/gen/lib/Model/CreateModifierResponse.php | 2 +- src/gen/lib/Model/CreateNoteResponse.php | 2 +- .../lib/Model/CreateOpportunityResponse.php | 2 +- src/gen/lib/Model/CreateOrderResponse.php | 2 +- src/gen/lib/Model/CreateOrderTypeResponse.php | 2 +- src/gen/lib/Model/CreatePaymentResponse.php | 2 +- src/gen/lib/Model/CreatePipelineResponse.php | 2 +- .../lib/Model/CreatePosPaymentResponse.php | 2 +- src/gen/lib/Model/CreateProductResponse.php | 2 +- .../lib/Model/CreatePurchaseOrderResponse.php | 2 +- src/gen/lib/Model/CreateSessionResponse.php | 2 +- .../lib/Model/CreateSessionResponseData.php | 2 +- .../lib/Model/CreateSharedLinkResponse.php | 2 +- .../lib/Model/CreateSubsidiaryResponse.php | 2 +- src/gen/lib/Model/CreateSupplierResponse.php | 2 +- src/gen/lib/Model/CreateTaxRateResponse.php | 2 +- src/gen/lib/Model/CreateTenderResponse.php | 2 +- src/gen/lib/Model/CreateTicketResponse.php | 2 +- .../Model/CreateTimeOffRequestResponse.php | 2 +- .../Model/CreateTrackingCategoryResponse.php | 2 +- .../lib/Model/CreateUploadSessionRequest.php | 2 +- .../lib/Model/CreateUploadSessionResponse.php | 2 +- src/gen/lib/Model/CreateUserResponse.php | 2 +- src/gen/lib/Model/CreateWebhookRequest.php | 2 +- src/gen/lib/Model/CreateWebhookResponse.php | 2 +- src/gen/lib/Model/CreditNote.php | 8 +- src/gen/lib/Model/CreditNotesFilter.php | 2 +- src/gen/lib/Model/CreditNotesSort.php | 2 +- src/gen/lib/Model/CreditOrDebit.php | 64 + src/gen/lib/Model/CrmEventType.php | 2 +- src/gen/lib/Model/Currency.php | 2 +- src/gen/lib/Model/CustomField.php | 2 +- src/gen/lib/Model/CustomFieldFinder.php | 2 +- src/gen/lib/Model/CustomMapping.php | 2 +- src/gen/lib/Model/CustomObject.php | 561 ++ src/gen/lib/Model/CustomObjectFields.php | 351 ++ src/gen/lib/Model/CustomObjectSchema.php | 621 ++ .../lib/Model/CustomObjectSchemaFields.php | 555 ++ .../lib/Model/CustomObjectSchemaOptions.php | 351 ++ src/gen/lib/Model/CustomObjectSchemasSort.php | 387 ++ src/gen/lib/Model/CustomObjectsSort.php | 387 ++ src/gen/lib/Model/Customer.php | 8 +- src/gen/lib/Model/CustomersFilter.php | 2 +- src/gen/lib/Model/CustomersSort.php | 2 +- src/gen/lib/Model/Deduction.php | 2 +- .../DeleteAccountingDepartmentResponse.php | 2 +- .../DeleteAccountingLocationResponse.php | 2 +- src/gen/lib/Model/DeleteActivityResponse.php | 2 +- src/gen/lib/Model/DeleteApplicantResponse.php | 2 +- .../lib/Model/DeleteApplicationResponse.php | 2 +- .../lib/Model/DeleteAttachmentResponse.php | 2 +- .../Model/DeleteBankFeedAccountResponse.php | 519 ++ .../Model/DeleteBankFeedStatementResponse.php | 519 ++ .../lib/Model/DeleteBillPaymentResponse.php | 2 +- src/gen/lib/Model/DeleteBillResponse.php | 2 +- src/gen/lib/Model/DeleteCommentResponse.php | 2 +- src/gen/lib/Model/DeleteCompanyResponse.php | 2 +- src/gen/lib/Model/DeleteConsumerResponse.php | 2 +- src/gen/lib/Model/DeleteContactResponse.php | 2 +- .../lib/Model/DeleteCreditNoteResponse.php | 2 +- .../lib/Model/DeleteCustomObjectResponse.php | 519 ++ .../DeleteCustomObjectSchemaResponse.php | 519 ++ src/gen/lib/Model/DeleteCustomerResponse.php | 2 +- .../lib/Model/DeleteDepartmentResponse.php | 2 +- .../lib/Model/DeleteDriveGroupResponse.php | 2 +- src/gen/lib/Model/DeleteDriveResponse.php | 2 +- .../Model/DeleteEcommerceCustomerResponse.php | 2 +- .../Model/DeleteEcommerceOrderResponse.php | 2 +- src/gen/lib/Model/DeleteEmployeeResponse.php | 2 +- src/gen/lib/Model/DeleteExpenseResponse.php | 2 +- src/gen/lib/Model/DeleteFileResponse.php | 2 +- src/gen/lib/Model/DeleteFolderResponse.php | 2 +- .../lib/Model/DeleteHrisCompanyResponse.php | 2 +- src/gen/lib/Model/DeleteInvoiceResponse.php | 2 +- src/gen/lib/Model/DeleteItemResponse.php | 2 +- src/gen/lib/Model/DeleteJobResponse.php | 2 +- .../lib/Model/DeleteJournalEntryResponse.php | 2 +- src/gen/lib/Model/DeleteLeadResponse.php | 2 +- .../lib/Model/DeleteLedgerAccountResponse.php | 2 +- src/gen/lib/Model/DeleteLocationResponse.php | 2 +- src/gen/lib/Model/DeleteMerchantResponse.php | 2 +- src/gen/lib/Model/DeleteMessageResponse.php | 2 +- .../lib/Model/DeleteModifierGroupResponse.php | 2 +- src/gen/lib/Model/DeleteModifierResponse.php | 2 +- src/gen/lib/Model/DeleteNoteResponse.php | 2 +- .../lib/Model/DeleteOpportunityResponse.php | 2 +- src/gen/lib/Model/DeleteOrderResponse.php | 2 +- src/gen/lib/Model/DeleteOrderTypeResponse.php | 2 +- src/gen/lib/Model/DeletePaymentResponse.php | 2 +- src/gen/lib/Model/DeletePipelineResponse.php | 2 +- .../lib/Model/DeletePosPaymentResponse.php | 2 +- src/gen/lib/Model/DeleteProductResponse.php | 2 +- .../lib/Model/DeletePurchaseOrderResponse.php | 2 +- .../lib/Model/DeleteSharedLinkResponse.php | 2 +- .../lib/Model/DeleteSubsidiaryResponse.php | 2 +- src/gen/lib/Model/DeleteSupplierResponse.php | 2 +- src/gen/lib/Model/DeleteTaxRateResponse.php | 2 +- src/gen/lib/Model/DeleteTenderResponse.php | 2 +- src/gen/lib/Model/DeleteTicketResponse.php | 2 +- .../Model/DeleteTimeOffRequestResponse.php | 2 +- .../Model/DeleteTrackingCategoryResponse.php | 2 +- .../lib/Model/DeleteUploadSessionResponse.php | 2 +- src/gen/lib/Model/DeleteUserResponse.php | 2 +- src/gen/lib/Model/DeleteWebhookResponse.php | 2 +- src/gen/lib/Model/Department.php | 8 +- .../lib/Model/DeprecatedLinkedSupplier.php | 2 +- .../DeprecatedLinkedTrackingCategory.php | 2 +- src/gen/lib/Model/Drive.php | 8 +- src/gen/lib/Model/DriveGroup.php | 8 +- src/gen/lib/Model/DriveGroupsFilter.php | 2 +- src/gen/lib/Model/DrivesFilter.php | 2 +- src/gen/lib/Model/EcommerceAddress.php | 2 +- src/gen/lib/Model/EcommerceCustomer.php | 8 +- .../lib/Model/EcommerceCustomerAddresses.php | 2 +- .../lib/Model/EcommerceCustomersFilter.php | 2 +- src/gen/lib/Model/EcommerceDiscount.php | 2 +- src/gen/lib/Model/EcommerceEventType.php | 2 +- src/gen/lib/Model/EcommerceOrder.php | 38 +- src/gen/lib/Model/EcommerceOrderLineItem.php | 65 +- src/gen/lib/Model/EcommerceOrderRefund.php | 442 ++ src/gen/lib/Model/EcommerceOrderStatus.php | 2 +- src/gen/lib/Model/EcommerceOrdersFilter.php | 2 +- src/gen/lib/Model/EcommerceProduct.php | 8 +- .../lib/Model/EcommerceProductCategories.php | 2 +- src/gen/lib/Model/EcommerceProductImages.php | 2 +- src/gen/lib/Model/EcommerceProductImages1.php | 2 +- src/gen/lib/Model/EcommerceProductOptions.php | 2 +- .../lib/Model/EcommerceProductOptions1.php | 2 +- .../lib/Model/EcommerceProductVariants.php | 2 +- src/gen/lib/Model/EcommerceStore.php | 8 +- src/gen/lib/Model/Email.php | 2 +- src/gen/lib/Model/Employee.php | 8 +- src/gen/lib/Model/EmployeeCompensation.php | 2 +- src/gen/lib/Model/EmployeeEmploymentRole.php | 2 +- src/gen/lib/Model/EmployeeJob.php | 2 +- src/gen/lib/Model/EmployeeList.php | 2 +- src/gen/lib/Model/EmployeeManager.php | 2 +- src/gen/lib/Model/EmployeePayroll.php | 2 +- src/gen/lib/Model/EmployeeSchedules.php | 2 +- src/gen/lib/Model/EmployeesFilter.php | 42 +- src/gen/lib/Model/EmployeesOneFilter.php | 2 +- src/gen/lib/Model/EmployeesSort.php | 2 +- src/gen/lib/Model/EmploymentStatus.php | 2 +- src/gen/lib/Model/Error.php | 2 +- src/gen/lib/Model/ExecuteWebhookResponse.php | 2 +- src/gen/lib/Model/Expense.php | 68 +- src/gen/lib/Model/ExpenseLineItem.php | 42 +- src/gen/lib/Model/Expenses.php | 2 +- src/gen/lib/Model/FileStorageEventType.php | 2 +- src/gen/lib/Model/FileType.php | 2 +- src/gen/lib/Model/FilesFilter.php | 2 +- src/gen/lib/Model/FilesSearch.php | 2 +- src/gen/lib/Model/FilesSort.php | 2 +- src/gen/lib/Model/Folder.php | 8 +- src/gen/lib/Model/FormField.php | 2 +- src/gen/lib/Model/FormFieldOption.php | 2 +- src/gen/lib/Model/FormFieldOptionGroup.php | 2 +- src/gen/lib/Model/Gender.php | 2 +- .../Model/GetAccountingDepartmentResponse.php | 2 +- .../GetAccountingDepartmentsResponse.php | 2 +- .../Model/GetAccountingLocationResponse.php | 2 +- .../Model/GetAccountingLocationsResponse.php | 2 +- src/gen/lib/Model/GetActivitiesResponse.php | 2 +- src/gen/lib/Model/GetActivityResponse.php | 2 +- .../lib/Model/GetAgedCreditorsResponse.php | 2 +- src/gen/lib/Model/GetAgedDebtorsResponse.php | 2 +- .../Model/GetApiResourceCoverageResponse.php | 2 +- src/gen/lib/Model/GetApiResourceResponse.php | 2 +- src/gen/lib/Model/GetApiResponse.php | 2 +- src/gen/lib/Model/GetApisResponse.php | 2 +- src/gen/lib/Model/GetApplicantResponse.php | 2 +- src/gen/lib/Model/GetApplicantsResponse.php | 2 +- src/gen/lib/Model/GetApplicationResponse.php | 2 +- src/gen/lib/Model/GetApplicationsResponse.php | 2 +- src/gen/lib/Model/GetAttachmentResponse.php | 2 +- src/gen/lib/Model/GetAttachmentsResponse.php | 2 +- src/gen/lib/Model/GetBalanceSheetResponse.php | 2 +- .../lib/Model/GetBankFeedAccountResponse.php | 519 ++ .../lib/Model/GetBankFeedAccountsResponse.php | 579 ++ .../Model/GetBankFeedStatementResponse.php | 519 ++ .../Model/GetBankFeedStatementsResponse.php | 579 ++ src/gen/lib/Model/GetBillPaymentResponse.php | 2 +- src/gen/lib/Model/GetBillPaymentsResponse.php | 2 +- src/gen/lib/Model/GetBillResponse.php | 2 +- src/gen/lib/Model/GetBillsResponse.php | 2 +- src/gen/lib/Model/GetCollectionResponse.php | 2 +- .../lib/Model/GetCollectionTagsResponse.php | 2 +- .../lib/Model/GetCollectionUserResponse.php | 2 +- .../lib/Model/GetCollectionUsersResponse.php | 2 +- src/gen/lib/Model/GetCollectionsResponse.php | 2 +- src/gen/lib/Model/GetCommentResponse.php | 2 +- src/gen/lib/Model/GetCommentsResponse.php | 2 +- src/gen/lib/Model/GetCompaniesResponse.php | 2 +- src/gen/lib/Model/GetCompanyInfoResponse.php | 2 +- src/gen/lib/Model/GetCompanyResponse.php | 2 +- src/gen/lib/Model/GetConnectionResponse.php | 2 +- src/gen/lib/Model/GetConnectionsResponse.php | 2 +- .../GetConnectorResourceExampleResponse.php | 2 +- ...etConnectorResourceExampleResponseData.php | 2 +- .../Model/GetConnectorResourceResponse.php | 2 +- .../GetConnectorResourceSchemaResponse.php | 2 +- src/gen/lib/Model/GetConnectorResponse.php | 2 +- src/gen/lib/Model/GetConnectorsResponse.php | 2 +- src/gen/lib/Model/GetConsumerResponse.php | 2 +- src/gen/lib/Model/GetConsumersResponse.php | 2 +- .../lib/Model/GetConsumersResponseData.php | 2 +- src/gen/lib/Model/GetContactResponse.php | 2 +- src/gen/lib/Model/GetContactsResponse.php | 2 +- src/gen/lib/Model/GetCreditNoteResponse.php | 2 +- src/gen/lib/Model/GetCreditNotesResponse.php | 2 +- src/gen/lib/Model/GetCustomFieldsResponse.php | 2 +- .../lib/Model/GetCustomMappingResponse.php | 2 +- .../lib/Model/GetCustomMappingsResponse.php | 2 +- src/gen/lib/Model/GetCustomObjectResponse.php | 519 ++ .../Model/GetCustomObjectSchemaResponse.php | 519 ++ .../Model/GetCustomObjectSchemasResponse.php | 579 ++ .../lib/Model/GetCustomObjectsResponse.php | 579 ++ src/gen/lib/Model/GetCustomerResponse.php | 2 +- src/gen/lib/Model/GetCustomersResponse.php | 2 +- src/gen/lib/Model/GetDepartmentResponse.php | 2 +- src/gen/lib/Model/GetDepartmentsResponse.php | 2 +- src/gen/lib/Model/GetDriveGroupResponse.php | 2 +- src/gen/lib/Model/GetDriveGroupsResponse.php | 2 +- src/gen/lib/Model/GetDriveResponse.php | 2 +- src/gen/lib/Model/GetDrivesResponse.php | 2 +- .../Model/GetEcommerceCustomerResponse.php | 2 +- .../Model/GetEcommerceCustomersResponse.php | 2 +- .../lib/Model/GetEcommerceOrderResponse.php | 2 +- .../lib/Model/GetEcommerceOrdersResponse.php | 2 +- .../lib/Model/GetEmployeePayrollResponse.php | 2 +- .../lib/Model/GetEmployeePayrollsResponse.php | 2 +- src/gen/lib/Model/GetEmployeeResponse.php | 2 +- .../Model/GetEmployeeSchedulesResponse.php | 2 +- src/gen/lib/Model/GetEmployeesResponse.php | 2 +- src/gen/lib/Model/GetExpenseResponse.php | 2 +- src/gen/lib/Model/GetExpensesResponse.php | 2 +- src/gen/lib/Model/GetFileResponse.php | 2 +- src/gen/lib/Model/GetFilesResponse.php | 2 +- src/gen/lib/Model/GetFolderResponse.php | 2 +- src/gen/lib/Model/GetFoldersResponse.php | 2 +- .../lib/Model/GetHrisCompaniesResponse.php | 2 +- src/gen/lib/Model/GetHrisCompanyResponse.php | 2 +- src/gen/lib/Model/GetHrisJobResponse.php | 2 +- src/gen/lib/Model/GetHrisJobsResponse.php | 2 +- src/gen/lib/Model/GetInvoiceItemResponse.php | 2 +- src/gen/lib/Model/GetInvoiceItemsResponse.php | 2 +- src/gen/lib/Model/GetInvoiceResponse.php | 2 +- src/gen/lib/Model/GetInvoicesResponse.php | 2 +- src/gen/lib/Model/GetItemResponse.php | 2 +- src/gen/lib/Model/GetItemsResponse.php | 2 +- src/gen/lib/Model/GetJobResponse.php | 2 +- src/gen/lib/Model/GetJobsResponse.php | 2 +- .../lib/Model/GetJournalEntriesResponse.php | 2 +- src/gen/lib/Model/GetJournalEntryResponse.php | 2 +- src/gen/lib/Model/GetLeadResponse.php | 2 +- src/gen/lib/Model/GetLeadsResponse.php | 2 +- .../lib/Model/GetLedgerAccountResponse.php | 2 +- .../lib/Model/GetLedgerAccountsResponse.php | 2 +- src/gen/lib/Model/GetLocationResponse.php | 2 +- src/gen/lib/Model/GetLocationsResponse.php | 2 +- src/gen/lib/Model/GetLogsResponse.php | 2 +- src/gen/lib/Model/GetMerchantResponse.php | 2 +- src/gen/lib/Model/GetMerchantsResponse.php | 2 +- src/gen/lib/Model/GetMessageResponse.php | 2 +- src/gen/lib/Model/GetMessagesResponse.php | 2 +- .../lib/Model/GetModifierGroupResponse.php | 2 +- .../lib/Model/GetModifierGroupsResponse.php | 2 +- src/gen/lib/Model/GetModifierResponse.php | 2 +- src/gen/lib/Model/GetModifiersResponse.php | 2 +- src/gen/lib/Model/GetNoteResponse.php | 2 +- src/gen/lib/Model/GetNotesResponse.php | 2 +- .../lib/Model/GetOpportunitiesResponse.php | 2 +- src/gen/lib/Model/GetOpportunityResponse.php | 2 +- src/gen/lib/Model/GetOrderResponse.php | 2 +- src/gen/lib/Model/GetOrderTypeResponse.php | 2 +- src/gen/lib/Model/GetOrderTypesResponse.php | 2 +- src/gen/lib/Model/GetOrdersResponse.php | 2 +- src/gen/lib/Model/GetPaymentResponse.php | 2 +- src/gen/lib/Model/GetPaymentsResponse.php | 2 +- src/gen/lib/Model/GetPayrollResponse.php | 2 +- src/gen/lib/Model/GetPayrollsResponse.php | 2 +- src/gen/lib/Model/GetPipelineResponse.php | 2 +- src/gen/lib/Model/GetPipelinesResponse.php | 2 +- src/gen/lib/Model/GetPosPaymentResponse.php | 2 +- src/gen/lib/Model/GetPosPaymentsResponse.php | 2 +- src/gen/lib/Model/GetProductResponse.php | 2 +- src/gen/lib/Model/GetProductsResponse.php | 2 +- .../lib/Model/GetProfitAndLossResponse.php | 2 +- .../lib/Model/GetPurchaseOrderResponse.php | 2 +- .../lib/Model/GetPurchaseOrdersResponse.php | 2 +- .../lib/Model/GetResourceExampleResponse.php | 2 +- .../lib/Model/GetResourceSchemaResponse.php | 2 +- src/gen/lib/Model/GetSharedLinkResponse.php | 2 +- src/gen/lib/Model/GetSharedLinksResponse.php | 2 +- src/gen/lib/Model/GetStoreResponse.php | 2 +- src/gen/lib/Model/GetStoresResponse.php | 2 +- src/gen/lib/Model/GetSubsidiariesResponse.php | 2 +- src/gen/lib/Model/GetSubsidiaryResponse.php | 2 +- src/gen/lib/Model/GetSupplierResponse.php | 2 +- src/gen/lib/Model/GetSuppliersResponse.php | 2 +- src/gen/lib/Model/GetTaxRateResponse.php | 2 +- src/gen/lib/Model/GetTaxRatesResponse.php | 2 +- src/gen/lib/Model/GetTenderResponse.php | 2 +- src/gen/lib/Model/GetTendersResponse.php | 2 +- src/gen/lib/Model/GetTicketResponse.php | 2 +- src/gen/lib/Model/GetTicketsResponse.php | 2 +- .../lib/Model/GetTimeOffRequestResponse.php | 2 +- .../lib/Model/GetTimeOffRequestsResponse.php | 2 +- .../Model/GetTrackingCategoriesResponse.php | 2 +- .../lib/Model/GetTrackingCategoryResponse.php | 2 +- .../lib/Model/GetUploadSessionResponse.php | 2 +- src/gen/lib/Model/GetUserResponse.php | 2 +- src/gen/lib/Model/GetUsersResponse.php | 2 +- .../lib/Model/GetWebhookEventLogsResponse.php | 2 +- src/gen/lib/Model/GetWebhookResponse.php | 2 +- src/gen/lib/Model/GetWebhooksResponse.php | 2 +- src/gen/lib/Model/HrisCompany.php | 8 +- src/gen/lib/Model/HrisEventType.php | 2 +- src/gen/lib/Model/HrisJob.php | 8 +- src/gen/lib/Model/HrisJobLocation.php | 2 +- src/gen/lib/Model/HrisJobs.php | 2 +- src/gen/lib/Model/Income.php | 2 +- src/gen/lib/Model/IntegrationState.php | 2 +- src/gen/lib/Model/Invoice.php | 38 +- src/gen/lib/Model/InvoiceItem.php | 8 +- src/gen/lib/Model/InvoiceItemFilter.php | 2 +- src/gen/lib/Model/InvoiceItemSalesDetails.php | 2 +- src/gen/lib/Model/InvoiceItemsFilter.php | 2 +- src/gen/lib/Model/InvoiceItemsSort.php | 2 +- src/gen/lib/Model/InvoiceLineItem.php | 4 +- .../lib/Model/InvoicePaymentAllocations.php | 381 ++ src/gen/lib/Model/InvoiceResponse.php | 2 +- src/gen/lib/Model/InvoicesFilter.php | 2 +- src/gen/lib/Model/InvoicesSort.php | 2 +- src/gen/lib/Model/IssueTrackingEventType.php | 2 +- src/gen/lib/Model/IssuesFilter.php | 2 +- src/gen/lib/Model/Item.php | 8 +- src/gen/lib/Model/Job.php | 8 +- src/gen/lib/Model/JobLinks.php | 2 +- src/gen/lib/Model/JobSalary.php | 2 +- src/gen/lib/Model/JobStatus.php | 2 +- src/gen/lib/Model/JournalEntriesFilter.php | 2 +- src/gen/lib/Model/JournalEntriesSort.php | 2 +- src/gen/lib/Model/JournalEntry.php | 82 +- src/gen/lib/Model/JournalEntryLineItem.php | 2 +- src/gen/lib/Model/Lead.php | 53 +- src/gen/lib/Model/LeadEventType.php | 2 +- src/gen/lib/Model/LeadsFilter.php | 2 +- src/gen/lib/Model/LeadsSort.php | 2 +- src/gen/lib/Model/LedgerAccount.php | 8 +- src/gen/lib/Model/LedgerAccountCategories.php | 2 +- .../lib/Model/LedgerAccountParentAccount.php | 2 +- src/gen/lib/Model/LedgerAccountsFilter.php | 2 +- src/gen/lib/Model/LedgerAccountsSort.php | 2 +- src/gen/lib/Model/LinkedConnectorResource.php | 2 +- src/gen/lib/Model/LinkedCustomer.php | 2 +- src/gen/lib/Model/LinkedEcommerceCustomer.php | 2 +- src/gen/lib/Model/LinkedEcommerceOrder.php | 2 +- src/gen/lib/Model/LinkedFolder.php | 2 +- src/gen/lib/Model/LinkedInvoiceItem.php | 2 +- src/gen/lib/Model/LinkedLedgerAccount.php | 2 +- src/gen/lib/Model/LinkedParentCustomer.php | 2 +- src/gen/lib/Model/LinkedSupplier.php | 2 +- src/gen/lib/Model/LinkedTaxRate.php | 2 +- src/gen/lib/Model/LinkedTrackingCategory.php | 2 +- src/gen/lib/Model/Links.php | 2 +- src/gen/lib/Model/Location.php | 8 +- src/gen/lib/Model/Log.php | 2 +- src/gen/lib/Model/LogOperation.php | 2 +- src/gen/lib/Model/LogService.php | 2 +- src/gen/lib/Model/LogsFilter.php | 2 +- src/gen/lib/Model/Merchant.php | 8 +- src/gen/lib/Model/Message.php | 8 +- src/gen/lib/Model/Meta.php | 2 +- src/gen/lib/Model/MetaCursors.php | 2 +- src/gen/lib/Model/ModelInterface.php | 2 +- src/gen/lib/Model/Modifier.php | 8 +- src/gen/lib/Model/ModifierGroup.php | 8 +- src/gen/lib/Model/ModifierGroupFilter.php | 2 +- src/gen/lib/Model/NotFoundResponse.php | 2 +- src/gen/lib/Model/NotImplementedResponse.php | 2 +- src/gen/lib/Model/Note.php | 38 +- src/gen/lib/Model/OAuthGrantType.php | 2 +- src/gen/lib/Model/Offer.php | 8 +- src/gen/lib/Model/OpportunitiesFilter.php | 2 +- src/gen/lib/Model/OpportunitiesSort.php | 2 +- src/gen/lib/Model/Opportunity.php | 8 +- src/gen/lib/Model/Order.php | 8 +- src/gen/lib/Model/OrderCustomers.php | 2 +- src/gen/lib/Model/OrderDiscounts.php | 2 +- src/gen/lib/Model/OrderFulfillments.php | 2 +- src/gen/lib/Model/OrderLineItems.php | 2 +- src/gen/lib/Model/OrderPayments.php | 2 +- src/gen/lib/Model/OrderPickupDetails.php | 2 +- ...rderPickupDetailsCurbsidePickupDetails.php | 2 +- .../lib/Model/OrderPickupDetailsRecipient.php | 2 +- src/gen/lib/Model/OrderRefunds.php | 2 +- src/gen/lib/Model/OrderTenders.php | 2 +- src/gen/lib/Model/OrderType.php | 2 +- src/gen/lib/Model/OrdersSort.php | 2 +- src/gen/lib/Model/OtherExpenses.php | 75 +- src/gen/lib/Model/OtherIncome.php | 75 +- .../Model/OutstandingBalanceByCurrency.php | 2 +- .../Model/OutstandingBalanceByCustomer.php | 2 +- .../Model/OutstandingBalanceBySupplier.php | 2 +- src/gen/lib/Model/Owner.php | 2 +- src/gen/lib/Model/PaginationCoverage.php | 2 +- src/gen/lib/Model/PassThroughQuery.php | 2 +- src/gen/lib/Model/Payment.php | 8 +- src/gen/lib/Model/PaymentCard.php | 2 +- src/gen/lib/Model/PaymentFrequency.php | 2 +- src/gen/lib/Model/PaymentRequiredResponse.php | 2 +- src/gen/lib/Model/PaymentStatus.php | 2 +- src/gen/lib/Model/PaymentType.php | 2 +- src/gen/lib/Model/PaymentUnit.php | 2 +- src/gen/lib/Model/PaymentsFilter.php | 42 +- src/gen/lib/Model/PaymentsSort.php | 2 +- src/gen/lib/Model/Payroll.php | 8 +- src/gen/lib/Model/PayrollTotals.php | 2 +- src/gen/lib/Model/PayrollsFilter.php | 2 +- src/gen/lib/Model/Person.php | 8 +- src/gen/lib/Model/PhoneNumber.php | 2 +- src/gen/lib/Model/Pipeline.php | 2 +- src/gen/lib/Model/PipelineStages.php | 2 +- src/gen/lib/Model/PosBankAccount.php | 2 +- .../lib/Model/PosBankAccountAchDetails.php | 2 +- src/gen/lib/Model/PosPayment.php | 8 +- src/gen/lib/Model/PosPaymentCardDetails.php | 2 +- .../lib/Model/PosPaymentExternalDetails.php | 2 +- src/gen/lib/Model/Price.php | 2 +- src/gen/lib/Model/ProbationPeriod.php | 2 +- src/gen/lib/Model/ProfitAndLoss.php | 8 +- src/gen/lib/Model/ProfitAndLossFilter.php | 2 +- src/gen/lib/Model/ProfitAndLossIndicator.php | 2 +- src/gen/lib/Model/ProfitAndLossRecord.php | 2 +- src/gen/lib/Model/ProfitAndLossSection.php | 2 +- src/gen/lib/Model/ProfitAndLossType.php | 2 +- src/gen/lib/Model/PurchaseOrder.php | 38 +- src/gen/lib/Model/PurchaseOrdersFilter.php | 2 +- src/gen/lib/Model/PurchaseOrdersSort.php | 2 +- src/gen/lib/Model/RequestCountAllocation.php | 2 +- src/gen/lib/Model/RequestRate.php | 2 +- src/gen/lib/Model/ResolveWebhookResponse.php | 2 +- src/gen/lib/Model/ResourceExample.php | 2 +- src/gen/lib/Model/ResourceStatus.php | 2 +- src/gen/lib/Model/Schedule.php | 2 +- src/gen/lib/Model/ScheduleWorkPattern.php | 2 +- .../lib/Model/ScheduleWorkPatternOddWeeks.php | 2 +- src/gen/lib/Model/SchemaSupport.php | 2 +- src/gen/lib/Model/ServiceCharge.php | 2 +- src/gen/lib/Model/Session.php | 2 +- src/gen/lib/Model/SessionSettings.php | 2 +- src/gen/lib/Model/SessionTheme.php | 2 +- src/gen/lib/Model/SharedLink.php | 2 +- src/gen/lib/Model/SharedLinkTarget.php | 2 +- src/gen/lib/Model/SimpleFormFieldOption.php | 2 +- src/gen/lib/Model/SocialLink.php | 2 +- src/gen/lib/Model/SortDirection.php | 2 +- src/gen/lib/Model/Status.php | 2 +- src/gen/lib/Model/Subsidiary.php | 8 +- src/gen/lib/Model/SubsidiaryReference.php | 2 +- src/gen/lib/Model/Supplier.php | 8 +- src/gen/lib/Model/SuppliersFilter.php | 2 +- src/gen/lib/Model/SuppliersSort.php | 2 +- src/gen/lib/Model/SupportedProperty.php | 2 +- src/gen/lib/Model/Tax.php | 2 +- src/gen/lib/Model/TaxRate.php | 8 +- src/gen/lib/Model/TaxRatesFilter.php | 2 +- src/gen/lib/Model/Team.php | 2 +- src/gen/lib/Model/Tender.php | 8 +- src/gen/lib/Model/Ticket.php | 8 +- src/gen/lib/Model/TicketsSort.php | 2 +- src/gen/lib/Model/TimeOffRequest.php | 8 +- src/gen/lib/Model/TimeOffRequestNotes.php | 2 +- src/gen/lib/Model/TimeOffRequestsFilter.php | 2 +- src/gen/lib/Model/TooManyRequestsResponse.php | 2 +- .../Model/TooManyRequestsResponseDetail.php | 2 +- src/gen/lib/Model/TrackingCategory.php | 8 +- src/gen/lib/Model/TrackingItem.php | 2 +- src/gen/lib/Model/UnauthorizedResponse.php | 2 +- src/gen/lib/Model/UncategorizedAccounts.php | 2 +- src/gen/lib/Model/UnexpectedErrorResponse.php | 2 +- src/gen/lib/Model/UnifiedApiId.php | 2 +- src/gen/lib/Model/UnifiedFile.php | 8 +- src/gen/lib/Model/UnifiedFilePermissions.php | 2 +- src/gen/lib/Model/UnifiedId.php | 2 +- src/gen/lib/Model/UnprocessableResponse.php | 2 +- .../UpdateAccountingDepartmentResponse.php | 2 +- .../UpdateAccountingLocationResponse.php | 2 +- src/gen/lib/Model/UpdateActivityResponse.php | 2 +- src/gen/lib/Model/UpdateApplicantResponse.php | 2 +- .../lib/Model/UpdateApplicationResponse.php | 2 +- .../Model/UpdateBankFeedAccountResponse.php | 519 ++ .../Model/UpdateBankFeedStatementResponse.php | 519 ++ .../lib/Model/UpdateBillPaymentResponse.php | 2 +- src/gen/lib/Model/UpdateBillResponse.php | 2 +- src/gen/lib/Model/UpdateCommentResponse.php | 2 +- src/gen/lib/Model/UpdateCompanyResponse.php | 2 +- .../lib/Model/UpdateConnectionResponse.php | 2 +- src/gen/lib/Model/UpdateConsumerRequest.php | 2 +- src/gen/lib/Model/UpdateConsumerResponse.php | 2 +- src/gen/lib/Model/UpdateContactResponse.php | 2 +- .../lib/Model/UpdateCreditNoteResponse.php | 2 +- .../lib/Model/UpdateCustomMappingRequest.php | 2 +- .../lib/Model/UpdateCustomMappingResponse.php | 2 +- .../lib/Model/UpdateCustomObjectResponse.php | 519 ++ .../UpdateCustomObjectSchemaResponse.php | 519 ++ src/gen/lib/Model/UpdateCustomerResponse.php | 2 +- .../lib/Model/UpdateDepartmentResponse.php | 2 +- .../lib/Model/UpdateDriveGroupResponse.php | 2 +- src/gen/lib/Model/UpdateDriveResponse.php | 2 +- .../Model/UpdateEcommerceCustomerResponse.php | 2 +- .../Model/UpdateEcommerceOrderResponse.php | 2 +- src/gen/lib/Model/UpdateEmployeeResponse.php | 2 +- src/gen/lib/Model/UpdateExpenseResponse.php | 2 +- src/gen/lib/Model/UpdateFileRequest.php | 2 +- src/gen/lib/Model/UpdateFileResponse.php | 2 +- src/gen/lib/Model/UpdateFolderRequest.php | 2 +- src/gen/lib/Model/UpdateFolderResponse.php | 2 +- .../lib/Model/UpdateHrisCompanyResponse.php | 2 +- .../lib/Model/UpdateInvoiceItemsResponse.php | 2 +- src/gen/lib/Model/UpdateInvoiceResponse.php | 2 +- src/gen/lib/Model/UpdateItemResponse.php | 2 +- src/gen/lib/Model/UpdateJobResponse.php | 2 +- .../lib/Model/UpdateJournalEntryResponse.php | 2 +- src/gen/lib/Model/UpdateLeadResponse.php | 2 +- .../lib/Model/UpdateLedgerAccountResponse.php | 2 +- src/gen/lib/Model/UpdateLocationResponse.php | 2 +- src/gen/lib/Model/UpdateMerchantResponse.php | 2 +- src/gen/lib/Model/UpdateMessageResponse.php | 2 +- .../lib/Model/UpdateModifierGroupResponse.php | 2 +- src/gen/lib/Model/UpdateModifierResponse.php | 2 +- src/gen/lib/Model/UpdateNoteResponse.php | 2 +- .../lib/Model/UpdateOpportunityResponse.php | 2 +- src/gen/lib/Model/UpdateOrderResponse.php | 2 +- src/gen/lib/Model/UpdateOrderTypeResponse.php | 2 +- src/gen/lib/Model/UpdatePaymentResponse.php | 2 +- src/gen/lib/Model/UpdatePipelineResponse.php | 2 +- .../lib/Model/UpdatePosPaymentResponse.php | 2 +- src/gen/lib/Model/UpdateProductResponse.php | 2 +- .../lib/Model/UpdatePurchaseOrderResponse.php | 2 +- .../lib/Model/UpdateSharedLinkResponse.php | 2 +- .../lib/Model/UpdateSubsidiaryResponse.php | 2 +- src/gen/lib/Model/UpdateSupplierResponse.php | 2 +- src/gen/lib/Model/UpdateTaxRateResponse.php | 2 +- src/gen/lib/Model/UpdateTenderResponse.php | 2 +- src/gen/lib/Model/UpdateTicketResponse.php | 2 +- .../Model/UpdateTimeOffRequestResponse.php | 2 +- .../Model/UpdateTrackingCategoryResponse.php | 2 +- .../lib/Model/UpdateUploadSessionResponse.php | 2 +- src/gen/lib/Model/UpdateUserResponse.php | 2 +- src/gen/lib/Model/UpdateWebhookRequest.php | 2 +- src/gen/lib/Model/UpdateWebhookResponse.php | 2 +- src/gen/lib/Model/UploadSession.php | 2 +- src/gen/lib/Model/User.php | 8 +- .../Model/ValidateConnectionStateResponse.php | 2 +- .../ValidateConnectionStateResponseData.php | 2 +- src/gen/lib/Model/VaultEventType.php | 2 +- src/gen/lib/Model/VirtualWebhooks.php | 2 +- .../lib/Model/VirtualWebhooksResources.php | 2 +- src/gen/lib/Model/WalletDetails.php | 2 +- src/gen/lib/Model/Webhook.php | 2 +- src/gen/lib/Model/WebhookEvent.php | 2 +- src/gen/lib/Model/WebhookEventLog.php | 2 +- src/gen/lib/Model/WebhookEventLogAttempts.php | 2 +- src/gen/lib/Model/WebhookEventLogService.php | 2 +- src/gen/lib/Model/WebhookEventLogsFilter.php | 2 +- .../Model/WebhookEventLogsFilterService.php | 2 +- src/gen/lib/Model/WebhookEventType.php | 2 +- src/gen/lib/Model/WebhookSubscription.php | 2 +- src/gen/lib/Model/WebhookSupport.php | 2 +- src/gen/lib/Model/Website.php | 2 +- src/gen/lib/ObjectSerializer.php | 2 +- src/gen/test/Api/AccountingApiTest.php | 122 +- src/gen/test/Api/AtsApiTest.php | 2 +- src/gen/test/Api/ConnectorApiTest.php | 2 +- src/gen/test/Api/CrmApiTest.php | 122 +- src/gen/test/Api/EcommerceApiTest.php | 2 +- src/gen/test/Api/FileStorageApiTest.php | 2 +- src/gen/test/Api/HrisApiTest.php | 2 +- src/gen/test/Api/IssueTrackingApiTest.php | 2 +- src/gen/test/Api/LeadApiTest.php | 2 +- src/gen/test/Api/PosApiTest.php | 2 +- src/gen/test/Api/SmsApiTest.php | 2 +- src/gen/test/Api/VaultApiTest.php | 2 +- src/gen/test/Api/WebhookApiTest.php | 2 +- .../test/Model/AccountingDepartmentTest.php | 11 +- .../Model/AccountingDepartmentsFilterTest.php | 2 +- .../test/Model/AccountingEventTypeTest.php | 2 +- src/gen/test/Model/AccountingLocationTest.php | 2 +- .../Model/AccountingLocationsFilterTest.php | 2 +- src/gen/test/Model/ActivitiesFilterTest.php | 2 +- src/gen/test/Model/ActivitiesSortTest.php | 2 +- src/gen/test/Model/ActivityAttendeeTest.php | 2 +- src/gen/test/Model/ActivityTest.php | 2 +- src/gen/test/Model/AddressTest.php | 2 +- src/gen/test/Model/AgedCreditorsTest.php | 2 +- src/gen/test/Model/AgedDebtorsTest.php | 2 +- src/gen/test/Model/AgedReportFilterTest.php | 2 +- src/gen/test/Model/AllocationTest.php | 2 +- .../Model/ApiResourceCoverageCoverageTest.php | 2 +- .../test/Model/ApiResourceCoverageTest.php | 2 +- .../Model/ApiResourceLinkedResourcesTest.php | 2 +- src/gen/test/Model/ApiResourceTest.php | 2 +- src/gen/test/Model/ApiResourcesTest.php | 2 +- src/gen/test/Model/ApiStatusTest.php | 2 +- src/gen/test/Model/ApiTest.php | 2 +- src/gen/test/Model/ApisFilterTest.php | 2 +- .../test/Model/ApplicantSocialLinksTest.php | 2 +- src/gen/test/Model/ApplicantTest.php | 2 +- src/gen/test/Model/ApplicantWebsitesTest.php | 2 +- src/gen/test/Model/ApplicantsFilterTest.php | 2 +- src/gen/test/Model/ApplicationStageTest.php | 2 +- src/gen/test/Model/ApplicationTest.php | 2 +- src/gen/test/Model/AssigneeTest.php | 2 +- src/gen/test/Model/AtsActivityTest.php | 2 +- src/gen/test/Model/AtsEventTypeTest.php | 2 +- .../test/Model/AttachmentReferenceTest.php | 2 +- .../Model/AttachmentReferenceTypeTest.php | 2 +- src/gen/test/Model/AttachmentTest.php | 2 +- src/gen/test/Model/AuthTypeTest.php | 2 +- src/gen/test/Model/BadRequestResponseTest.php | 2 +- src/gen/test/Model/BalanceByPeriodTest.php | 2 +- .../test/Model/BalanceByTransactionTest.php | 2 +- .../Model/BalanceSheetAccountRecordTest.php | 2 +- .../test/Model/BalanceSheetAccountTest.php | 2 +- .../Model/BalanceSheetAssetsAccountTest.php | 2 +- .../Model/BalanceSheetEquityAccountTest.php | 2 +- src/gen/test/Model/BalanceSheetFilterTest.php | 2 +- .../BalanceSheetLiabilitiesAccountTest.php | 2 +- .../test/Model/BalanceSheetReportsTest.php | 2 +- src/gen/test/Model/BalanceSheetTest.php | 2 +- ...anceSheetUncategorizedItemsAccountTest.php | 2 +- src/gen/test/Model/BankAccountTest.php | 2 +- src/gen/test/Model/BankFeedAccountTest.php | 217 + src/gen/test/Model/BankFeedStatementTest.php | 208 + .../BankFeedStatementTransactionsTest.php | 154 + src/gen/test/Model/BenefitTest.php | 2 +- src/gen/test/Model/BillLineItemTest.php | 2 +- .../test/Model/BillPaymentAllocationsTest.php | 2 +- src/gen/test/Model/BillPaymentTest.php | 2 +- src/gen/test/Model/BillTest.php | 2 +- src/gen/test/Model/BillsFilterTest.php | 2 +- src/gen/test/Model/BillsSortTest.php | 2 +- src/gen/test/Model/BranchTest.php | 2 +- src/gen/test/Model/CashDetailsTest.php | 2 +- src/gen/test/Model/CollectionTagTest.php | 2 +- src/gen/test/Model/CollectionTest.php | 2 +- .../Model/CollectionTicketCommentTest.php | 2 +- src/gen/test/Model/CollectionUserTest.php | 2 +- src/gen/test/Model/CollectionsSortTest.php | 2 +- src/gen/test/Model/CommentsSortTest.php | 2 +- src/gen/test/Model/CompaniesFilterTest.php | 2 +- src/gen/test/Model/CompaniesSortTest.php | 2 +- src/gen/test/Model/CompanyInfoTest.php | 2 +- src/gen/test/Model/CompanyRowTypeTest.php | 2 +- src/gen/test/Model/CompanyTest.php | 2 +- src/gen/test/Model/CompensationTest.php | 2 +- .../Model/ConnectionConfigurationTest.php | 2 +- src/gen/test/Model/ConnectionDefaultsTest.php | 2 +- .../ConnectionImportDataCredentialsTest.php | 2 +- .../test/Model/ConnectionImportDataTest.php | 2 +- src/gen/test/Model/ConnectionMetadataTest.php | 2 +- src/gen/test/Model/ConnectionStateTest.php | 2 +- src/gen/test/Model/ConnectionTest.php | 2 +- src/gen/test/Model/ConnectionWebhookTest.php | 2 +- src/gen/test/Model/ConnectorDocTest.php | 2 +- src/gen/test/Model/ConnectorEventTest.php | 2 +- .../test/Model/ConnectorOauthScopes1Test.php | 2 +- .../test/Model/ConnectorOauthScopesTest.php | 2 +- src/gen/test/Model/ConnectorResourceTest.php | 2 +- src/gen/test/Model/ConnectorSettingTest.php | 2 +- src/gen/test/Model/ConnectorStatusTest.php | 2 +- src/gen/test/Model/ConnectorTest.php | 2 +- .../test/Model/ConnectorTlsSupportTest.php | 2 +- .../test/Model/ConnectorUnifiedApisTest.php | 2 +- src/gen/test/Model/ConnectorsFilterTest.php | 2 +- src/gen/test/Model/ConsumerConnectionTest.php | 2 +- src/gen/test/Model/ConsumerMetadataTest.php | 2 +- ...questCountsInDateRangeResponseDataTest.php | 2 +- ...erRequestCountsInDateRangeResponseTest.php | 2 +- src/gen/test/Model/ConsumerTest.php | 2 +- src/gen/test/Model/ContactTest.php | 2 +- src/gen/test/Model/ContactsFilterTest.php | 2 +- src/gen/test/Model/ContactsSortTest.php | 2 +- src/gen/test/Model/CopyFolderRequestTest.php | 2 +- src/gen/test/Model/CostOfGoodsSoldTest.php | 2 +- ...CreateAccountingDepartmentResponseTest.php | 2 +- .../CreateAccountingLocationResponseTest.php | 2 +- .../test/Model/CreateActivityResponseTest.php | 2 +- .../Model/CreateApplicantResponseTest.php | 2 +- .../Model/CreateApplicationResponseTest.php | 2 +- .../Model/CreateAttachmentRequestTest.php | 2 +- .../Model/CreateAttachmentResponseTest.php | 2 +- .../CreateBankFeedAccountResponseTest.php | 145 + .../CreateBankFeedStatementResponseTest.php | 145 + .../Model/CreateBillPaymentResponseTest.php | 2 +- src/gen/test/Model/CreateBillResponseTest.php | 2 +- .../CreateCallbackStateResponseDataTest.php | 2 +- .../Model/CreateCallbackStateResponseTest.php | 2 +- .../test/Model/CreateCallbackStateTest.php | 2 +- .../test/Model/CreateCommentResponseTest.php | 2 +- .../test/Model/CreateCompanyResponseTest.php | 2 +- .../Model/CreateConnectionResponseTest.php | 2 +- .../test/Model/CreateConsumerResponseTest.php | 2 +- .../test/Model/CreateContactResponseTest.php | 2 +- .../Model/CreateCreditNoteResponseTest.php | 2 +- .../Model/CreateCustomMappingRequestTest.php | 2 +- .../Model/CreateCustomMappingResponseTest.php | 2 +- .../Model/CreateCustomObjectResponseTest.php | 145 + .../CreateCustomObjectSchemaResponseTest.php | 145 + .../test/Model/CreateCustomerResponseTest.php | 2 +- .../Model/CreateDepartmentResponseTest.php | 2 +- .../Model/CreateDriveGroupResponseTest.php | 2 +- .../test/Model/CreateDriveResponseTest.php | 2 +- .../CreateEcommerceCustomerResponseTest.php | 2 +- .../CreateEcommerceOrderResponseTest.php | 2 +- .../test/Model/CreateEmployeeResponseTest.php | 2 +- .../test/Model/CreateExpenseResponseTest.php | 2 +- src/gen/test/Model/CreateFileRequestTest.php | 2 +- src/gen/test/Model/CreateFileResponseTest.php | 2 +- .../test/Model/CreateFolderRequestTest.php | 2 +- .../test/Model/CreateFolderResponseTest.php | 2 +- .../Model/CreateHrisCompanyResponseTest.php | 2 +- .../Model/CreateInvoiceItemResponseTest.php | 2 +- .../test/Model/CreateInvoiceResponseTest.php | 2 +- src/gen/test/Model/CreateItemResponseTest.php | 2 +- src/gen/test/Model/CreateJobResponseTest.php | 2 +- .../Model/CreateJournalEntryResponseTest.php | 2 +- src/gen/test/Model/CreateLeadResponseTest.php | 2 +- .../Model/CreateLedgerAccountResponseTest.php | 2 +- .../test/Model/CreateLocationResponseTest.php | 2 +- .../test/Model/CreateMerchantResponseTest.php | 2 +- .../test/Model/CreateMessageResponseTest.php | 2 +- .../Model/CreateModifierGroupResponseTest.php | 2 +- .../test/Model/CreateModifierResponseTest.php | 2 +- src/gen/test/Model/CreateNoteResponseTest.php | 2 +- .../Model/CreateOpportunityResponseTest.php | 2 +- .../test/Model/CreateOrderResponseTest.php | 2 +- .../Model/CreateOrderTypeResponseTest.php | 2 +- .../test/Model/CreatePaymentResponseTest.php | 2 +- .../test/Model/CreatePipelineResponseTest.php | 2 +- .../Model/CreatePosPaymentResponseTest.php | 2 +- .../test/Model/CreateProductResponseTest.php | 2 +- .../Model/CreatePurchaseOrderResponseTest.php | 2 +- .../Model/CreateSessionResponseDataTest.php | 2 +- .../test/Model/CreateSessionResponseTest.php | 2 +- .../Model/CreateSharedLinkResponseTest.php | 2 +- .../Model/CreateSubsidiaryResponseTest.php | 2 +- .../test/Model/CreateSupplierResponseTest.php | 2 +- .../test/Model/CreateTaxRateResponseTest.php | 2 +- .../test/Model/CreateTenderResponseTest.php | 2 +- .../test/Model/CreateTicketResponseTest.php | 2 +- .../CreateTimeOffRequestResponseTest.php | 2 +- .../CreateTrackingCategoryResponseTest.php | 2 +- .../Model/CreateUploadSessionRequestTest.php | 2 +- .../Model/CreateUploadSessionResponseTest.php | 2 +- src/gen/test/Model/CreateUserResponseTest.php | 2 +- .../test/Model/CreateWebhookRequestTest.php | 2 +- .../test/Model/CreateWebhookResponseTest.php | 2 +- src/gen/test/Model/CreditNoteTest.php | 2 +- src/gen/test/Model/CreditNotesFilterTest.php | 2 +- src/gen/test/Model/CreditNotesSortTest.php | 2 +- src/gen/test/Model/CreditOrDebitTest.php | 82 + src/gen/test/Model/CrmEventTypeTest.php | 2 +- src/gen/test/Model/CurrencyTest.php | 2 +- src/gen/test/Model/CustomFieldFinderTest.php | 2 +- src/gen/test/Model/CustomFieldTest.php | 2 +- src/gen/test/Model/CustomMappingTest.php | 2 +- src/gen/test/Model/CustomObjectFieldsTest.php | 100 + .../Model/CustomObjectSchemaFieldsTest.php | 145 + .../Model/CustomObjectSchemaOptionsTest.php | 100 + src/gen/test/Model/CustomObjectSchemaTest.php | 181 + .../Model/CustomObjectSchemasSortTest.php | 100 + src/gen/test/Model/CustomObjectTest.php | 163 + src/gen/test/Model/CustomObjectsSortTest.php | 100 + src/gen/test/Model/CustomerTest.php | 2 +- src/gen/test/Model/CustomersFilterTest.php | 2 +- src/gen/test/Model/CustomersSortTest.php | 2 +- src/gen/test/Model/DeductionTest.php | 2 +- ...DeleteAccountingDepartmentResponseTest.php | 2 +- .../DeleteAccountingLocationResponseTest.php | 2 +- .../test/Model/DeleteActivityResponseTest.php | 2 +- .../Model/DeleteApplicantResponseTest.php | 2 +- .../Model/DeleteApplicationResponseTest.php | 2 +- .../Model/DeleteAttachmentResponseTest.php | 2 +- .../DeleteBankFeedAccountResponseTest.php | 145 + .../DeleteBankFeedStatementResponseTest.php | 145 + .../Model/DeleteBillPaymentResponseTest.php | 2 +- src/gen/test/Model/DeleteBillResponseTest.php | 2 +- .../test/Model/DeleteCommentResponseTest.php | 2 +- .../test/Model/DeleteCompanyResponseTest.php | 2 +- .../test/Model/DeleteConsumerResponseTest.php | 2 +- .../test/Model/DeleteContactResponseTest.php | 2 +- .../Model/DeleteCreditNoteResponseTest.php | 2 +- .../Model/DeleteCustomObjectResponseTest.php | 145 + .../DeleteCustomObjectSchemaResponseTest.php | 145 + .../test/Model/DeleteCustomerResponseTest.php | 2 +- .../Model/DeleteDepartmentResponseTest.php | 2 +- .../Model/DeleteDriveGroupResponseTest.php | 2 +- .../test/Model/DeleteDriveResponseTest.php | 2 +- .../DeleteEcommerceCustomerResponseTest.php | 2 +- .../DeleteEcommerceOrderResponseTest.php | 2 +- .../test/Model/DeleteEmployeeResponseTest.php | 2 +- .../test/Model/DeleteExpenseResponseTest.php | 2 +- src/gen/test/Model/DeleteFileResponseTest.php | 2 +- .../test/Model/DeleteFolderResponseTest.php | 2 +- .../Model/DeleteHrisCompanyResponseTest.php | 2 +- .../test/Model/DeleteInvoiceResponseTest.php | 2 +- src/gen/test/Model/DeleteItemResponseTest.php | 2 +- src/gen/test/Model/DeleteJobResponseTest.php | 2 +- .../Model/DeleteJournalEntryResponseTest.php | 2 +- src/gen/test/Model/DeleteLeadResponseTest.php | 2 +- .../Model/DeleteLedgerAccountResponseTest.php | 2 +- .../test/Model/DeleteLocationResponseTest.php | 2 +- .../test/Model/DeleteMerchantResponseTest.php | 2 +- .../test/Model/DeleteMessageResponseTest.php | 2 +- .../Model/DeleteModifierGroupResponseTest.php | 2 +- .../test/Model/DeleteModifierResponseTest.php | 2 +- src/gen/test/Model/DeleteNoteResponseTest.php | 2 +- .../Model/DeleteOpportunityResponseTest.php | 2 +- .../test/Model/DeleteOrderResponseTest.php | 2 +- .../Model/DeleteOrderTypeResponseTest.php | 2 +- .../test/Model/DeletePaymentResponseTest.php | 2 +- .../test/Model/DeletePipelineResponseTest.php | 2 +- .../Model/DeletePosPaymentResponseTest.php | 2 +- .../test/Model/DeleteProductResponseTest.php | 2 +- .../Model/DeletePurchaseOrderResponseTest.php | 2 +- .../Model/DeleteSharedLinkResponseTest.php | 2 +- .../Model/DeleteSubsidiaryResponseTest.php | 2 +- .../test/Model/DeleteSupplierResponseTest.php | 2 +- .../test/Model/DeleteTaxRateResponseTest.php | 2 +- .../test/Model/DeleteTenderResponseTest.php | 2 +- .../test/Model/DeleteTicketResponseTest.php | 2 +- .../DeleteTimeOffRequestResponseTest.php | 2 +- .../DeleteTrackingCategoryResponseTest.php | 2 +- .../Model/DeleteUploadSessionResponseTest.php | 2 +- src/gen/test/Model/DeleteUserResponseTest.php | 2 +- .../test/Model/DeleteWebhookResponseTest.php | 2 +- src/gen/test/Model/DepartmentTest.php | 2 +- .../Model/DeprecatedLinkedSupplierTest.php | 2 +- .../DeprecatedLinkedTrackingCategoryTest.php | 2 +- src/gen/test/Model/DriveGroupTest.php | 2 +- src/gen/test/Model/DriveGroupsFilterTest.php | 2 +- src/gen/test/Model/DriveTest.php | 2 +- src/gen/test/Model/DrivesFilterTest.php | 2 +- src/gen/test/Model/EcommerceAddressTest.php | 2 +- .../Model/EcommerceCustomerAddressesTest.php | 2 +- src/gen/test/Model/EcommerceCustomerTest.php | 2 +- .../Model/EcommerceCustomersFilterTest.php | 2 +- src/gen/test/Model/EcommerceDiscountTest.php | 2 +- src/gen/test/Model/EcommerceEventTypeTest.php | 2 +- .../test/Model/EcommerceOrderLineItemTest.php | 20 +- .../test/Model/EcommerceOrderRefundTest.php | 127 + .../test/Model/EcommerceOrderStatusTest.php | 2 +- src/gen/test/Model/EcommerceOrderTest.php | 11 +- .../test/Model/EcommerceOrdersFilterTest.php | 2 +- .../Model/EcommerceProductCategoriesTest.php | 2 +- .../Model/EcommerceProductImages1Test.php | 2 +- .../test/Model/EcommerceProductImagesTest.php | 2 +- .../Model/EcommerceProductOptions1Test.php | 2 +- .../Model/EcommerceProductOptionsTest.php | 2 +- src/gen/test/Model/EcommerceProductTest.php | 2 +- .../Model/EcommerceProductVariantsTest.php | 2 +- src/gen/test/Model/EcommerceStoreTest.php | 2 +- src/gen/test/Model/EmailTest.php | 2 +- .../test/Model/EmployeeCompensationTest.php | 2 +- .../test/Model/EmployeeEmploymentRoleTest.php | 2 +- src/gen/test/Model/EmployeeJobTest.php | 2 +- src/gen/test/Model/EmployeeListTest.php | 2 +- src/gen/test/Model/EmployeeManagerTest.php | 2 +- src/gen/test/Model/EmployeePayrollTest.php | 2 +- src/gen/test/Model/EmployeeSchedulesTest.php | 2 +- src/gen/test/Model/EmployeeTest.php | 2 +- src/gen/test/Model/EmployeesFilterTest.php | 11 +- src/gen/test/Model/EmployeesOneFilterTest.php | 2 +- src/gen/test/Model/EmployeesSortTest.php | 2 +- src/gen/test/Model/EmploymentStatusTest.php | 2 +- src/gen/test/Model/ErrorTest.php | 2 +- .../test/Model/ExecuteWebhookResponseTest.php | 2 +- src/gen/test/Model/ExpenseLineItemTest.php | 11 +- src/gen/test/Model/ExpenseTest.php | 20 +- src/gen/test/Model/ExpensesTest.php | 2 +- .../test/Model/FileStorageEventTypeTest.php | 2 +- src/gen/test/Model/FileTypeTest.php | 2 +- src/gen/test/Model/FilesFilterTest.php | 2 +- src/gen/test/Model/FilesSearchTest.php | 2 +- src/gen/test/Model/FilesSortTest.php | 2 +- src/gen/test/Model/FolderTest.php | 2 +- .../test/Model/FormFieldOptionGroupTest.php | 2 +- src/gen/test/Model/FormFieldOptionTest.php | 2 +- src/gen/test/Model/FormFieldTest.php | 2 +- src/gen/test/Model/GenderTest.php | 2 +- .../GetAccountingDepartmentResponseTest.php | 2 +- .../GetAccountingDepartmentsResponseTest.php | 2 +- .../GetAccountingLocationResponseTest.php | 2 +- .../GetAccountingLocationsResponseTest.php | 2 +- .../test/Model/GetActivitiesResponseTest.php | 2 +- .../test/Model/GetActivityResponseTest.php | 2 +- .../Model/GetAgedCreditorsResponseTest.php | 2 +- .../test/Model/GetAgedDebtorsResponseTest.php | 2 +- .../GetApiResourceCoverageResponseTest.php | 2 +- .../test/Model/GetApiResourceResponseTest.php | 2 +- src/gen/test/Model/GetApiResponseTest.php | 2 +- src/gen/test/Model/GetApisResponseTest.php | 2 +- .../test/Model/GetApplicantResponseTest.php | 2 +- .../test/Model/GetApplicantsResponseTest.php | 2 +- .../test/Model/GetApplicationResponseTest.php | 2 +- .../Model/GetApplicationsResponseTest.php | 2 +- .../test/Model/GetAttachmentResponseTest.php | 2 +- .../test/Model/GetAttachmentsResponseTest.php | 2 +- .../Model/GetBalanceSheetResponseTest.php | 2 +- .../Model/GetBankFeedAccountResponseTest.php | 145 + .../Model/GetBankFeedAccountsResponseTest.php | 163 + .../GetBankFeedStatementResponseTest.php | 145 + .../GetBankFeedStatementsResponseTest.php | 163 + .../test/Model/GetBillPaymentResponseTest.php | 2 +- .../Model/GetBillPaymentsResponseTest.php | 2 +- src/gen/test/Model/GetBillResponseTest.php | 2 +- src/gen/test/Model/GetBillsResponseTest.php | 2 +- .../test/Model/GetCollectionResponseTest.php | 2 +- .../Model/GetCollectionTagsResponseTest.php | 2 +- .../Model/GetCollectionUserResponseTest.php | 2 +- .../Model/GetCollectionUsersResponseTest.php | 2 +- .../test/Model/GetCollectionsResponseTest.php | 2 +- src/gen/test/Model/GetCommentResponseTest.php | 2 +- .../test/Model/GetCommentsResponseTest.php | 2 +- .../test/Model/GetCompaniesResponseTest.php | 2 +- .../test/Model/GetCompanyInfoResponseTest.php | 2 +- src/gen/test/Model/GetCompanyResponseTest.php | 2 +- .../test/Model/GetConnectionResponseTest.php | 2 +- .../test/Model/GetConnectionsResponseTest.php | 2 +- ...nnectorResourceExampleResponseDataTest.php | 2 +- ...etConnectorResourceExampleResponseTest.php | 2 +- .../GetConnectorResourceResponseTest.php | 2 +- ...GetConnectorResourceSchemaResponseTest.php | 2 +- .../test/Model/GetConnectorResponseTest.php | 2 +- .../test/Model/GetConnectorsResponseTest.php | 2 +- .../test/Model/GetConsumerResponseTest.php | 2 +- .../Model/GetConsumersResponseDataTest.php | 2 +- .../test/Model/GetConsumersResponseTest.php | 2 +- src/gen/test/Model/GetContactResponseTest.php | 2 +- .../test/Model/GetContactsResponseTest.php | 2 +- .../test/Model/GetCreditNoteResponseTest.php | 2 +- .../test/Model/GetCreditNotesResponseTest.php | 2 +- .../Model/GetCustomFieldsResponseTest.php | 2 +- .../Model/GetCustomMappingResponseTest.php | 2 +- .../Model/GetCustomMappingsResponseTest.php | 2 +- .../Model/GetCustomObjectResponseTest.php | 145 + .../GetCustomObjectSchemaResponseTest.php | 145 + .../GetCustomObjectSchemasResponseTest.php | 163 + .../Model/GetCustomObjectsResponseTest.php | 163 + .../test/Model/GetCustomerResponseTest.php | 2 +- .../test/Model/GetCustomersResponseTest.php | 2 +- .../test/Model/GetDepartmentResponseTest.php | 2 +- .../test/Model/GetDepartmentsResponseTest.php | 2 +- .../test/Model/GetDriveGroupResponseTest.php | 2 +- .../test/Model/GetDriveGroupsResponseTest.php | 2 +- src/gen/test/Model/GetDriveResponseTest.php | 2 +- src/gen/test/Model/GetDrivesResponseTest.php | 2 +- .../GetEcommerceCustomerResponseTest.php | 2 +- .../GetEcommerceCustomersResponseTest.php | 2 +- .../Model/GetEcommerceOrderResponseTest.php | 2 +- .../Model/GetEcommerceOrdersResponseTest.php | 2 +- .../Model/GetEmployeePayrollResponseTest.php | 2 +- .../Model/GetEmployeePayrollsResponseTest.php | 2 +- .../test/Model/GetEmployeeResponseTest.php | 2 +- .../GetEmployeeSchedulesResponseTest.php | 2 +- .../test/Model/GetEmployeesResponseTest.php | 2 +- src/gen/test/Model/GetExpenseResponseTest.php | 2 +- .../test/Model/GetExpensesResponseTest.php | 2 +- src/gen/test/Model/GetFileResponseTest.php | 2 +- src/gen/test/Model/GetFilesResponseTest.php | 2 +- src/gen/test/Model/GetFolderResponseTest.php | 2 +- src/gen/test/Model/GetFoldersResponseTest.php | 2 +- .../Model/GetHrisCompaniesResponseTest.php | 2 +- .../test/Model/GetHrisCompanyResponseTest.php | 2 +- src/gen/test/Model/GetHrisJobResponseTest.php | 2 +- .../test/Model/GetHrisJobsResponseTest.php | 2 +- .../test/Model/GetInvoiceItemResponseTest.php | 2 +- .../Model/GetInvoiceItemsResponseTest.php | 2 +- src/gen/test/Model/GetInvoiceResponseTest.php | 2 +- .../test/Model/GetInvoicesResponseTest.php | 2 +- src/gen/test/Model/GetItemResponseTest.php | 2 +- src/gen/test/Model/GetItemsResponseTest.php | 2 +- src/gen/test/Model/GetJobResponseTest.php | 2 +- src/gen/test/Model/GetJobsResponseTest.php | 2 +- .../Model/GetJournalEntriesResponseTest.php | 2 +- .../Model/GetJournalEntryResponseTest.php | 2 +- src/gen/test/Model/GetLeadResponseTest.php | 2 +- src/gen/test/Model/GetLeadsResponseTest.php | 2 +- .../Model/GetLedgerAccountResponseTest.php | 2 +- .../Model/GetLedgerAccountsResponseTest.php | 2 +- .../test/Model/GetLocationResponseTest.php | 2 +- .../test/Model/GetLocationsResponseTest.php | 2 +- src/gen/test/Model/GetLogsResponseTest.php | 2 +- .../test/Model/GetMerchantResponseTest.php | 2 +- .../test/Model/GetMerchantsResponseTest.php | 2 +- src/gen/test/Model/GetMessageResponseTest.php | 2 +- .../test/Model/GetMessagesResponseTest.php | 2 +- .../Model/GetModifierGroupResponseTest.php | 2 +- .../Model/GetModifierGroupsResponseTest.php | 2 +- .../test/Model/GetModifierResponseTest.php | 2 +- .../test/Model/GetModifiersResponseTest.php | 2 +- src/gen/test/Model/GetNoteResponseTest.php | 2 +- src/gen/test/Model/GetNotesResponseTest.php | 2 +- .../Model/GetOpportunitiesResponseTest.php | 2 +- .../test/Model/GetOpportunityResponseTest.php | 2 +- src/gen/test/Model/GetOrderResponseTest.php | 2 +- .../test/Model/GetOrderTypeResponseTest.php | 2 +- .../test/Model/GetOrderTypesResponseTest.php | 2 +- src/gen/test/Model/GetOrdersResponseTest.php | 2 +- src/gen/test/Model/GetPaymentResponseTest.php | 2 +- .../test/Model/GetPaymentsResponseTest.php | 2 +- src/gen/test/Model/GetPayrollResponseTest.php | 2 +- .../test/Model/GetPayrollsResponseTest.php | 2 +- .../test/Model/GetPipelineResponseTest.php | 2 +- .../test/Model/GetPipelinesResponseTest.php | 2 +- .../test/Model/GetPosPaymentResponseTest.php | 2 +- .../test/Model/GetPosPaymentsResponseTest.php | 2 +- src/gen/test/Model/GetProductResponseTest.php | 2 +- .../test/Model/GetProductsResponseTest.php | 2 +- .../Model/GetProfitAndLossResponseTest.php | 2 +- .../Model/GetPurchaseOrderResponseTest.php | 2 +- .../Model/GetPurchaseOrdersResponseTest.php | 2 +- .../Model/GetResourceExampleResponseTest.php | 2 +- .../Model/GetResourceSchemaResponseTest.php | 2 +- .../test/Model/GetSharedLinkResponseTest.php | 2 +- .../test/Model/GetSharedLinksResponseTest.php | 2 +- src/gen/test/Model/GetStoreResponseTest.php | 2 +- src/gen/test/Model/GetStoresResponseTest.php | 2 +- .../Model/GetSubsidiariesResponseTest.php | 2 +- .../test/Model/GetSubsidiaryResponseTest.php | 2 +- .../test/Model/GetSupplierResponseTest.php | 2 +- .../test/Model/GetSuppliersResponseTest.php | 2 +- src/gen/test/Model/GetTaxRateResponseTest.php | 2 +- .../test/Model/GetTaxRatesResponseTest.php | 2 +- src/gen/test/Model/GetTenderResponseTest.php | 2 +- src/gen/test/Model/GetTendersResponseTest.php | 2 +- src/gen/test/Model/GetTicketResponseTest.php | 2 +- src/gen/test/Model/GetTicketsResponseTest.php | 2 +- .../Model/GetTimeOffRequestResponseTest.php | 2 +- .../Model/GetTimeOffRequestsResponseTest.php | 2 +- .../GetTrackingCategoriesResponseTest.php | 2 +- .../Model/GetTrackingCategoryResponseTest.php | 2 +- .../Model/GetUploadSessionResponseTest.php | 2 +- src/gen/test/Model/GetUserResponseTest.php | 2 +- src/gen/test/Model/GetUsersResponseTest.php | 2 +- .../Model/GetWebhookEventLogsResponseTest.php | 2 +- src/gen/test/Model/GetWebhookResponseTest.php | 2 +- .../test/Model/GetWebhooksResponseTest.php | 2 +- src/gen/test/Model/HrisCompanyTest.php | 2 +- src/gen/test/Model/HrisEventTypeTest.php | 2 +- src/gen/test/Model/HrisJobLocationTest.php | 2 +- src/gen/test/Model/HrisJobTest.php | 2 +- src/gen/test/Model/HrisJobsTest.php | 2 +- src/gen/test/Model/IncomeTest.php | 2 +- src/gen/test/Model/IntegrationStateTest.php | 2 +- src/gen/test/Model/InvoiceItemFilterTest.php | 2 +- .../Model/InvoiceItemSalesDetailsTest.php | 2 +- src/gen/test/Model/InvoiceItemTest.php | 2 +- src/gen/test/Model/InvoiceItemsFilterTest.php | 2 +- src/gen/test/Model/InvoiceItemsSortTest.php | 2 +- src/gen/test/Model/InvoiceLineItemTest.php | 2 +- .../Model/InvoicePaymentAllocationsTest.php | 109 + src/gen/test/Model/InvoiceResponseTest.php | 2 +- src/gen/test/Model/InvoiceTest.php | 11 +- src/gen/test/Model/InvoicesFilterTest.php | 2 +- src/gen/test/Model/InvoicesSortTest.php | 2 +- .../test/Model/IssueTrackingEventTypeTest.php | 2 +- src/gen/test/Model/IssuesFilterTest.php | 2 +- src/gen/test/Model/ItemTest.php | 2 +- src/gen/test/Model/JobLinksTest.php | 2 +- src/gen/test/Model/JobSalaryTest.php | 2 +- src/gen/test/Model/JobStatusTest.php | 2 +- src/gen/test/Model/JobTest.php | 2 +- .../test/Model/JournalEntriesFilterTest.php | 2 +- src/gen/test/Model/JournalEntriesSortTest.php | 2 +- .../test/Model/JournalEntryLineItemTest.php | 2 +- src/gen/test/Model/JournalEntryTest.php | 11 +- src/gen/test/Model/LeadEventTypeTest.php | 2 +- src/gen/test/Model/LeadTest.php | 10 +- src/gen/test/Model/LeadsFilterTest.php | 2 +- src/gen/test/Model/LeadsSortTest.php | 2 +- .../Model/LedgerAccountCategoriesTest.php | 2 +- .../Model/LedgerAccountParentAccountTest.php | 2 +- src/gen/test/Model/LedgerAccountTest.php | 2 +- .../test/Model/LedgerAccountsFilterTest.php | 2 +- src/gen/test/Model/LedgerAccountsSortTest.php | 2 +- .../Model/LinkedConnectorResourceTest.php | 2 +- src/gen/test/Model/LinkedCustomerTest.php | 2 +- .../Model/LinkedEcommerceCustomerTest.php | 2 +- .../test/Model/LinkedEcommerceOrderTest.php | 2 +- src/gen/test/Model/LinkedFolderTest.php | 2 +- src/gen/test/Model/LinkedInvoiceItemTest.php | 2 +- .../test/Model/LinkedLedgerAccountTest.php | 2 +- .../test/Model/LinkedParentCustomerTest.php | 2 +- src/gen/test/Model/LinkedSupplierTest.php | 2 +- src/gen/test/Model/LinkedTaxRateTest.php | 2 +- .../test/Model/LinkedTrackingCategoryTest.php | 2 +- src/gen/test/Model/LinksTest.php | 2 +- src/gen/test/Model/LocationTest.php | 2 +- src/gen/test/Model/LogOperationTest.php | 2 +- src/gen/test/Model/LogServiceTest.php | 2 +- src/gen/test/Model/LogTest.php | 2 +- src/gen/test/Model/LogsFilterTest.php | 2 +- src/gen/test/Model/MerchantTest.php | 2 +- src/gen/test/Model/MessageTest.php | 2 +- src/gen/test/Model/MetaCursorsTest.php | 2 +- src/gen/test/Model/MetaTest.php | 2 +- .../test/Model/ModifierGroupFilterTest.php | 2 +- src/gen/test/Model/ModifierGroupTest.php | 2 +- src/gen/test/Model/ModifierTest.php | 2 +- src/gen/test/Model/NotFoundResponseTest.php | 2 +- .../test/Model/NotImplementedResponseTest.php | 2 +- src/gen/test/Model/NoteTest.php | 11 +- src/gen/test/Model/OAuthGrantTypeTest.php | 2 +- src/gen/test/Model/OfferTest.php | 2 +- .../test/Model/OpportunitiesFilterTest.php | 2 +- src/gen/test/Model/OpportunitiesSortTest.php | 2 +- src/gen/test/Model/OpportunityTest.php | 2 +- src/gen/test/Model/OrderCustomersTest.php | 2 +- src/gen/test/Model/OrderDiscountsTest.php | 2 +- src/gen/test/Model/OrderFulfillmentsTest.php | 2 +- src/gen/test/Model/OrderLineItemsTest.php | 2 +- src/gen/test/Model/OrderPaymentsTest.php | 2 +- ...PickupDetailsCurbsidePickupDetailsTest.php | 2 +- .../Model/OrderPickupDetailsRecipientTest.php | 2 +- src/gen/test/Model/OrderPickupDetailsTest.php | 2 +- src/gen/test/Model/OrderRefundsTest.php | 2 +- src/gen/test/Model/OrderTendersTest.php | 2 +- src/gen/test/Model/OrderTest.php | 2 +- src/gen/test/Model/OrderTypeTest.php | 2 +- src/gen/test/Model/OrdersSortTest.php | 2 +- src/gen/test/Model/OtherExpensesTest.php | 20 +- src/gen/test/Model/OtherIncomeTest.php | 20 +- .../OutstandingBalanceByCurrencyTest.php | 2 +- .../OutstandingBalanceByCustomerTest.php | 2 +- .../OutstandingBalanceBySupplierTest.php | 2 +- src/gen/test/Model/OwnerTest.php | 2 +- src/gen/test/Model/PaginationCoverageTest.php | 2 +- src/gen/test/Model/PassThroughQueryTest.php | 2 +- src/gen/test/Model/PaymentCardTest.php | 2 +- src/gen/test/Model/PaymentFrequencyTest.php | 2 +- .../Model/PaymentRequiredResponseTest.php | 2 +- src/gen/test/Model/PaymentStatusTest.php | 2 +- src/gen/test/Model/PaymentTest.php | 2 +- src/gen/test/Model/PaymentTypeTest.php | 2 +- src/gen/test/Model/PaymentUnitTest.php | 2 +- src/gen/test/Model/PaymentsFilterTest.php | 11 +- src/gen/test/Model/PaymentsSortTest.php | 2 +- src/gen/test/Model/PayrollTest.php | 2 +- src/gen/test/Model/PayrollTotalsTest.php | 2 +- src/gen/test/Model/PayrollsFilterTest.php | 2 +- src/gen/test/Model/PersonTest.php | 2 +- src/gen/test/Model/PhoneNumberTest.php | 2 +- src/gen/test/Model/PipelineStagesTest.php | 2 +- src/gen/test/Model/PipelineTest.php | 2 +- .../Model/PosBankAccountAchDetailsTest.php | 2 +- src/gen/test/Model/PosBankAccountTest.php | 2 +- .../test/Model/PosPaymentCardDetailsTest.php | 2 +- .../Model/PosPaymentExternalDetailsTest.php | 2 +- src/gen/test/Model/PosPaymentTest.php | 2 +- src/gen/test/Model/PriceTest.php | 2 +- src/gen/test/Model/ProbationPeriodTest.php | 2 +- .../test/Model/ProfitAndLossFilterTest.php | 2 +- .../test/Model/ProfitAndLossIndicatorTest.php | 2 +- .../test/Model/ProfitAndLossRecordTest.php | 2 +- .../test/Model/ProfitAndLossSectionTest.php | 2 +- src/gen/test/Model/ProfitAndLossTest.php | 2 +- src/gen/test/Model/ProfitAndLossTypeTest.php | 2 +- src/gen/test/Model/PurchaseOrderTest.php | 11 +- .../test/Model/PurchaseOrdersFilterTest.php | 2 +- src/gen/test/Model/PurchaseOrdersSortTest.php | 2 +- .../test/Model/RequestCountAllocationTest.php | 2 +- src/gen/test/Model/RequestRateTest.php | 2 +- .../test/Model/ResolveWebhookResponseTest.php | 2 +- src/gen/test/Model/ResourceExampleTest.php | 2 +- src/gen/test/Model/ResourceStatusTest.php | 2 +- src/gen/test/Model/ScheduleTest.php | 2 +- .../Model/ScheduleWorkPatternOddWeeksTest.php | 2 +- .../test/Model/ScheduleWorkPatternTest.php | 2 +- src/gen/test/Model/SchemaSupportTest.php | 2 +- src/gen/test/Model/ServiceChargeTest.php | 2 +- src/gen/test/Model/SessionSettingsTest.php | 2 +- src/gen/test/Model/SessionTest.php | 2 +- src/gen/test/Model/SessionThemeTest.php | 2 +- src/gen/test/Model/SharedLinkTargetTest.php | 2 +- src/gen/test/Model/SharedLinkTest.php | 2 +- .../test/Model/SimpleFormFieldOptionTest.php | 2 +- src/gen/test/Model/SocialLinkTest.php | 2 +- src/gen/test/Model/SortDirectionTest.php | 2 +- src/gen/test/Model/StatusTest.php | 2 +- .../test/Model/SubsidiaryReferenceTest.php | 2 +- src/gen/test/Model/SubsidiaryTest.php | 2 +- src/gen/test/Model/SupplierTest.php | 2 +- src/gen/test/Model/SuppliersFilterTest.php | 2 +- src/gen/test/Model/SuppliersSortTest.php | 2 +- src/gen/test/Model/SupportedPropertyTest.php | 2 +- src/gen/test/Model/TaxRateTest.php | 2 +- src/gen/test/Model/TaxRatesFilterTest.php | 2 +- src/gen/test/Model/TaxTest.php | 2 +- src/gen/test/Model/TeamTest.php | 2 +- src/gen/test/Model/TenderTest.php | 2 +- src/gen/test/Model/TicketTest.php | 2 +- src/gen/test/Model/TicketsSortTest.php | 2 +- .../test/Model/TimeOffRequestNotesTest.php | 2 +- src/gen/test/Model/TimeOffRequestTest.php | 2 +- .../test/Model/TimeOffRequestsFilterTest.php | 2 +- .../TooManyRequestsResponseDetailTest.php | 2 +- .../Model/TooManyRequestsResponseTest.php | 2 +- src/gen/test/Model/TrackingCategoryTest.php | 2 +- src/gen/test/Model/TrackingItemTest.php | 2 +- .../test/Model/UnauthorizedResponseTest.php | 2 +- .../test/Model/UncategorizedAccountsTest.php | 2 +- .../Model/UnexpectedErrorResponseTest.php | 2 +- src/gen/test/Model/UnifiedApiIdTest.php | 2 +- .../test/Model/UnifiedFilePermissionsTest.php | 2 +- src/gen/test/Model/UnifiedFileTest.php | 2 +- src/gen/test/Model/UnifiedIdTest.php | 2 +- .../test/Model/UnprocessableResponseTest.php | 2 +- ...UpdateAccountingDepartmentResponseTest.php | 2 +- .../UpdateAccountingLocationResponseTest.php | 2 +- .../test/Model/UpdateActivityResponseTest.php | 2 +- .../Model/UpdateApplicantResponseTest.php | 2 +- .../Model/UpdateApplicationResponseTest.php | 2 +- .../UpdateBankFeedAccountResponseTest.php | 145 + .../UpdateBankFeedStatementResponseTest.php | 145 + .../Model/UpdateBillPaymentResponseTest.php | 2 +- src/gen/test/Model/UpdateBillResponseTest.php | 2 +- .../test/Model/UpdateCommentResponseTest.php | 2 +- .../test/Model/UpdateCompanyResponseTest.php | 2 +- .../Model/UpdateConnectionResponseTest.php | 2 +- .../test/Model/UpdateConsumerRequestTest.php | 2 +- .../test/Model/UpdateConsumerResponseTest.php | 2 +- .../test/Model/UpdateContactResponseTest.php | 2 +- .../Model/UpdateCreditNoteResponseTest.php | 2 +- .../Model/UpdateCustomMappingRequestTest.php | 2 +- .../Model/UpdateCustomMappingResponseTest.php | 2 +- .../Model/UpdateCustomObjectResponseTest.php | 145 + .../UpdateCustomObjectSchemaResponseTest.php | 145 + .../test/Model/UpdateCustomerResponseTest.php | 2 +- .../Model/UpdateDepartmentResponseTest.php | 2 +- .../Model/UpdateDriveGroupResponseTest.php | 2 +- .../test/Model/UpdateDriveResponseTest.php | 2 +- .../UpdateEcommerceCustomerResponseTest.php | 2 +- .../UpdateEcommerceOrderResponseTest.php | 2 +- .../test/Model/UpdateEmployeeResponseTest.php | 2 +- .../test/Model/UpdateExpenseResponseTest.php | 2 +- src/gen/test/Model/UpdateFileRequestTest.php | 2 +- src/gen/test/Model/UpdateFileResponseTest.php | 2 +- .../test/Model/UpdateFolderRequestTest.php | 2 +- .../test/Model/UpdateFolderResponseTest.php | 2 +- .../Model/UpdateHrisCompanyResponseTest.php | 2 +- .../Model/UpdateInvoiceItemsResponseTest.php | 2 +- .../test/Model/UpdateInvoiceResponseTest.php | 2 +- src/gen/test/Model/UpdateItemResponseTest.php | 2 +- src/gen/test/Model/UpdateJobResponseTest.php | 2 +- .../Model/UpdateJournalEntryResponseTest.php | 2 +- src/gen/test/Model/UpdateLeadResponseTest.php | 2 +- .../Model/UpdateLedgerAccountResponseTest.php | 2 +- .../test/Model/UpdateLocationResponseTest.php | 2 +- .../test/Model/UpdateMerchantResponseTest.php | 2 +- .../test/Model/UpdateMessageResponseTest.php | 2 +- .../Model/UpdateModifierGroupResponseTest.php | 2 +- .../test/Model/UpdateModifierResponseTest.php | 2 +- src/gen/test/Model/UpdateNoteResponseTest.php | 2 +- .../Model/UpdateOpportunityResponseTest.php | 2 +- .../test/Model/UpdateOrderResponseTest.php | 2 +- .../Model/UpdateOrderTypeResponseTest.php | 2 +- .../test/Model/UpdatePaymentResponseTest.php | 2 +- .../test/Model/UpdatePipelineResponseTest.php | 2 +- .../Model/UpdatePosPaymentResponseTest.php | 2 +- .../test/Model/UpdateProductResponseTest.php | 2 +- .../Model/UpdatePurchaseOrderResponseTest.php | 2 +- .../Model/UpdateSharedLinkResponseTest.php | 2 +- .../Model/UpdateSubsidiaryResponseTest.php | 2 +- .../test/Model/UpdateSupplierResponseTest.php | 2 +- .../test/Model/UpdateTaxRateResponseTest.php | 2 +- .../test/Model/UpdateTenderResponseTest.php | 2 +- .../test/Model/UpdateTicketResponseTest.php | 2 +- .../UpdateTimeOffRequestResponseTest.php | 2 +- .../UpdateTrackingCategoryResponseTest.php | 2 +- .../Model/UpdateUploadSessionResponseTest.php | 2 +- src/gen/test/Model/UpdateUserResponseTest.php | 2 +- .../test/Model/UpdateWebhookRequestTest.php | 2 +- .../test/Model/UpdateWebhookResponseTest.php | 2 +- src/gen/test/Model/UploadSessionTest.php | 2 +- src/gen/test/Model/UserTest.php | 2 +- ...alidateConnectionStateResponseDataTest.php | 2 +- .../ValidateConnectionStateResponseTest.php | 2 +- src/gen/test/Model/VaultEventTypeTest.php | 2 +- .../Model/VirtualWebhooksResourcesTest.php | 2 +- src/gen/test/Model/VirtualWebhooksTest.php | 2 +- src/gen/test/Model/WalletDetailsTest.php | 2 +- .../Model/WebhookEventLogAttemptsTest.php | 2 +- .../test/Model/WebhookEventLogServiceTest.php | 2 +- src/gen/test/Model/WebhookEventLogTest.php | 2 +- .../WebhookEventLogsFilterServiceTest.php | 2 +- .../test/Model/WebhookEventLogsFilterTest.php | 2 +- src/gen/test/Model/WebhookEventTest.php | 2 +- src/gen/test/Model/WebhookEventTypeTest.php | 2 +- .../test/Model/WebhookSubscriptionTest.php | 2 +- src/gen/test/Model/WebhookSupportTest.php | 2 +- src/gen/test/Model/WebhookTest.php | 2 +- src/gen/test/Model/WebsiteTest.php | 2 +- 1577 files changed, 37318 insertions(+), 1839 deletions(-) create mode 100644 src/gen/docs/models/BankFeedAccount.md create mode 100644 src/gen/docs/models/BankFeedStatement.md create mode 100644 src/gen/docs/models/BankFeedStatementTransactions.md create mode 100644 src/gen/docs/models/CreateBankFeedAccountResponse.md create mode 100644 src/gen/docs/models/CreateBankFeedStatementResponse.md create mode 100644 src/gen/docs/models/CreateCustomObjectResponse.md create mode 100644 src/gen/docs/models/CreateCustomObjectSchemaResponse.md create mode 100644 src/gen/docs/models/CreditOrDebit.md create mode 100644 src/gen/docs/models/CustomObject.md create mode 100644 src/gen/docs/models/CustomObjectFields.md create mode 100644 src/gen/docs/models/CustomObjectSchema.md create mode 100644 src/gen/docs/models/CustomObjectSchemaFields.md create mode 100644 src/gen/docs/models/CustomObjectSchemaOptions.md create mode 100644 src/gen/docs/models/CustomObjectSchemasSort.md create mode 100644 src/gen/docs/models/CustomObjectsSort.md create mode 100644 src/gen/docs/models/DeleteBankFeedAccountResponse.md create mode 100644 src/gen/docs/models/DeleteBankFeedStatementResponse.md create mode 100644 src/gen/docs/models/DeleteCustomObjectResponse.md create mode 100644 src/gen/docs/models/DeleteCustomObjectSchemaResponse.md create mode 100644 src/gen/docs/models/EcommerceOrderRefund.md create mode 100644 src/gen/docs/models/GetBankFeedAccountResponse.md create mode 100644 src/gen/docs/models/GetBankFeedAccountsResponse.md create mode 100644 src/gen/docs/models/GetBankFeedStatementResponse.md create mode 100644 src/gen/docs/models/GetBankFeedStatementsResponse.md create mode 100644 src/gen/docs/models/GetCustomObjectResponse.md create mode 100644 src/gen/docs/models/GetCustomObjectSchemaResponse.md create mode 100644 src/gen/docs/models/GetCustomObjectSchemasResponse.md create mode 100644 src/gen/docs/models/GetCustomObjectsResponse.md create mode 100644 src/gen/docs/models/InvoicePaymentAllocations.md create mode 100644 src/gen/docs/models/UpdateBankFeedAccountResponse.md create mode 100644 src/gen/docs/models/UpdateBankFeedStatementResponse.md create mode 100644 src/gen/docs/models/UpdateCustomObjectResponse.md create mode 100644 src/gen/docs/models/UpdateCustomObjectSchemaResponse.md create mode 100644 src/gen/lib/Model/BankFeedAccount.php create mode 100644 src/gen/lib/Model/BankFeedStatement.php create mode 100644 src/gen/lib/Model/BankFeedStatementTransactions.php create mode 100644 src/gen/lib/Model/CreateBankFeedAccountResponse.php create mode 100644 src/gen/lib/Model/CreateBankFeedStatementResponse.php create mode 100644 src/gen/lib/Model/CreateCustomObjectResponse.php create mode 100644 src/gen/lib/Model/CreateCustomObjectSchemaResponse.php create mode 100644 src/gen/lib/Model/CreditOrDebit.php create mode 100644 src/gen/lib/Model/CustomObject.php create mode 100644 src/gen/lib/Model/CustomObjectFields.php create mode 100644 src/gen/lib/Model/CustomObjectSchema.php create mode 100644 src/gen/lib/Model/CustomObjectSchemaFields.php create mode 100644 src/gen/lib/Model/CustomObjectSchemaOptions.php create mode 100644 src/gen/lib/Model/CustomObjectSchemasSort.php create mode 100644 src/gen/lib/Model/CustomObjectsSort.php create mode 100644 src/gen/lib/Model/DeleteBankFeedAccountResponse.php create mode 100644 src/gen/lib/Model/DeleteBankFeedStatementResponse.php create mode 100644 src/gen/lib/Model/DeleteCustomObjectResponse.php create mode 100644 src/gen/lib/Model/DeleteCustomObjectSchemaResponse.php create mode 100644 src/gen/lib/Model/EcommerceOrderRefund.php create mode 100644 src/gen/lib/Model/GetBankFeedAccountResponse.php create mode 100644 src/gen/lib/Model/GetBankFeedAccountsResponse.php create mode 100644 src/gen/lib/Model/GetBankFeedStatementResponse.php create mode 100644 src/gen/lib/Model/GetBankFeedStatementsResponse.php create mode 100644 src/gen/lib/Model/GetCustomObjectResponse.php create mode 100644 src/gen/lib/Model/GetCustomObjectSchemaResponse.php create mode 100644 src/gen/lib/Model/GetCustomObjectSchemasResponse.php create mode 100644 src/gen/lib/Model/GetCustomObjectsResponse.php create mode 100644 src/gen/lib/Model/InvoicePaymentAllocations.php create mode 100644 src/gen/lib/Model/UpdateBankFeedAccountResponse.php create mode 100644 src/gen/lib/Model/UpdateBankFeedStatementResponse.php create mode 100644 src/gen/lib/Model/UpdateCustomObjectResponse.php create mode 100644 src/gen/lib/Model/UpdateCustomObjectSchemaResponse.php create mode 100644 src/gen/test/Model/BankFeedAccountTest.php create mode 100644 src/gen/test/Model/BankFeedStatementTest.php create mode 100644 src/gen/test/Model/BankFeedStatementTransactionsTest.php create mode 100644 src/gen/test/Model/CreateBankFeedAccountResponseTest.php create mode 100644 src/gen/test/Model/CreateBankFeedStatementResponseTest.php create mode 100644 src/gen/test/Model/CreateCustomObjectResponseTest.php create mode 100644 src/gen/test/Model/CreateCustomObjectSchemaResponseTest.php create mode 100644 src/gen/test/Model/CreditOrDebitTest.php create mode 100644 src/gen/test/Model/CustomObjectFieldsTest.php create mode 100644 src/gen/test/Model/CustomObjectSchemaFieldsTest.php create mode 100644 src/gen/test/Model/CustomObjectSchemaOptionsTest.php create mode 100644 src/gen/test/Model/CustomObjectSchemaTest.php create mode 100644 src/gen/test/Model/CustomObjectSchemasSortTest.php create mode 100644 src/gen/test/Model/CustomObjectTest.php create mode 100644 src/gen/test/Model/CustomObjectsSortTest.php create mode 100644 src/gen/test/Model/DeleteBankFeedAccountResponseTest.php create mode 100644 src/gen/test/Model/DeleteBankFeedStatementResponseTest.php create mode 100644 src/gen/test/Model/DeleteCustomObjectResponseTest.php create mode 100644 src/gen/test/Model/DeleteCustomObjectSchemaResponseTest.php create mode 100644 src/gen/test/Model/EcommerceOrderRefundTest.php create mode 100644 src/gen/test/Model/GetBankFeedAccountResponseTest.php create mode 100644 src/gen/test/Model/GetBankFeedAccountsResponseTest.php create mode 100644 src/gen/test/Model/GetBankFeedStatementResponseTest.php create mode 100644 src/gen/test/Model/GetBankFeedStatementsResponseTest.php create mode 100644 src/gen/test/Model/GetCustomObjectResponseTest.php create mode 100644 src/gen/test/Model/GetCustomObjectSchemaResponseTest.php create mode 100644 src/gen/test/Model/GetCustomObjectSchemasResponseTest.php create mode 100644 src/gen/test/Model/GetCustomObjectsResponseTest.php create mode 100644 src/gen/test/Model/InvoicePaymentAllocationsTest.php create mode 100644 src/gen/test/Model/UpdateBankFeedAccountResponseTest.php create mode 100644 src/gen/test/Model/UpdateBankFeedStatementResponseTest.php create mode 100644 src/gen/test/Model/UpdateCustomObjectResponseTest.php create mode 100644 src/gen/test/Model/UpdateCustomObjectSchemaResponseTest.php diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea33d971dd..a263fab169 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,5 +18,5 @@ jobs: uses: ncipollo/release-action@v1 with: commit: main - tag: 3.10.0 + tag: 3.11.0 diff --git a/package.json b/package.json index b03960f12d..7010ad0885 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apideck/php", - "version": "3.10.0", + "version": "3.11.0", "description": "Apideck PHP SDK", "keywords": [ "apideck", diff --git a/src/gen/.openapi-generator/FILES b/src/gen/.openapi-generator/FILES index 541127dba2..5d4ff9d4d9 100644 --- a/src/gen/.openapi-generator/FILES +++ b/src/gen/.openapi-generator/FILES @@ -70,6 +70,9 @@ docs/Model/BalanceSheetLiabilitiesAccount.md docs/Model/BalanceSheetReports.md docs/Model/BalanceSheetUncategorizedItemsAccount.md docs/Model/BankAccount.md +docs/Model/BankFeedAccount.md +docs/Model/BankFeedStatement.md +docs/Model/BankFeedStatementTransactions.md docs/Model/Benefit.md docs/Model/Bill.md docs/Model/BillLineItem.md @@ -127,6 +130,8 @@ docs/Model/CreateApplicantResponse.md docs/Model/CreateApplicationResponse.md docs/Model/CreateAttachmentRequest.md docs/Model/CreateAttachmentResponse.md +docs/Model/CreateBankFeedAccountResponse.md +docs/Model/CreateBankFeedStatementResponse.md docs/Model/CreateBillPaymentResponse.md docs/Model/CreateBillResponse.md docs/Model/CreateCallbackState.md @@ -140,6 +145,8 @@ docs/Model/CreateContactResponse.md docs/Model/CreateCreditNoteResponse.md docs/Model/CreateCustomMappingRequest.md docs/Model/CreateCustomMappingResponse.md +docs/Model/CreateCustomObjectResponse.md +docs/Model/CreateCustomObjectSchemaResponse.md docs/Model/CreateCustomerResponse.md docs/Model/CreateDepartmentResponse.md docs/Model/CreateDriveGroupResponse.md @@ -192,11 +199,19 @@ docs/Model/CreateWebhookResponse.md docs/Model/CreditNote.md docs/Model/CreditNotesFilter.md docs/Model/CreditNotesSort.md +docs/Model/CreditOrDebit.md docs/Model/CrmEventType.md docs/Model/Currency.md docs/Model/CustomField.md docs/Model/CustomFieldFinder.md docs/Model/CustomMapping.md +docs/Model/CustomObject.md +docs/Model/CustomObjectFields.md +docs/Model/CustomObjectSchema.md +docs/Model/CustomObjectSchemaFields.md +docs/Model/CustomObjectSchemaOptions.md +docs/Model/CustomObjectSchemasSort.md +docs/Model/CustomObjectsSort.md docs/Model/Customer.md docs/Model/CustomersFilter.md docs/Model/CustomersSort.md @@ -207,6 +222,8 @@ docs/Model/DeleteActivityResponse.md docs/Model/DeleteApplicantResponse.md docs/Model/DeleteApplicationResponse.md docs/Model/DeleteAttachmentResponse.md +docs/Model/DeleteBankFeedAccountResponse.md +docs/Model/DeleteBankFeedStatementResponse.md docs/Model/DeleteBillPaymentResponse.md docs/Model/DeleteBillResponse.md docs/Model/DeleteCommentResponse.md @@ -214,6 +231,8 @@ docs/Model/DeleteCompanyResponse.md docs/Model/DeleteConsumerResponse.md docs/Model/DeleteContactResponse.md docs/Model/DeleteCreditNoteResponse.md +docs/Model/DeleteCustomObjectResponse.md +docs/Model/DeleteCustomObjectSchemaResponse.md docs/Model/DeleteCustomerResponse.md docs/Model/DeleteDepartmentResponse.md docs/Model/DeleteDriveGroupResponse.md @@ -271,6 +290,7 @@ docs/Model/EcommerceDiscount.md docs/Model/EcommerceEventType.md docs/Model/EcommerceOrder.md docs/Model/EcommerceOrderLineItem.md +docs/Model/EcommerceOrderRefund.md docs/Model/EcommerceOrderStatus.md docs/Model/EcommerceOrdersFilter.md docs/Model/EcommerceProduct.md @@ -328,6 +348,10 @@ docs/Model/GetApplicationsResponse.md docs/Model/GetAttachmentResponse.md docs/Model/GetAttachmentsResponse.md docs/Model/GetBalanceSheetResponse.md +docs/Model/GetBankFeedAccountResponse.md +docs/Model/GetBankFeedAccountsResponse.md +docs/Model/GetBankFeedStatementResponse.md +docs/Model/GetBankFeedStatementsResponse.md docs/Model/GetBillPaymentResponse.md docs/Model/GetBillPaymentsResponse.md docs/Model/GetBillResponse.md @@ -360,6 +384,10 @@ docs/Model/GetCreditNotesResponse.md docs/Model/GetCustomFieldsResponse.md docs/Model/GetCustomMappingResponse.md docs/Model/GetCustomMappingsResponse.md +docs/Model/GetCustomObjectResponse.md +docs/Model/GetCustomObjectSchemaResponse.md +docs/Model/GetCustomObjectSchemasResponse.md +docs/Model/GetCustomObjectsResponse.md docs/Model/GetCustomerResponse.md docs/Model/GetCustomersResponse.md docs/Model/GetDepartmentResponse.md @@ -473,6 +501,7 @@ docs/Model/InvoiceItemSalesDetails.md docs/Model/InvoiceItemsFilter.md docs/Model/InvoiceItemsSort.md docs/Model/InvoiceLineItem.md +docs/Model/InvoicePaymentAllocations.md docs/Model/InvoiceResponse.md docs/Model/InvoicesFilter.md docs/Model/InvoicesSort.md @@ -633,6 +662,8 @@ docs/Model/UpdateAccountingLocationResponse.md docs/Model/UpdateActivityResponse.md docs/Model/UpdateApplicantResponse.md docs/Model/UpdateApplicationResponse.md +docs/Model/UpdateBankFeedAccountResponse.md +docs/Model/UpdateBankFeedStatementResponse.md docs/Model/UpdateBillPaymentResponse.md docs/Model/UpdateBillResponse.md docs/Model/UpdateCommentResponse.md @@ -644,6 +675,8 @@ docs/Model/UpdateContactResponse.md docs/Model/UpdateCreditNoteResponse.md docs/Model/UpdateCustomMappingRequest.md docs/Model/UpdateCustomMappingResponse.md +docs/Model/UpdateCustomObjectResponse.md +docs/Model/UpdateCustomObjectSchemaResponse.md docs/Model/UpdateCustomerResponse.md docs/Model/UpdateDepartmentResponse.md docs/Model/UpdateDriveGroupResponse.md @@ -776,6 +809,9 @@ lib/Model/BalanceSheetLiabilitiesAccount.php lib/Model/BalanceSheetReports.php lib/Model/BalanceSheetUncategorizedItemsAccount.php lib/Model/BankAccount.php +lib/Model/BankFeedAccount.php +lib/Model/BankFeedStatement.php +lib/Model/BankFeedStatementTransactions.php lib/Model/Benefit.php lib/Model/Bill.php lib/Model/BillLineItem.php @@ -833,6 +869,8 @@ lib/Model/CreateApplicantResponse.php lib/Model/CreateApplicationResponse.php lib/Model/CreateAttachmentRequest.php lib/Model/CreateAttachmentResponse.php +lib/Model/CreateBankFeedAccountResponse.php +lib/Model/CreateBankFeedStatementResponse.php lib/Model/CreateBillPaymentResponse.php lib/Model/CreateBillResponse.php lib/Model/CreateCallbackState.php @@ -846,6 +884,8 @@ lib/Model/CreateContactResponse.php lib/Model/CreateCreditNoteResponse.php lib/Model/CreateCustomMappingRequest.php lib/Model/CreateCustomMappingResponse.php +lib/Model/CreateCustomObjectResponse.php +lib/Model/CreateCustomObjectSchemaResponse.php lib/Model/CreateCustomerResponse.php lib/Model/CreateDepartmentResponse.php lib/Model/CreateDriveGroupResponse.php @@ -898,11 +938,19 @@ lib/Model/CreateWebhookResponse.php lib/Model/CreditNote.php lib/Model/CreditNotesFilter.php lib/Model/CreditNotesSort.php +lib/Model/CreditOrDebit.php lib/Model/CrmEventType.php lib/Model/Currency.php lib/Model/CustomField.php lib/Model/CustomFieldFinder.php lib/Model/CustomMapping.php +lib/Model/CustomObject.php +lib/Model/CustomObjectFields.php +lib/Model/CustomObjectSchema.php +lib/Model/CustomObjectSchemaFields.php +lib/Model/CustomObjectSchemaOptions.php +lib/Model/CustomObjectSchemasSort.php +lib/Model/CustomObjectsSort.php lib/Model/Customer.php lib/Model/CustomersFilter.php lib/Model/CustomersSort.php @@ -913,6 +961,8 @@ lib/Model/DeleteActivityResponse.php lib/Model/DeleteApplicantResponse.php lib/Model/DeleteApplicationResponse.php lib/Model/DeleteAttachmentResponse.php +lib/Model/DeleteBankFeedAccountResponse.php +lib/Model/DeleteBankFeedStatementResponse.php lib/Model/DeleteBillPaymentResponse.php lib/Model/DeleteBillResponse.php lib/Model/DeleteCommentResponse.php @@ -920,6 +970,8 @@ lib/Model/DeleteCompanyResponse.php lib/Model/DeleteConsumerResponse.php lib/Model/DeleteContactResponse.php lib/Model/DeleteCreditNoteResponse.php +lib/Model/DeleteCustomObjectResponse.php +lib/Model/DeleteCustomObjectSchemaResponse.php lib/Model/DeleteCustomerResponse.php lib/Model/DeleteDepartmentResponse.php lib/Model/DeleteDriveGroupResponse.php @@ -977,6 +1029,7 @@ lib/Model/EcommerceDiscount.php lib/Model/EcommerceEventType.php lib/Model/EcommerceOrder.php lib/Model/EcommerceOrderLineItem.php +lib/Model/EcommerceOrderRefund.php lib/Model/EcommerceOrderStatus.php lib/Model/EcommerceOrdersFilter.php lib/Model/EcommerceProduct.php @@ -1034,6 +1087,10 @@ lib/Model/GetApplicationsResponse.php lib/Model/GetAttachmentResponse.php lib/Model/GetAttachmentsResponse.php lib/Model/GetBalanceSheetResponse.php +lib/Model/GetBankFeedAccountResponse.php +lib/Model/GetBankFeedAccountsResponse.php +lib/Model/GetBankFeedStatementResponse.php +lib/Model/GetBankFeedStatementsResponse.php lib/Model/GetBillPaymentResponse.php lib/Model/GetBillPaymentsResponse.php lib/Model/GetBillResponse.php @@ -1066,6 +1123,10 @@ lib/Model/GetCreditNotesResponse.php lib/Model/GetCustomFieldsResponse.php lib/Model/GetCustomMappingResponse.php lib/Model/GetCustomMappingsResponse.php +lib/Model/GetCustomObjectResponse.php +lib/Model/GetCustomObjectSchemaResponse.php +lib/Model/GetCustomObjectSchemasResponse.php +lib/Model/GetCustomObjectsResponse.php lib/Model/GetCustomerResponse.php lib/Model/GetCustomersResponse.php lib/Model/GetDepartmentResponse.php @@ -1179,6 +1240,7 @@ lib/Model/InvoiceItemSalesDetails.php lib/Model/InvoiceItemsFilter.php lib/Model/InvoiceItemsSort.php lib/Model/InvoiceLineItem.php +lib/Model/InvoicePaymentAllocations.php lib/Model/InvoiceResponse.php lib/Model/InvoicesFilter.php lib/Model/InvoicesSort.php @@ -1340,6 +1402,8 @@ lib/Model/UpdateAccountingLocationResponse.php lib/Model/UpdateActivityResponse.php lib/Model/UpdateApplicantResponse.php lib/Model/UpdateApplicationResponse.php +lib/Model/UpdateBankFeedAccountResponse.php +lib/Model/UpdateBankFeedStatementResponse.php lib/Model/UpdateBillPaymentResponse.php lib/Model/UpdateBillResponse.php lib/Model/UpdateCommentResponse.php @@ -1351,6 +1415,8 @@ lib/Model/UpdateContactResponse.php lib/Model/UpdateCreditNoteResponse.php lib/Model/UpdateCustomMappingRequest.php lib/Model/UpdateCustomMappingResponse.php +lib/Model/UpdateCustomObjectResponse.php +lib/Model/UpdateCustomObjectSchemaResponse.php lib/Model/UpdateCustomerResponse.php lib/Model/UpdateDepartmentResponse.php lib/Model/UpdateDriveGroupResponse.php @@ -1479,6 +1545,9 @@ test/Model/BalanceSheetReportsTest.php test/Model/BalanceSheetTest.php test/Model/BalanceSheetUncategorizedItemsAccountTest.php test/Model/BankAccountTest.php +test/Model/BankFeedAccountTest.php +test/Model/BankFeedStatementTest.php +test/Model/BankFeedStatementTransactionsTest.php test/Model/BenefitTest.php test/Model/BillLineItemTest.php test/Model/BillPaymentAllocationsTest.php @@ -1536,6 +1605,8 @@ test/Model/CreateApplicantResponseTest.php test/Model/CreateApplicationResponseTest.php test/Model/CreateAttachmentRequestTest.php test/Model/CreateAttachmentResponseTest.php +test/Model/CreateBankFeedAccountResponseTest.php +test/Model/CreateBankFeedStatementResponseTest.php test/Model/CreateBillPaymentResponseTest.php test/Model/CreateBillResponseTest.php test/Model/CreateCallbackStateResponseDataTest.php @@ -1549,6 +1620,8 @@ test/Model/CreateContactResponseTest.php test/Model/CreateCreditNoteResponseTest.php test/Model/CreateCustomMappingRequestTest.php test/Model/CreateCustomMappingResponseTest.php +test/Model/CreateCustomObjectResponseTest.php +test/Model/CreateCustomObjectSchemaResponseTest.php test/Model/CreateCustomerResponseTest.php test/Model/CreateDepartmentResponseTest.php test/Model/CreateDriveGroupResponseTest.php @@ -1601,11 +1674,19 @@ test/Model/CreateWebhookResponseTest.php test/Model/CreditNoteTest.php test/Model/CreditNotesFilterTest.php test/Model/CreditNotesSortTest.php +test/Model/CreditOrDebitTest.php test/Model/CrmEventTypeTest.php test/Model/CurrencyTest.php test/Model/CustomFieldFinderTest.php test/Model/CustomFieldTest.php test/Model/CustomMappingTest.php +test/Model/CustomObjectFieldsTest.php +test/Model/CustomObjectSchemaFieldsTest.php +test/Model/CustomObjectSchemaOptionsTest.php +test/Model/CustomObjectSchemaTest.php +test/Model/CustomObjectSchemasSortTest.php +test/Model/CustomObjectTest.php +test/Model/CustomObjectsSortTest.php test/Model/CustomerTest.php test/Model/CustomersFilterTest.php test/Model/CustomersSortTest.php @@ -1616,6 +1697,8 @@ test/Model/DeleteActivityResponseTest.php test/Model/DeleteApplicantResponseTest.php test/Model/DeleteApplicationResponseTest.php test/Model/DeleteAttachmentResponseTest.php +test/Model/DeleteBankFeedAccountResponseTest.php +test/Model/DeleteBankFeedStatementResponseTest.php test/Model/DeleteBillPaymentResponseTest.php test/Model/DeleteBillResponseTest.php test/Model/DeleteCommentResponseTest.php @@ -1623,6 +1706,8 @@ test/Model/DeleteCompanyResponseTest.php test/Model/DeleteConsumerResponseTest.php test/Model/DeleteContactResponseTest.php test/Model/DeleteCreditNoteResponseTest.php +test/Model/DeleteCustomObjectResponseTest.php +test/Model/DeleteCustomObjectSchemaResponseTest.php test/Model/DeleteCustomerResponseTest.php test/Model/DeleteDepartmentResponseTest.php test/Model/DeleteDriveGroupResponseTest.php @@ -1679,6 +1764,7 @@ test/Model/EcommerceCustomersFilterTest.php test/Model/EcommerceDiscountTest.php test/Model/EcommerceEventTypeTest.php test/Model/EcommerceOrderLineItemTest.php +test/Model/EcommerceOrderRefundTest.php test/Model/EcommerceOrderStatusTest.php test/Model/EcommerceOrderTest.php test/Model/EcommerceOrdersFilterTest.php @@ -1737,6 +1823,10 @@ test/Model/GetApplicationsResponseTest.php test/Model/GetAttachmentResponseTest.php test/Model/GetAttachmentsResponseTest.php test/Model/GetBalanceSheetResponseTest.php +test/Model/GetBankFeedAccountResponseTest.php +test/Model/GetBankFeedAccountsResponseTest.php +test/Model/GetBankFeedStatementResponseTest.php +test/Model/GetBankFeedStatementsResponseTest.php test/Model/GetBillPaymentResponseTest.php test/Model/GetBillPaymentsResponseTest.php test/Model/GetBillResponseTest.php @@ -1769,6 +1859,10 @@ test/Model/GetCreditNotesResponseTest.php test/Model/GetCustomFieldsResponseTest.php test/Model/GetCustomMappingResponseTest.php test/Model/GetCustomMappingsResponseTest.php +test/Model/GetCustomObjectResponseTest.php +test/Model/GetCustomObjectSchemaResponseTest.php +test/Model/GetCustomObjectSchemasResponseTest.php +test/Model/GetCustomObjectsResponseTest.php test/Model/GetCustomerResponseTest.php test/Model/GetCustomersResponseTest.php test/Model/GetDepartmentResponseTest.php @@ -1881,6 +1975,7 @@ test/Model/InvoiceItemTest.php test/Model/InvoiceItemsFilterTest.php test/Model/InvoiceItemsSortTest.php test/Model/InvoiceLineItemTest.php +test/Model/InvoicePaymentAllocationsTest.php test/Model/InvoiceResponseTest.php test/Model/InvoiceTest.php test/Model/InvoicesFilterTest.php @@ -2042,6 +2137,8 @@ test/Model/UpdateAccountingLocationResponseTest.php test/Model/UpdateActivityResponseTest.php test/Model/UpdateApplicantResponseTest.php test/Model/UpdateApplicationResponseTest.php +test/Model/UpdateBankFeedAccountResponseTest.php +test/Model/UpdateBankFeedStatementResponseTest.php test/Model/UpdateBillPaymentResponseTest.php test/Model/UpdateBillResponseTest.php test/Model/UpdateCommentResponseTest.php @@ -2053,6 +2150,8 @@ test/Model/UpdateContactResponseTest.php test/Model/UpdateCreditNoteResponseTest.php test/Model/UpdateCustomMappingRequestTest.php test/Model/UpdateCustomMappingResponseTest.php +test/Model/UpdateCustomObjectResponseTest.php +test/Model/UpdateCustomObjectSchemaResponseTest.php test/Model/UpdateCustomerResponseTest.php test/Model/UpdateDepartmentResponseTest.php test/Model/UpdateDriveGroupResponseTest.php diff --git a/src/gen/docs/apis/AccountingApi.md b/src/gen/docs/apis/AccountingApi.md index df239a013b..c99f38fd5c 100644 --- a/src/gen/docs/apis/AccountingApi.md +++ b/src/gen/docs/apis/AccountingApi.md @@ -12,6 +12,16 @@ * [Download Attachment](#attachmentsDownload) * [Get Attachment](#attachmentsOne) * [Get BalanceSheet](#balanceSheetOne) +* [Create Bank Feed Account](#bankFeedAccountsAdd) +* [List Bank Feed Accounts](#bankFeedAccountsAll) +* [Delete Bank Feed Account](#bankFeedAccountsDelete) +* [Get Bank Feed Account](#bankFeedAccountsOne) +* [Update Bank Feed Account](#bankFeedAccountsUpdate) +* [Create Bank Feed Statement](#bankFeedStatementsAdd) +* [List Bank Feed Statements](#bankFeedStatementsAll) +* [Delete Bank Feed Statement](#bankFeedStatementsDelete) +* [Get Bank Feed Statement](#bankFeedStatementsOne) +* [Update Bank Feed Statement](#bankFeedStatementsUpdate) * [Create Bill Payment](#billPaymentsAdd) * [List Bill Payments](#billPaymentsAll) * [Delete Bill Payment](#billPaymentsDelete) @@ -576,6 +586,676 @@ try { ``` +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Bank Feed Account + + +Method: **bankFeedAccountsAdd** + +```php +Apideck->getAccountingApi()->bankFeedAccountsAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bank_feed_account** | [\Apideck\Client\Model\BankFeedAccount](../models/\Apideck\Client\Model\BankFeedAccount.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\CreateBankFeedAccountResponse`](../models/\Apideck\Client\Model\CreateBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedAccountsAdd($bankFeedAccount); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Bank Feed Accounts + + +Method: **bankFeedAccountsAll** + +```php +Apideck->getAccountingApi()->bankFeedAccountsAll($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | + **pass_through** | [\Apideck\Client\Model\PassThroughQuery](../models/\Apideck\Client\Model\PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | + **fields** | **string**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + + + +### Response Type + +[`\Apideck\Client\Model\GetBankFeedAccountsResponse`](../models/\Apideck\Client\Model\GetBankFeedAccountsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedAccountsAll(); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Bank Feed Account + + +Method: **bankFeedAccountsDelete** + +```php +Apideck->getAccountingApi()->bankFeedAccountsDelete($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\DeleteBankFeedAccountResponse`](../models/\Apideck\Client\Model\DeleteBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedAccountsDelete('id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Bank Feed Account + + +Method: **bankFeedAccountsOne** + +```php +Apideck->getAccountingApi()->bankFeedAccountsOne($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **fields** | **string**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\GetBankFeedAccountResponse`](../models/\Apideck\Client\Model\GetBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedAccountsOne('id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Bank Feed Account + + +Method: **bankFeedAccountsUpdate** + +```php +Apideck->getAccountingApi()->bankFeedAccountsUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **bank_feed_account** | [\Apideck\Client\Model\BankFeedAccount](../models/\Apideck\Client\Model\BankFeedAccount.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\UpdateBankFeedAccountResponse`](../models/\Apideck\Client\Model\UpdateBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedAccountsUpdate('id_example', $bankFeedAccount); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Bank Feed Statement + + +Method: **bankFeedStatementsAdd** + +```php +Apideck->getAccountingApi()->bankFeedStatementsAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bank_feed_statement** | [\Apideck\Client\Model\BankFeedStatement](../models/\Apideck\Client\Model\BankFeedStatement.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\CreateBankFeedStatementResponse`](../models/\Apideck\Client\Model\CreateBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedStatementsAdd($bankFeedStatement); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Bank Feed Statements + + +Method: **bankFeedStatementsAll** + +```php +Apideck->getAccountingApi()->bankFeedStatementsAll($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | + **pass_through** | [\Apideck\Client\Model\PassThroughQuery](../models/\Apideck\Client\Model\PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | + **fields** | **string**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + + + +### Response Type + +[`\Apideck\Client\Model\GetBankFeedStatementsResponse`](../models/\Apideck\Client\Model\GetBankFeedStatementsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedStatementsAll(); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Bank Feed Statement + + +Method: **bankFeedStatementsDelete** + +```php +Apideck->getAccountingApi()->bankFeedStatementsDelete($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\DeleteBankFeedStatementResponse`](../models/\Apideck\Client\Model\DeleteBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedStatementsDelete('id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Bank Feed Statement + + +Method: **bankFeedStatementsOne** + +```php +Apideck->getAccountingApi()->bankFeedStatementsOne($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **fields** | **string**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\GetBankFeedStatementResponse`](../models/\Apideck\Client\Model\GetBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedStatementsOne('id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Bank Feed Statement + + +Method: **bankFeedStatementsUpdate** + +```php +Apideck->getAccountingApi()->bankFeedStatementsUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **bank_feed_statement** | [\Apideck\Client\Model\BankFeedStatement](../models/\Apideck\Client\Model\BankFeedStatement.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\UpdateBankFeedStatementResponse`](../models/\Apideck\Client\Model\UpdateBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getAccountingApi()->bankFeedStatementsUpdate('id_example', $bankFeedStatement); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/apis/CrmApi.md b/src/gen/docs/apis/CrmApi.md index f09a6c0a9c..76e1812a7a 100644 --- a/src/gen/docs/apis/CrmApi.md +++ b/src/gen/docs/apis/CrmApi.md @@ -20,6 +20,16 @@ * [Delete Contact](#contactsDelete) * [Get Contact](#contactsOne) * [Update Contact](#contactsUpdate) +* [Create Custom Object Schema](#customObjectSchemasAdd) +* [List Custom Object Schemas](#customObjectSchemasAll) +* [Delete Custom Object Schema](#customObjectSchemasDelete) +* [Get Custom Object Schema](#customObjectSchemasOne) +* [Update Custom Object Schema](#customObjectSchemasUpdate) +* [Create Custom Object](#customObjectsAdd) +* [List Custom Objects](#customObjectsAll) +* [Delete Custom Object](#customObjectsDelete) +* [Get Custom Object](#customObjectsOne) +* [Update Custom Object](#customObjectsUpdate) * [Create Lead](#leadsAdd) * [List Leads](#leadsAll) * [Delete Lead](#leadsDelete) @@ -1056,6 +1066,678 @@ try { ``` +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Custom Object Schema + + +Method: **customObjectSchemasAdd** + +```php +Apideck->getCrmApi()->customObjectSchemasAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **custom_object_schema** | [\Apideck\Client\Model\CustomObjectSchema](../models/\Apideck\Client\Model\CustomObjectSchema.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\CreateCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\CreateCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Custom object schema created | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectSchemasAdd($customObjectSchema); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Custom Object Schemas + + +Method: **customObjectSchemasAll** + +```php +Apideck->getCrmApi()->customObjectSchemasAll($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | + **pass_through** | [\Apideck\Client\Model\PassThroughQuery](../models/\Apideck\Client\Model\PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + + + +### Response Type + +[`\Apideck\Client\Model\GetCustomObjectSchemasResponse`](../models/\Apideck\Client\Model\GetCustomObjectSchemasResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schemas | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectSchemasAll(); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Custom Object Schema + + +Method: **customObjectSchemasDelete** + +```php +Apideck->getCrmApi()->customObjectSchemasDelete($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\DeleteCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\DeleteCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema deleted | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectSchemasDelete('id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Custom Object Schema + + +Method: **customObjectSchemasOne** + +```php +Apideck->getCrmApi()->customObjectSchemasOne($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\GetCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\GetCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectSchemasOne('id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Custom Object Schema + + +Method: **customObjectSchemasUpdate** + +```php +Apideck->getCrmApi()->customObjectSchemasUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **custom_object_schema** | [\Apideck\Client\Model\CustomObjectSchema](../models/\Apideck\Client\Model\CustomObjectSchema.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\UpdateCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\UpdateCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema updated | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectSchemasUpdate('id_example', $customObjectSchema); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Custom Object + + +Method: **customObjectsAdd** + +```php +Apideck->getCrmApi()->customObjectsAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **object_id** | **string**| The id of the custom object to query | + **custom_object** | [\Apideck\Client\Model\CustomObject](../models/\Apideck\Client\Model\CustomObject.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\CreateCustomObjectResponse`](../models/\Apideck\Client\Model\CreateCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Custom object created | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectsAdd('object_id_example', $customObject); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Custom Objects + + +Method: **customObjectsAll** + +```php +Apideck->getCrmApi()->customObjectsAll($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **object_id** | **string**| The id of the custom object to query | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | + **pass_through** | [\Apideck\Client\Model\PassThroughQuery](../models/\Apideck\Client\Model\PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | + **fields** | **string**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + + + +### Response Type + +[`\Apideck\Client\Model\GetCustomObjectsResponse`](../models/\Apideck\Client\Model\GetCustomObjectsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom objects | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectsAll('object_id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Custom Object + + +Method: **customObjectsDelete** + +```php +Apideck->getCrmApi()->customObjectsDelete($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **object_id** | **string**| The id of the custom object to query | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\DeleteCustomObjectResponse`](../models/\Apideck\Client\Model\DeleteCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object deleted | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectsDelete('id_example', 'object_id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Custom Object + + +Method: **customObjectsOne** + +```php +Apideck->getCrmApi()->customObjectsOne($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **object_id** | **string**| The id of the custom object to query | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\GetCustomObjectResponse`](../models/\Apideck\Client\Model\GetCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectsOne('id_example', 'object_id_example'); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Custom Object + + +Method: **customObjectsUpdate** + +```php +Apideck->getCrmApi()->customObjectsUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **object_id** | **string**| The id of the custom object to query | + **custom_object** | [\Apideck\Client\Model\CustomObject](../models/\Apideck\Client\Model\CustomObject.md)| | + **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from | + **x_apideck_app_id** | **string**| The ID of your Unify application | + **x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | + **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`\Apideck\Client\Model\UpdateCustomObjectResponse`](../models/\Apideck\Client\Model\UpdateCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object updated | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```php +', '', '', ''); + +$apideck = new Apideck($config); + +try { + $response = $apideck->getCrmApi()->customObjectsUpdate('id_example', 'object_id_example', $customObject); + var_dump('API called successfully', $response); +} catch(ApiException $error) { + var_dump('API called failed', $error); +} + +``` + + [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/AccountingDepartment.md b/src/gen/docs/models/AccountingDepartment.md index 3535e08e96..3bb930df31 100644 --- a/src/gen/docs/models/AccountingDepartment.md +++ b/src/gen/docs/models/AccountingDepartment.md @@ -10,7 +10,8 @@ Name | Type | Description | Notes `name` | **string** | The name of the department. | [optional] `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] `subsidiaries` | [**\Apideck\Client\Model\SubsidiaryReference[]**](SubsidiaryReference.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`code` | **string** | The code of the department. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -47,6 +48,7 @@ Name | Type | Description | Notes + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/AccountingLocation.md b/src/gen/docs/models/AccountingLocation.md index dc46860a21..485e326452 100644 --- a/src/gen/docs/models/AccountingLocation.md +++ b/src/gen/docs/models/AccountingLocation.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] `addresses` | [**\Apideck\Client\Model\Address[]**](Address.md) | | [optional] `subsidiaries` | [**\Apideck\Client\Model\SubsidiaryReference[]**](SubsidiaryReference.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/Activity.md b/src/gen/docs/models/Activity.md index 31b7de38e4..5afee87bc9 100644 --- a/src/gen/docs/models/Activity.md +++ b/src/gen/docs/models/Activity.md @@ -51,7 +51,7 @@ Name | Type | Description | Notes `video_conference_id` | **string** | The ID of the video conference | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | Custom fields of the activity | [optional] `attendees` | [**\Apideck\Client\Model\ActivityAttendee[]**](ActivityAttendee.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the activity | [optional] `created_by` | **string** | The user who created the activity | [optional] `updated_at` | **string** | The date and time when the activity was last updated | [optional] diff --git a/src/gen/docs/models/Applicant.md b/src/gen/docs/models/Applicant.md index 1914f91c30..d4e8eac334 100644 --- a/src/gen/docs/models/Applicant.md +++ b/src/gen/docs/models/Applicant.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `cv_url` | **string** | | [optional] `record_url` | **string** | | [optional] `rejected_at` | **\DateTime** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `deleted_by` | **string** | The user who deleted the object. | [optional] `deleted_at` | **\DateTime** | The time at which the object was deleted. | [optional] diff --git a/src/gen/docs/models/Application.md b/src/gen/docs/models/Application.md index 1323d0bd8a..9d3f6fe752 100644 --- a/src/gen/docs/models/Application.md +++ b/src/gen/docs/models/Application.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | [optional] `status` | **string** | | [optional] `stage` | [**\Apideck\Client\Model\ApplicationStage**](ApplicationStage.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/AtsActivity.md b/src/gen/docs/models/AtsActivity.md index 4fe1b7e87c..fa2a63cbbb 100644 --- a/src/gen/docs/models/AtsActivity.md +++ b/src/gen/docs/models/AtsActivity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/BalanceSheetReports.md b/src/gen/docs/models/BalanceSheetReports.md index 1b140259f6..d798c2a400 100644 --- a/src/gen/docs/models/BalanceSheetReports.md +++ b/src/gen/docs/models/BalanceSheetReports.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `start_date` | **string** | The start date of the report | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] `net_assets` | **float** | The net assets of the balance sheet | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/BankFeedAccount.md b/src/gen/docs/models/BankFeedAccount.md new file mode 100644 index 0000000000..75868b1234 --- /dev/null +++ b/src/gen/docs/models/BankFeedAccount.md @@ -0,0 +1,71 @@ +# Apideck.BankFeedAccount + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | +`bank_account_type` | **string** | Type of the bank account. | [optional] +`source_account_id` | **string** | The source account's unique identifier. | [optional] +`target_account_id` | **string** | The target account's unique identifier in the accounting connector. | [optional] +`target_account_name` | **string** | Name associated with the target account. | [optional] +`target_account_number` | **string** | Account number of the destination bank account. | [optional] +`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] +`feed_status` | **string** | Current status of the bank feed. | [optional] +`country` | **string** | Country code according to ISO 3166-1 alpha-2. | [optional] +`custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] +`created_at` | **\DateTime** | The date and time when the object was created. | [optional] +`updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] +`updated_by` | **string** | The user who last updated the object. | [optional] +`created_by` | **string** | The user who created the object. | [optional] + + + + + + +## Enum: BankFeedAccount.bank_account_type + + +* `BANK` (value: `'bank'`) + +* `CREDIT_CARD` (value: `'credit_card'`) + + + + + +## Enum: BankFeedAccount.feed_status + + +* `PENDING` (value: `'pending'`) + +* `REJECTED` (value: `'rejected'`) + + + + +## Referenced Types: + + + + + + +* [`Currency`](Currency.md) + + +* [`CustomField`](CustomField.md) + + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/BankFeedStatement.md b/src/gen/docs/models/BankFeedStatement.md new file mode 100644 index 0000000000..feb7c7ad0a --- /dev/null +++ b/src/gen/docs/models/BankFeedStatement.md @@ -0,0 +1,60 @@ +# Apideck.BankFeedStatement + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | +`bank_feed_account_id` | **string** | The ID of the bank feed account this statement belongs to. | [optional] +`status` | **string** | The current status of the bank feed statement. | [optional] +`start_date` | **\DateTime** | Start date of the bank feed statement. | [optional] +`end_date` | **\DateTime** | End date of the bank feed statement. | [optional] +`start_balance` | **float** | Balance amount at the start of the period. | [optional] +`start_balance_credit_or_debit` | [**\Apideck\Client\Model\CreditOrDebit**](CreditOrDebit.md) | | [optional] +`end_balance` | **float** | Balance amount at the end of the period. | [optional] +`end_balance_credit_or_debit` | [**\Apideck\Client\Model\CreditOrDebit**](CreditOrDebit.md) | | [optional] +`transactions` | [**\Apideck\Client\Model\BankFeedStatementTransactions[]**](BankFeedStatementTransactions.md) | List of transactions in the bank feed statement. | [optional] +`created_at` | **\DateTime** | The date and time when the object was created. | [optional] +`created_by` | **string** | The user who created the object. | [optional] +`updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] +`updated_by` | **string** | The user who last updated the object. | [optional] + + + + + + +## Enum: BankFeedStatement.status + + +* `PENDING` (value: `'pending'`) + +* `REJECTED` (value: `'rejected'`) + +* `SUCCESS` (value: `'success'`) + + + + +## Referenced Types: + + + + + + +* [`CreditOrDebit`](CreditOrDebit.md) + +* [`CreditOrDebit`](CreditOrDebit.md) +* [`BankFeedStatementTransactions`](BankFeedStatementTransactions.md) + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/BankFeedStatementTransactions.md b/src/gen/docs/models/BankFeedStatementTransactions.md new file mode 100644 index 0000000000..cfe6d19dc3 --- /dev/null +++ b/src/gen/docs/models/BankFeedStatementTransactions.md @@ -0,0 +1,54 @@ +# Apideck.BankFeedStatementTransactions + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`posted_date` | **\DateTime** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | +`amount` | **float** | The amount of the transaction. | +`credit_or_debit` | [**\Apideck\Client\Model\CreditOrDebit**](CreditOrDebit.md) | | +`source_transaction_id` | **string** | The ID of the source transaction. | +`description` | **string** | A description of the transaction. | [optional] +`counterparty` | **string** | The counterparty of the transaction. | [optional] +`reference` | **string** | The reference of the transaction. | [optional] +`transaction_type` | **string** | Type of transaction. | [optional] + + + + + + +## Enum: BankFeedStatementTransactions.transaction_type + + +* `CREDIT` (value: `'credit'`) + +* `DEBIT` (value: `'debit'`) + +* `DEPOSIT` (value: `'deposit'`) + +* `TRANSFER` (value: `'transfer'`) + +* `PAYMENT` (value: `'payment'`) + +* `OTHER` (value: `'other'`) + + + + +## Referenced Types: + + +* [`CreditOrDebit`](CreditOrDebit.md) + + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Bill.md b/src/gen/docs/models/Bill.md index b156a8334e..ae72b6e12a 100644 --- a/src/gen/docs/models/Bill.md +++ b/src/gen/docs/models/Bill.md @@ -43,7 +43,7 @@ Name | Type | Description | Notes `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] `accounting_period` | **string** | Accounting period | [optional] diff --git a/src/gen/docs/models/BillPayment.md b/src/gen/docs/models/BillPayment.md index fb49ee455d..0c473e2311 100644 --- a/src/gen/docs/models/BillPayment.md +++ b/src/gen/docs/models/BillPayment.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `display_id` | **string** | Id to be displayed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] diff --git a/src/gen/docs/models/Collection.md b/src/gen/docs/models/Collection.md index ca3942734f..21c8a21f0f 100644 --- a/src/gen/docs/models/Collection.md +++ b/src/gen/docs/models/Collection.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `type` | **string** | The collections's type | [optional] `name` | **string** | Name of the collection | [optional] `description` | **string** | Description of the collection | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] diff --git a/src/gen/docs/models/CollectionTag.md b/src/gen/docs/models/CollectionTag.md index 885f0270e6..de20b959bc 100644 --- a/src/gen/docs/models/CollectionTag.md +++ b/src/gen/docs/models/CollectionTag.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | `name` | **string** | The name of the tag. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/CollectionTicketComment.md b/src/gen/docs/models/CollectionTicketComment.md index 519a5b2169..464d11b794 100644 --- a/src/gen/docs/models/CollectionTicketComment.md +++ b/src/gen/docs/models/CollectionTicketComment.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] `body` | **string** | Body of the comment | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] diff --git a/src/gen/docs/models/CollectionUser.md b/src/gen/docs/models/CollectionUser.md index de7f227a75..5e75d9e033 100644 --- a/src/gen/docs/models/CollectionUser.md +++ b/src/gen/docs/models/CollectionUser.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes `last_name` | **string** | Last name of the user | [optional] `email` | **string** | Email address of the user | [optional] `photo_url` | **string** | The URL of the photo of a person. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] diff --git a/src/gen/docs/models/Company.md b/src/gen/docs/models/Company.md index 8d0658bec7..417b024a82 100644 --- a/src/gen/docs/models/Company.md +++ b/src/gen/docs/models/Company.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `deleted` | **bool** | Whether the company is deleted or not | [optional] `salutation` | **string** | A formal salutation for the person. For example, 'Mr', 'Mrs' | [optional] `birthday` | **\DateTime** | The date of birth of the person. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | Updated by user ID | [optional] `created_by` | **string** | Created by user ID | [optional] `updated_at` | **\DateTime** | Last updated date | [optional] diff --git a/src/gen/docs/models/CompanyInfo.md b/src/gen/docs/models/CompanyInfo.md index 305a8d70f4..83ffbbc932 100644 --- a/src/gen/docs/models/CompanyInfo.md +++ b/src/gen/docs/models/CompanyInfo.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes `addresses` | [**\Apideck\Client\Model\Address[]**](Address.md) | | [optional] `phone_numbers` | [**\Apideck\Client\Model\PhoneNumber[]**](PhoneNumber.md) | | [optional] `emails` | [**\Apideck\Client\Model\Email[]**](Email.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/Contact.md b/src/gen/docs/models/Contact.md index e906d50ac2..1cc011b9bb 100644 --- a/src/gen/docs/models/Contact.md +++ b/src/gen/docs/models/Contact.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `first_call_at` | **\DateTime** | The first call date of the contact. | [optional] `first_email_at` | **\DateTime** | The first email date of the contact. | [optional] `last_activity_at` | **\DateTime** | The last activity date of the contact. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **\DateTime** | The last update date of the contact. | [optional] `created_at` | **\DateTime** | The creation date of the contact. | [optional] `opportunity_ids` | **string[]** | The opportunity ids of the contact. | [optional] diff --git a/src/gen/docs/models/CreateBankFeedAccountResponse.md b/src/gen/docs/models/CreateBankFeedAccountResponse.md new file mode 100644 index 0000000000..4b3d30ba15 --- /dev/null +++ b/src/gen/docs/models/CreateBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreateBankFeedStatementResponse.md b/src/gen/docs/models/CreateBankFeedStatementResponse.md new file mode 100644 index 0000000000..f84eb8de1e --- /dev/null +++ b/src/gen/docs/models/CreateBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreateCustomObjectResponse.md b/src/gen/docs/models/CreateCustomObjectResponse.md new file mode 100644 index 0000000000..2c1b2978e8 --- /dev/null +++ b/src/gen/docs/models/CreateCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreateCustomObjectSchemaResponse.md b/src/gen/docs/models/CreateCustomObjectSchemaResponse.md new file mode 100644 index 0000000000..1ad46a6ecf --- /dev/null +++ b/src/gen/docs/models/CreateCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\CustomObjectSchema**](CustomObjectSchema.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreditNote.md b/src/gen/docs/models/CreditNote.md index 24c1ae78c5..7238a5222a 100644 --- a/src/gen/docs/models/CreditNote.md +++ b/src/gen/docs/models/CreditNote.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `billing_address` | [**\Apideck\Client\Model\Address**](Address.md) | | [optional] `shipping_address` | [**\Apideck\Client\Model\Address**](Address.md) | | [optional] `tracking_categories` | [**\Apideck\Client\Model\LinkedTrackingCategory[]**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] diff --git a/src/gen/docs/models/CreditOrDebit.md b/src/gen/docs/models/CreditOrDebit.md new file mode 100644 index 0000000000..74844f97cb --- /dev/null +++ b/src/gen/docs/models/CreditOrDebit.md @@ -0,0 +1,15 @@ +# Apideck.CreditOrDebit + +## Enum + + +* `CREDIT` (value: `'credit'`) + +* `DEBIT` (value: `'debit'`) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObject.md b/src/gen/docs/models/CustomObject.md new file mode 100644 index 0000000000..49d8f968a2 --- /dev/null +++ b/src/gen/docs/models/CustomObject.md @@ -0,0 +1,37 @@ +# Apideck.CustomObject + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | The unique identifier of the custom object | [optional] +`owner_id` | **string** | The unique identifier of the owner of the custom object | [optional] +`name` | **string** | The name of the custom object | [optional] +`fields` | [**\Apideck\Client\Model\CustomObjectFields[]**](CustomObjectFields.md) | | [optional] +`updated_by` | **string** | The unique identifier of the user who last updated the custom object | [optional] +`created_by` | **string** | The unique identifier of the user who created the custom object | [optional] +`updated_at` | **string** | The timestamp when the custom object was last updated | [optional] +`created_at` | **string** | The timestamp when the custom object was created | [optional] +`pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] + + + + + +## Referenced Types: + + + +* [`CustomObjectFields`](CustomObjectFields.md) + + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectFields.md b/src/gen/docs/models/CustomObjectFields.md new file mode 100644 index 0000000000..62783c9958 --- /dev/null +++ b/src/gen/docs/models/CustomObjectFields.md @@ -0,0 +1,19 @@ +# Apideck.CustomObjectFields + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`name` | **string** | | [optional] +`value` | **string** | | [optional] + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchema.md b/src/gen/docs/models/CustomObjectSchema.md new file mode 100644 index 0000000000..d393cbb429 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchema.md @@ -0,0 +1,41 @@ +# Apideck.CustomObjectSchema + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | The unique identifier of the custom object schema | [optional] +`name` | **string** | The name of the custom object schema | [optional] +`description` | **string** | The description of the custom object schema | [optional] +`fields` | [**\Apideck\Client\Model\CustomObjectSchemaFields[]**](CustomObjectSchemaFields.md) | The fields defined in the schema | [optional] +`visible` | **bool** | Whether the custom object schema is visible in the UI | [optional] +`active` | **bool** | Whether the custom object schema is active | [optional] +`created_by` | **string** | The ID of the user who created the custom object schema | [optional] +`updated_by` | **string** | The ID of the user who last updated the custom object schema | [optional] +`updated_at` | **string** | The timestamp when the custom object schema was last updated | [optional] +`created_at` | **string** | The timestamp when the custom object schema was created | [optional] +`pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] + + + + + +## Referenced Types: + + + +* [`CustomObjectSchemaFields`](CustomObjectSchemaFields.md) + + + + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchemaFields.md b/src/gen/docs/models/CustomObjectSchemaFields.md new file mode 100644 index 0000000000..a81e665329 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemaFields.md @@ -0,0 +1,64 @@ +# Apideck.CustomObjectSchemaFields + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | | [optional] +`name` | **string** | | [optional] +`description` | **string** | | [optional] +`type` | **string** | | [optional] +`required` | **bool** | | [optional] +`options` | [**\Apideck\Client\Model\CustomObjectSchemaOptions[]**](CustomObjectSchemaOptions.md) | Options for select and multiselect types | [optional] +`default_value` | **string** | Default value for the field | [optional] + + + + + + +## Enum: CustomObjectSchemaFields.type + + +* `STRING` (value: `'string'`) + +* `NUMBER` (value: `'number'`) + +* `INTEGER` (value: `'integer'`) + +* `BOOLEAN` (value: `'boolean'`) + +* `DATE` (value: `'date'`) + +* `DATETIME` (value: `'datetime'`) + +* `CURRENCY` (value: `'currency'`) + +* `EMAIL` (value: `'email'`) + +* `PHONE` (value: `'phone'`) + +* `REFERENCE` (value: `'reference'`) + +* `SELECT` (value: `'select'`) + +* `MULTISELECT` (value: `'multiselect'`) + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchemaOptions`](CustomObjectSchemaOptions.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchemaOptions.md b/src/gen/docs/models/CustomObjectSchemaOptions.md new file mode 100644 index 0000000000..6d2d523b3e --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemaOptions.md @@ -0,0 +1,19 @@ +# Apideck.CustomObjectSchemaOptions + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`value` | **string** | | [optional] +`label` | **string** | | [optional] + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchemasSort.md b/src/gen/docs/models/CustomObjectSchemasSort.md new file mode 100644 index 0000000000..4f39b735e4 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemasSort.md @@ -0,0 +1,36 @@ +# Apideck.CustomObjectSchemasSort + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`by` | **string** | The field on which to sort the Custom Object Schemas | [optional] +`direction` | [**\Apideck\Client\Model\SortDirection**](SortDirection.md) | | [optional] + + + + + + +## Enum: CustomObjectSchemasSort.by + + +* `CREATED_AT` (value: `'created_at'`) + +* `UPDATED_AT` (value: `'updated_at'`) + +* `NAME` (value: `'name'`) + + + + +## Referenced Types: + +* [`SortDirection`](SortDirection.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectsSort.md b/src/gen/docs/models/CustomObjectsSort.md new file mode 100644 index 0000000000..beb77a3edd --- /dev/null +++ b/src/gen/docs/models/CustomObjectsSort.md @@ -0,0 +1,36 @@ +# Apideck.CustomObjectsSort + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`by` | **string** | The field on which to sort the Custom Objects | [optional] +`direction` | [**\Apideck\Client\Model\SortDirection**](SortDirection.md) | | [optional] + + + + + + +## Enum: CustomObjectsSort.by + + +* `CREATED_AT` (value: `'created_at'`) + +* `UPDATED_AT` (value: `'updated_at'`) + +* `NAME` (value: `'name'`) + + + + +## Referenced Types: + +* [`SortDirection`](SortDirection.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Customer.md b/src/gen/docs/models/Customer.md index e3d5abec3a..f397c51551 100644 --- a/src/gen/docs/models/Customer.md +++ b/src/gen/docs/models/Customer.md @@ -33,7 +33,7 @@ Name | Type | Description | Notes `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/DeleteBankFeedAccountResponse.md b/src/gen/docs/models/DeleteBankFeedAccountResponse.md new file mode 100644 index 0000000000..2c5673eea1 --- /dev/null +++ b/src/gen/docs/models/DeleteBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/DeleteBankFeedStatementResponse.md b/src/gen/docs/models/DeleteBankFeedStatementResponse.md new file mode 100644 index 0000000000..db024321bf --- /dev/null +++ b/src/gen/docs/models/DeleteBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/DeleteCustomObjectResponse.md b/src/gen/docs/models/DeleteCustomObjectResponse.md new file mode 100644 index 0000000000..d75e7afc12 --- /dev/null +++ b/src/gen/docs/models/DeleteCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md b/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md new file mode 100644 index 0000000000..082da4d319 --- /dev/null +++ b/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Department.md b/src/gen/docs/models/Department.md index f5bab85879..71d5cfa999 100644 --- a/src/gen/docs/models/Department.md +++ b/src/gen/docs/models/Department.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `name` | **string** | Department name | [optional] `code` | **string** | | [optional] `description` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Drive.md b/src/gen/docs/models/Drive.md index f381ed964e..b29b072034 100644 --- a/src/gen/docs/models/Drive.md +++ b/src/gen/docs/models/Drive.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | `name` | **string** | The name of the drive | `description` | **string** | A description of the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/DriveGroup.md b/src/gen/docs/models/DriveGroup.md index d24d0f56d7..83c0782911 100644 --- a/src/gen/docs/models/DriveGroup.md +++ b/src/gen/docs/models/DriveGroup.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `name` | **string** | The name of the drive group | `display_name` | **string** | The display name of the drive group | [optional] `description` | **string** | A description of the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/EcommerceCustomer.md b/src/gen/docs/models/EcommerceCustomer.md index 372aaced20..5f956bff75 100644 --- a/src/gen/docs/models/EcommerceCustomer.md +++ b/src/gen/docs/models/EcommerceCustomer.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes `phone_numbers` | [**\Apideck\Client\Model\PhoneNumber[]**](PhoneNumber.md) | An array of phone numbers for the customer. | [optional] `addresses` | [**\Apideck\Client\Model\EcommerceCustomerAddresses[]**](EcommerceCustomerAddresses.md) | An array of addresses for the customer. | [optional] `orders` | [**\Apideck\Client\Model\LinkedEcommerceOrder[]**](LinkedEcommerceOrder.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/EcommerceOrder.md b/src/gen/docs/models/EcommerceOrder.md index a789287402..cdf8bb5938 100644 --- a/src/gen/docs/models/EcommerceOrder.md +++ b/src/gen/docs/models/EcommerceOrder.md @@ -26,7 +26,8 @@ Name | Type | Description | Notes `tracking` | [**\Apideck\Client\Model\TrackingItem[]**](TrackingItem.md) | | [optional] `line_items` | [**\Apideck\Client\Model\EcommerceOrderLineItem[]**](EcommerceOrderLineItem.md) | | [optional] `note` | **string** | Note for the order. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`refunds` | [**\Apideck\Client\Model\EcommerceOrderRefund[]**](EcommerceOrderRefund.md) | | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] @@ -98,6 +99,7 @@ Name | Type | Description | Notes * [`TrackingItem`](TrackingItem.md) * [`EcommerceOrderLineItem`](EcommerceOrderLineItem.md) +* [`EcommerceOrderRefund`](EcommerceOrderRefund.md) diff --git a/src/gen/docs/models/EcommerceOrderLineItem.md b/src/gen/docs/models/EcommerceOrderLineItem.md index 7929000945..2b3b2efeba 100644 --- a/src/gen/docs/models/EcommerceOrderLineItem.md +++ b/src/gen/docs/models/EcommerceOrderLineItem.md @@ -9,7 +9,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `name` | **string** | The name of the product or variant associated with the line item. | `quantity` | **string** | The quantity of the product or variant associated with the line item. | -`total_amount` | **string** | The total amount for the product(s) or variant associated with the line item, including taxes and discounts. | `id` | **string** | A unique identifier for an object. | [optional] `product_id` | **string** | A unique identifier for the product associated with the line item. | [optional] `variant_id` | **string** | A unique identifier for the variant of the product associated with the line item, if applicable. | [optional] @@ -23,6 +22,7 @@ Name | Type | Description | Notes `refunded_amount` | **string** | The amount of the line item that has been refunded. | [optional] `refunded_quantity` | **string** | The quantity of the line item that has been refunded. | [optional] `sub_total` | **string** | The sub total for the product(s) or variant associated with the line item, excluding taxes and discounts. | [optional] +`total_amount` | **string** | The total amount for the product(s) or variant associated with the line item, including taxes and discounts. | [optional] `discounts` | [**\Apideck\Client\Model\EcommerceDiscount[]**](EcommerceDiscount.md) | | [optional] diff --git a/src/gen/docs/models/EcommerceOrderRefund.md b/src/gen/docs/models/EcommerceOrderRefund.md new file mode 100644 index 0000000000..95bd55c3f4 --- /dev/null +++ b/src/gen/docs/models/EcommerceOrderRefund.md @@ -0,0 +1,31 @@ +# Apideck.EcommerceOrderRefund + +### Description + +A refund for an ecommerce order. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | [optional] +`amount` | **string** | The amount of the refund. | [optional] +`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] +`reason` | **string** | The reason for the refund. | [optional] +`created_at` | **\DateTime** | The date and time when the object was created. | [optional] + + + + + +## Referenced Types: + + +* [`Currency`](Currency.md) + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/EcommerceProduct.md b/src/gen/docs/models/EcommerceProduct.md index c4c9bd3b51..90c2d818e2 100644 --- a/src/gen/docs/models/EcommerceProduct.md +++ b/src/gen/docs/models/EcommerceProduct.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `variants` | [**\Apideck\Client\Model\EcommerceProductVariants[]**](EcommerceProductVariants.md) | | [optional] `tags` | **string[]** | An array of tags for the product, used for organization and searching. | [optional] `categories` | [**\Apideck\Client\Model\EcommerceProductCategories[]**](EcommerceProductCategories.md) | An array of categories for the product, used for organization and searching. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/EcommerceStore.md b/src/gen/docs/models/EcommerceStore.md index 76aef8aee5..400183a9b8 100644 --- a/src/gen/docs/models/EcommerceStore.md +++ b/src/gen/docs/models/EcommerceStore.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `name` | **string** | The store's name | [optional] `store_url` | **string** | The store's website URL | [optional] `admin_url` | **string** | The store's admin login URL | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Employee.md b/src/gen/docs/models/Employee.md index ce93f50c7e..550bed39f1 100644 --- a/src/gen/docs/models/Employee.md +++ b/src/gen/docs/models/Employee.md @@ -64,7 +64,7 @@ Name | Type | Description | Notes `food_allergies` | **string[]** | Indicate the employee's food allergies. | [optional] `probation_period` | [**\Apideck\Client\Model\ProbationPeriod**](ProbationPeriod.md) | | [optional] `tags` | **string[]** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] diff --git a/src/gen/docs/models/EmployeesFilter.md b/src/gen/docs/models/EmployeesFilter.md index b32b80985b..34f4e8f170 100644 --- a/src/gen/docs/models/EmployeesFilter.md +++ b/src/gen/docs/models/EmployeesFilter.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes `employee_number` | **string** | Employee number to filter on | [optional] `department_id` | **string** | ID of the department to filter on | [optional] `city` | **string** | City to filter on | [optional] +`country` | **string** | Country to filter on | [optional] diff --git a/src/gen/docs/models/Expense.md b/src/gen/docs/models/Expense.md index 1a16554d4d..dc4f31722b 100644 --- a/src/gen/docs/models/Expense.md +++ b/src/gen/docs/models/Expense.md @@ -22,10 +22,12 @@ Name | Type | Description | Notes `tax_rate` | [**\Apideck\Client\Model\LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `total_amount` | **float** | The total amount of the expense line item. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +`updated_by` | **string** | The user who last updated the object. | [optional] +`created_by` | **string** | The user who created the object. | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] @@ -80,6 +82,8 @@ Name | Type | Description | Notes + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/ExpenseLineItem.md b/src/gen/docs/models/ExpenseLineItem.md index f549c79ab0..e58b5aabfd 100644 --- a/src/gen/docs/models/ExpenseLineItem.md +++ b/src/gen/docs/models/ExpenseLineItem.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes `tax_rate` | [**\Apideck\Client\Model\LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `description` | **string** | The expense line item description | [optional] `billable` | **bool** | Boolean that indicates if the line item is billable or not. | [optional] +`line_number` | **int** | Line number of the resource | [optional] @@ -34,6 +35,7 @@ Name | Type | Description | Notes + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Folder.md b/src/gen/docs/models/Folder.md index 50b7fbc674..7abe9ff447 100644 --- a/src/gen/docs/models/Folder.md +++ b/src/gen/docs/models/Folder.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `size` | **int** | The size of the folder in bytes | [optional] `owner` | [**\Apideck\Client\Model\Owner**](Owner.md) | | [optional] `parent_folders_complete` | **bool** | Whether the list of parent folder is complete. Some connectors only return the direct parent of a folder | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/GetBankFeedAccountResponse.md b/src/gen/docs/models/GetBankFeedAccountResponse.md new file mode 100644 index 0000000000..cad7614d44 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\BankFeedAccount**](BankFeedAccount.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedAccount`](BankFeedAccount.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetBankFeedAccountsResponse.md b/src/gen/docs/models/GetBankFeedAccountsResponse.md new file mode 100644 index 0000000000..f11e722384 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedAccountsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetBankFeedAccountsResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\BankFeedAccount[]**](BankFeedAccount.md) | | +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedAccount`](BankFeedAccount.md) +* [`Meta`](Meta.md) +* [`Links`](Links.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetBankFeedStatementResponse.md b/src/gen/docs/models/GetBankFeedStatementResponse.md new file mode 100644 index 0000000000..eb92356757 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\BankFeedStatement**](BankFeedStatement.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedStatement`](BankFeedStatement.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetBankFeedStatementsResponse.md b/src/gen/docs/models/GetBankFeedStatementsResponse.md new file mode 100644 index 0000000000..636e70fdd1 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedStatementsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetBankFeedStatementsResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\BankFeedStatement[]**](BankFeedStatement.md) | | +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedStatement`](BankFeedStatement.md) +* [`Meta`](Meta.md) +* [`Links`](Links.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectResponse.md b/src/gen/docs/models/GetCustomObjectResponse.md new file mode 100644 index 0000000000..ea979bb9ac --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\CustomObject**](CustomObject.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObject`](CustomObject.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectSchemaResponse.md b/src/gen/docs/models/GetCustomObjectSchemaResponse.md new file mode 100644 index 0000000000..9d0334b8cf --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\CustomObjectSchema**](CustomObjectSchema.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectSchemasResponse.md b/src/gen/docs/models/GetCustomObjectSchemasResponse.md new file mode 100644 index 0000000000..cc4d3eef0b --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectSchemasResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetCustomObjectSchemasResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\CustomObjectSchema[]**](CustomObjectSchema.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.md) + +* [`Meta`](Meta.md) +* [`Links`](Links.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectsResponse.md b/src/gen/docs/models/GetCustomObjectsResponse.md new file mode 100644 index 0000000000..23ccef8842 --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetCustomObjectsResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\CustomObject[]**](CustomObject.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObject`](CustomObject.md) + +* [`Meta`](Meta.md) +* [`Links`](Links.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/HrisCompany.md b/src/gen/docs/models/HrisCompany.md index 968c82fcab..8e7d52fb8a 100644 --- a/src/gen/docs/models/HrisCompany.md +++ b/src/gen/docs/models/HrisCompany.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes `emails` | [**\Apideck\Client\Model\Email[]**](Email.md) | | [optional] `websites` | [**\Apideck\Client\Model\Website[]**](Website.md) | | [optional] `debtor_id` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `deleted` | **bool** | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/HrisJob.md b/src/gen/docs/models/HrisJob.md index 04bebd53b2..f37929288c 100644 --- a/src/gen/docs/models/HrisJob.md +++ b/src/gen/docs/models/HrisJob.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `department` | **string** | Department name | [optional] `is_primary` | **bool** | Indicates whether this the employee's primary job. | [optional] `location` | [**\Apideck\Client\Model\HrisJobLocation**](HrisJobLocation.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/Invoice.md b/src/gen/docs/models/Invoice.md index 727196a68c..2a0d1ec06e 100644 --- a/src/gen/docs/models/Invoice.md +++ b/src/gen/docs/models/Invoice.md @@ -37,13 +37,14 @@ Name | Type | Description | Notes `shipping_address` | [**\Apideck\Client\Model\Address**](Address.md) | | [optional] `template_id` | **string** | Optional invoice template | [optional] `source_document_url` | **string** | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | [optional] +`payment_allocations` | [**\Apideck\Client\Model\InvoicePaymentAllocations[]**](InvoicePaymentAllocations.md) | IDs of payments made on the invoice | [optional] `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] `language` | **string** | language code according to ISO 639-1. For the United States - EN | [optional] `accounting_by_row` | **bool** | Indicates if accounting by row is used (true) or not (false). Accounting by row means that a separate ledger transaction is created for each row. | [optional] `bank_account` | [**\Apideck\Client\Model\BankAccount**](BankAccount.md) | | [optional] `ledger_account` | [**\Apideck\Client\Model\LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] @@ -131,6 +132,7 @@ Name | Type | Description | Notes * [`Address`](Address.md) +* [`InvoicePaymentAllocations`](InvoicePaymentAllocations.md) diff --git a/src/gen/docs/models/InvoiceItem.md b/src/gen/docs/models/InvoiceItem.md index 961576679c..71ce06bc07 100644 --- a/src/gen/docs/models/InvoiceItem.md +++ b/src/gen/docs/models/InvoiceItem.md @@ -29,7 +29,7 @@ Name | Type | Description | Notes `location_id` | **string** | The ID of the location | [optional] `subsidiary_id` | **string** | The ID of the subsidiary | [optional] `tax_schedule_id` | **string** | The ID of the tax schedule | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/InvoiceLineItem.md b/src/gen/docs/models/InvoiceLineItem.md index a70e244849..02a7e6aa3a 100644 --- a/src/gen/docs/models/InvoiceLineItem.md +++ b/src/gen/docs/models/InvoiceLineItem.md @@ -47,6 +47,8 @@ Name | Type | Description | Notes * `SUB_TOTAL` (value: `'sub_total'`) +* `SERVICE` (value: `'service'`) + * `OTHER` (value: `'other'`) diff --git a/src/gen/docs/models/InvoicePaymentAllocations.md b/src/gen/docs/models/InvoicePaymentAllocations.md new file mode 100644 index 0000000000..cb22905803 --- /dev/null +++ b/src/gen/docs/models/InvoicePaymentAllocations.md @@ -0,0 +1,20 @@ +# Apideck.InvoicePaymentAllocations + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | ID of the payment | [optional] +`allocated_amount` | **float** | Amount of the payment allocated to the invoice | [optional] +`date` | **\DateTime** | Date of the payment | [optional] + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Item.md b/src/gen/docs/models/Item.md index 6a272ec6d3..71b530c91a 100644 --- a/src/gen/docs/models/Item.md +++ b/src/gen/docs/models/Item.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `available` | **bool** | | [optional] `hidden` | **bool** | | [optional] `version` | **string** | The user who last updated the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/Job.md b/src/gen/docs/models/Job.md index 1128466a79..a7a31068f0 100644 --- a/src/gen/docs/models/Job.md +++ b/src/gen/docs/models/Job.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `owner_id` | **string** | | [optional] `published_at` | **\DateTime** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/JournalEntry.md b/src/gen/docs/models/JournalEntry.md index 9e721d3c09..2fcc9147b3 100644 --- a/src/gen/docs/models/JournalEntry.md +++ b/src/gen/docs/models/JournalEntry.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] `company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] `line_items` | [**\Apideck\Client\Model\JournalEntryLineItem[]**](JournalEntryLineItem.md) | Requires a minimum of 2 line items that sum to 0 | [optional] +`status` | **string** | Journal entry status | [optional] `memo` | **string** | Reference for the journal entry. | [optional] `posted_at` | **\DateTime** | This is the date on which the journal entry was added. This can be different from the creation date and can also be backdated. | [optional] `journal_symbol` | **string** | Journal symbol of the entry. For example IND for indirect costs | [optional] @@ -19,7 +20,7 @@ Name | Type | Description | Notes `number` | **string** | Journal entry number. | [optional] `tracking_categories` | [**\Apideck\Client\Model\LinkedTrackingCategory[]**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] `accounting_period` | **string** | Accounting period | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] @@ -32,6 +33,27 @@ Name | Type | Description | Notes + +## Enum: JournalEntry.status + + +* `DRAFT` (value: `'draft'`) + +* `PENDING_APPROVAL` (value: `'pending_approval'`) + +* `APPROVED` (value: `'approved'`) + +* `POSTED` (value: `'posted'`) + +* `VOIDED` (value: `'voided'`) + +* `REJECTED` (value: `'rejected'`) + +* `DELETED` (value: `'deleted'`) + + + + ## Referenced Types: @@ -45,6 +67,7 @@ Name | Type | Description | Notes + * [`LinkedTrackingCategory`](LinkedTrackingCategory.md) diff --git a/src/gen/docs/models/Lead.md b/src/gen/docs/models/Lead.md index d6006ef4ac..ec14fed206 100644 --- a/src/gen/docs/models/Lead.md +++ b/src/gen/docs/models/Lead.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `name` | **string** | Full name of the lead. | -`company_name` | **string** | The name of the company the lead is associated with. | `id` | **string** | Unique identifier for the contact. | [optional] +`company_name` | **string** | The name of the company the lead is associated with. | [optional] `owner_id` | **string** | The owner of the lead. | [optional] `owner_name` | **string** | The name of the owner of the lead. | [optional] `company_id` | **string** | The company the lead is associated with. | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes `emails` | [**\Apideck\Client\Model\Email[]**](Email.md) | | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `tags` | **string[]** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **string** | Date updated in ISO 8601 format | [optional] `created_at` | **string** | Date created in ISO 8601 format | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] diff --git a/src/gen/docs/models/LedgerAccount.md b/src/gen/docs/models/LedgerAccount.md index d3dab57b74..160e4c0f64 100644 --- a/src/gen/docs/models/LedgerAccount.md +++ b/src/gen/docs/models/LedgerAccount.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `sub_accounts` | **object[]** | The sub accounts of the account. | [optional] `last_reconciliation_date` | **\DateTime** | Reconciliation Date means the last calendar day of each Reconciliation Period. | [optional] `subsidiaries` | **object[]** | The subsidiaries the account belongs to. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] diff --git a/src/gen/docs/models/Location.md b/src/gen/docs/models/Location.md index 68fa17bfef..8d42bac9d1 100644 --- a/src/gen/docs/models/Location.md +++ b/src/gen/docs/models/Location.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes `status` | **string** | Status of this location. | [optional] `merchant_id` | **string** | | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Merchant.md b/src/gen/docs/models/Merchant.md index d810ffdf31..0e929c666b 100644 --- a/src/gen/docs/models/Merchant.md +++ b/src/gen/docs/models/Merchant.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `service_charges` | [**\Apideck\Client\Model\ServiceCharge[]**](ServiceCharge.md) | | [optional] `language` | **string** | language code according to ISO 639-1. For the United States - EN | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Message.md b/src/gen/docs/models/Message.md index 2a69f7fe7d..42e9dbf5fc 100644 --- a/src/gen/docs/models/Message.md +++ b/src/gen/docs/models/Message.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes `price` | [**\Apideck\Client\Model\Price**](Price.md) | | [optional] `error` | [**\Apideck\Client\Model\Error**](Error.md) | | [optional] `messaging_service_id` | **string** | The ID of the Messaging Service used with the message. In case of Plivo this links to the Powerpack ID. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Modifier.md b/src/gen/docs/models/Modifier.md index 85c31b673e..899592cc7a 100644 --- a/src/gen/docs/models/Modifier.md +++ b/src/gen/docs/models/Modifier.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `price_amount` | **float** | | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] `available` | **bool** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/ModifierGroup.md b/src/gen/docs/models/ModifierGroup.md index cbc5da9a82..5c33923786 100644 --- a/src/gen/docs/models/ModifierGroup.md +++ b/src/gen/docs/models/ModifierGroup.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `present_at_all_locations` | **bool** | | [optional] `modifiers` | **object[]** | | [optional] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/Note.md b/src/gen/docs/models/Note.md index 39e1614dea..68dfa2e0f1 100644 --- a/src/gen/docs/models/Note.md +++ b/src/gen/docs/models/Note.md @@ -12,9 +12,10 @@ Name | Type | Description | Notes `contact_id` | **string** | The contact that is related to the note. | [optional] `company_id` | **string** | The company that is related to the note. | [optional] `opportunity_id` | **string** | The opportunity that is related to the note. | [optional] +`activity_id` | **string** | The activity that is related to the note. | [optional] `lead_id` | **string** | The lead that is related to the note. | [optional] `active` | **bool** | Whether the Note is active or not. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user that last updated the note. | [optional] `created_by` | **string** | The user that created the note. | [optional] `updated_at` | **string** | The timestamp when the note was last updated | [optional] diff --git a/src/gen/docs/models/Offer.md b/src/gen/docs/models/Offer.md index 3aa358fcbe..876a337ac5 100644 --- a/src/gen/docs/models/Offer.md +++ b/src/gen/docs/models/Offer.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] `application_id` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Opportunity.md b/src/gen/docs/models/Opportunity.md index 3f86edf253..100e5e6d2b 100644 --- a/src/gen/docs/models/Opportunity.md +++ b/src/gen/docs/models/Opportunity.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `date_stage_changed` | **\DateTime** | The date and time when the stage of the opportunity was last changed. | [optional] `date_last_contacted` | **\DateTime** | The date and time when the opportunity was last contacted. | [optional] `date_lead_created` | **\DateTime** | The date and time when the lead associated with the opportunity was created. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The unique identifier of the user who last updated the opportunity. | [optional] `created_by` | **string** | The unique identifier of the user who created the opportunity. | [optional] `updated_at` | **\DateTime** | The date and time when the opportunity was last updated. | [optional] diff --git a/src/gen/docs/models/Order.md b/src/gen/docs/models/Order.md index 30a67745db..d7b5d8b86e 100644 --- a/src/gen/docs/models/Order.md +++ b/src/gen/docs/models/Order.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes `source` | **string** | Source of order. Indicates the way that the order was placed. | [optional] `voided` | **bool** | | [optional] `voided_at` | **\DateTime** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `version` | **string** | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/OtherExpenses.md b/src/gen/docs/models/OtherExpenses.md index 55db6dcbdc..f167e5daf3 100644 --- a/src/gen/docs/models/OtherExpenses.md +++ b/src/gen/docs/models/OtherExpenses.md @@ -7,25 +7,25 @@ The other expenses accounts ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`total` | **float** | The aggregated total of all accounts within this category. | `records` | [**AnyOfProfitAndLossSectionProfitAndLossRecord[]**](AnyOfProfitAndLossSectionProfitAndLossRecord.md) | | `id` | **string** | A unique identifier for an object. | [optional] `code` | **string** | The account code of the account | [optional] `title` | **string** | The name of the account. | [optional] `type` | [**\Apideck\Client\Model\ProfitAndLossType**](ProfitAndLossType.md) | | [optional] +`total` | **float** | The aggregated total of all accounts within this category. | [optional] ## Referenced Types: - * [`AnyOfProfitAndLossSectionProfitAndLossRecord`](AnyOfProfitAndLossSectionProfitAndLossRecord.md) * [`ProfitAndLossType`](ProfitAndLossType.md) + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/OtherIncome.md b/src/gen/docs/models/OtherIncome.md index 3caf4c1f73..9d6b131226 100644 --- a/src/gen/docs/models/OtherIncome.md +++ b/src/gen/docs/models/OtherIncome.md @@ -7,25 +7,25 @@ The other income accounts ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`total` | **float** | The aggregated total of all accounts within this category. | `records` | [**AnyOfProfitAndLossSectionProfitAndLossRecord[]**](AnyOfProfitAndLossSectionProfitAndLossRecord.md) | | `id` | **string** | A unique identifier for an object. | [optional] `code` | **string** | The account code of the account | [optional] `title` | **string** | The name of the account. | [optional] `type` | [**\Apideck\Client\Model\ProfitAndLossType**](ProfitAndLossType.md) | | [optional] +`total` | **float** | The aggregated total of all accounts within this category. | [optional] ## Referenced Types: - * [`AnyOfProfitAndLossSectionProfitAndLossRecord`](AnyOfProfitAndLossSectionProfitAndLossRecord.md) * [`ProfitAndLossType`](ProfitAndLossType.md) + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Payment.md b/src/gen/docs/models/Payment.md index 865568ba26..0bd56e3525 100644 --- a/src/gen/docs/models/Payment.md +++ b/src/gen/docs/models/Payment.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `display_id` | **string** | Id to be displayed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] diff --git a/src/gen/docs/models/PaymentsFilter.md b/src/gen/docs/models/PaymentsFilter.md index 4bf9047abd..23fd02ccdb 100644 --- a/src/gen/docs/models/PaymentsFilter.md +++ b/src/gen/docs/models/PaymentsFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `updated_since` | **\DateTime** | | [optional] +`invoice_id` | **string** | | [optional] diff --git a/src/gen/docs/models/Payroll.md b/src/gen/docs/models/Payroll.md index f79db367c9..a12d6e55fe 100644 --- a/src/gen/docs/models/Payroll.md +++ b/src/gen/docs/models/Payroll.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `processed_date` | **string** | The date the payroll was processed. | [optional] `totals` | [**\Apideck\Client\Model\PayrollTotals**](PayrollTotals.md) | | [optional] `compensations` | [**\Apideck\Client\Model\Compensation[]**](Compensation.md) | An array of compensations for the payroll. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/Person.md b/src/gen/docs/models/Person.md index 1154fd1b7e..48b23e47a1 100644 --- a/src/gen/docs/models/Person.md +++ b/src/gen/docs/models/Person.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `initials` | **string** | Initials of the person | [optional] `birthday` | **\DateTime** | Date of birth | [optional] `deceased_on` | **\DateTime** | Date of death | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/PosPayment.md b/src/gen/docs/models/PosPayment.md index 3a57c7af93..46d33c8a00 100644 --- a/src/gen/docs/models/PosPayment.md +++ b/src/gen/docs/models/PosPayment.md @@ -34,7 +34,7 @@ Name | Type | Description | Notes `wallet` | [**\Apideck\Client\Model\WalletDetails**](WalletDetails.md) | | [optional] `external_details` | [**\Apideck\Client\Model\PosPaymentExternalDetails**](PosPaymentExternalDetails.md) | | [optional] `service_charges` | [**\Apideck\Client\Model\ServiceCharge[]**](ServiceCharge.md) | Optional service charges or gratuity tip applied to the order. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/ProfitAndLoss.md b/src/gen/docs/models/ProfitAndLoss.md index 596af35ecb..34fa07643a 100644 --- a/src/gen/docs/models/ProfitAndLoss.md +++ b/src/gen/docs/models/ProfitAndLoss.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `gross_profit` | [**\Apideck\Client\Model\ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] `net_operating_income` | [**\Apideck\Client\Model\ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] `net_income` | [**\Apideck\Client\Model\ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `customer` | **string** | The customer id | [optional] diff --git a/src/gen/docs/models/PurchaseOrder.md b/src/gen/docs/models/PurchaseOrder.md index a9607a44cf..4fc708f717 100644 --- a/src/gen/docs/models/PurchaseOrder.md +++ b/src/gen/docs/models/PurchaseOrder.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes `po_number` | **string** | A PO Number uniquely identifies a purchase order and is generally defined by the buyer. | [optional] `reference` | **string** | Optional purchase order reference. | [optional] `supplier` | [**\Apideck\Client\Model\LinkedSupplier**](LinkedSupplier.md) | | [optional] +`subsidiary_id` | **string** | The ID of the subsidiary | [optional] `company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] `status` | **string** | | [optional] `issued_date` | **\DateTime** | Date purchase order was issued - YYYY-MM-DD. | [optional] @@ -34,7 +35,7 @@ Name | Type | Description | Notes `channel` | **string** | The channel through which the transaction is processed. | [optional] `memo` | **string** | Message for the supplier. This text appears on the Purchase Order. | [optional] `tracking_categories` | [**\Apideck\Client\Model\LinkedTrackingCategory[]**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] @@ -77,6 +78,7 @@ Name | Type | Description | Notes + * [`Currency`](Currency.md) diff --git a/src/gen/docs/models/Subsidiary.md b/src/gen/docs/models/Subsidiary.md index c55d14b35f..7ba0ce1bb9 100644 --- a/src/gen/docs/models/Subsidiary.md +++ b/src/gen/docs/models/Subsidiary.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `parent_id` | **string** | A unique identifier for an object. | [optional] `name` | **string** | The name of the company. | [optional] `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/Supplier.md b/src/gen/docs/models/Supplier.md index 77ef1264b7..0525335b05 100644 --- a/src/gen/docs/models/Supplier.md +++ b/src/gen/docs/models/Supplier.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes `status` | **string** | Supplier status | [optional] `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/TaxRate.md b/src/gen/docs/models/TaxRate.md index 5c2c9b774f..e876afe0ed 100644 --- a/src/gen/docs/models/TaxRate.md +++ b/src/gen/docs/models/TaxRate.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes `report_tax_type` | **string** | Report Tax type to aggregate tax collected or paid for reporting purposes | [optional] `original_tax_rate_id` | **string** | ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities. | [optional] `status` | **string** | Tax rate status | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/Tender.md b/src/gen/docs/models/Tender.md index 6c3360bc97..58550c1f58 100644 --- a/src/gen/docs/models/Tender.md +++ b/src/gen/docs/models/Tender.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `editable` | **bool** | | [optional] `opens_cash_drawer` | **bool** | If this tender opens the cash drawer | [optional] `allows_tipping` | **bool** | Allow tipping on payment from tender | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Ticket.md b/src/gen/docs/models/Ticket.md index 1e9fcb9ec1..2a69b8d991 100644 --- a/src/gen/docs/models/Ticket.md +++ b/src/gen/docs/models/Ticket.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes `due_date` | **\DateTime** | Due date of the ticket | [optional] `completed_at` | **\DateTime** | When the ticket was completed | [optional] `tags` | [**\Apideck\Client\Model\CollectionTag[]**](CollectionTag.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] diff --git a/src/gen/docs/models/TimeOffRequest.md b/src/gen/docs/models/TimeOffRequest.md index b15d6d7d72..1e49aeb4d8 100644 --- a/src/gen/docs/models/TimeOffRequest.md +++ b/src/gen/docs/models/TimeOffRequest.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `amount` | **float** | The amount of time off requested. | [optional] `day_part` | **string** | The day part of the time off request. | [optional] `notes` | [**\Apideck\Client\Model\TimeOffRequestNotes**](TimeOffRequestNotes.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/TrackingCategory.md b/src/gen/docs/models/TrackingCategory.md index bca775d28f..fb662a8a58 100644 --- a/src/gen/docs/models/TrackingCategory.md +++ b/src/gen/docs/models/TrackingCategory.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `name` | **string** | The name of the tracking category. | [optional] `code` | **string** | The code of the tracking category. | [optional] `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/UnifiedFile.md b/src/gen/docs/models/UnifiedFile.md index ad581b6127..8999047219 100644 --- a/src/gen/docs/models/UnifiedFile.md +++ b/src/gen/docs/models/UnifiedFile.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes `permissions` | [**\Apideck\Client\Model\UnifiedFilePermissions**](UnifiedFilePermissions.md) | | [optional] `exportable` | **bool** | Whether the current file is exportable to other file formats. This property is relevant for proprietary file formats such as Google Docs or Dropbox Paper. | [optional] `export_formats` | **string[]** | The available file formats when exporting this file. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/UpdateBankFeedAccountResponse.md b/src/gen/docs/models/UpdateBankFeedAccountResponse.md new file mode 100644 index 0000000000..e89c1641d1 --- /dev/null +++ b/src/gen/docs/models/UpdateBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/UpdateBankFeedStatementResponse.md b/src/gen/docs/models/UpdateBankFeedStatementResponse.md new file mode 100644 index 0000000000..1b6b39a7ca --- /dev/null +++ b/src/gen/docs/models/UpdateBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/UpdateCustomObjectResponse.md b/src/gen/docs/models/UpdateCustomObjectResponse.md new file mode 100644 index 0000000000..6d32f6ad2b --- /dev/null +++ b/src/gen/docs/models/UpdateCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md b/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md new file mode 100644 index 0000000000..01b8aabbb2 --- /dev/null +++ b/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **int** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/User.md b/src/gen/docs/models/User.md index 4b74682299..0f4c4da87f 100644 --- a/src/gen/docs/models/User.md +++ b/src/gen/docs/models/User.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes `password` | **string** | The password of the user | [optional] `addresses` | [**\Apideck\Client\Model\Address[]**](Address.md) | | [optional] `phone_numbers` | [**\Apideck\Client\Model\PhoneNumber[]**](PhoneNumber.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **string** | The date and time when the user was last updated. | [optional] `created_at` | **string** | The date and time when the user was created. | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] diff --git a/src/gen/lib/Api/AccountingApi.php b/src/gen/lib/Api/AccountingApi.php index 7445773619..528b84b4c4 100644 --- a/src/gen/lib/Api/AccountingApi.php +++ b/src/gen/lib/Api/AccountingApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -4129,6 +4129,5262 @@ public function balanceSheetOneRequest($x_apideck_consumer_id = null, $x_apideck ); } + /** + * Operation bankFeedAccountsAdd + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account bank_feed_account (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\CreateBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedAccountsAdd($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->bankFeedAccountsAddWithHttpInfo($bank_feed_account, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation bankFeedAccountsAddWithHttpInfo + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\CreateBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedAccountsAddWithHttpInfo($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->bankFeedAccountsAddRequest($bank_feed_account, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 201: + if ('\Apideck\Client\Model\CreateBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateBankFeedAccountResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\CreateBankFeedAccountResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 201: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\CreateBankFeedAccountResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedAccountsAddAsync + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsAddAsync($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->bankFeedAccountsAddAsyncWithHttpInfo($bank_feed_account, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsAddAsyncWithHttpInfo + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsAddAsyncWithHttpInfo($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateBankFeedAccountResponse'; + $request = $this->bankFeedAccountsAddRequest($bank_feed_account, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedAccountsAdd' + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedAccountsAddRequest($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'bank_feed_account' is set + if ($bank_feed_account === null || (is_array($bank_feed_account) && count($bank_feed_account) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_account when calling bankFeedAccountsAdd' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($bank_feed_account)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_account)); + } else { + $httpBody = $bank_feed_account; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'POST', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedAccountsAll + * + * List Bank Feed Accounts + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetBankFeedAccountsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedAccountsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + list($response) = $this->bankFeedAccountsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + return $response; + } + + /** + * Operation bankFeedAccountsAllWithHttpInfo + * + * List Bank Feed Accounts + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetBankFeedAccountsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $request = $this->bankFeedAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetBankFeedAccountsResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedAccountsResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetBankFeedAccountsResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetBankFeedAccountsResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedAccountsAllAsync + * + * List Bank Feed Accounts + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + return $this->bankFeedAccountsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsAllAsyncWithHttpInfo + * + * List Bank Feed Accounts + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedAccountsResponse'; + $request = $this->bankFeedAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedAccountsAll' + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedAccountsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedAccountsAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedAccountsAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/accounting/bank-feed-accounts'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + // query params + + if ('raw' === 'cursor') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor ? 'true' : 'false'; + } + } + + + if ($cursor !== null && 'sort' === 'cursor') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($cursor !== null && 'filter' === 'cursor') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($cursor !== null && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor; + } + } + // query params + + if ('raw' === 'limit') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit ? 'true' : 'false'; + } + } + + + if ($limit !== null && 'sort' === 'limit') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($limit !== null && 'filter' === 'limit') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($limit !== null && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // query params + + if ('raw' === 'pass_through') { + // Support for raw as true/false parameter + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through ? 'true' : 'false'; + } + } + + + if ($pass_through !== null && 'sort' === 'pass_through') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'filter' === 'pass_through') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'pass_through' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through; + } + } + // query params + + if ('raw' === 'fields') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields ? 'true' : 'false'; + } + } + + + if ($fields !== null && 'sort' === 'fields') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($fields !== null && 'filter' === 'fields') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($fields !== null && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedAccountsDelete + * + * Delete Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\DeleteBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedAccountsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedAccountsDeleteWithHttpInfo + * + * Delete Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\DeleteBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedAccountsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\DeleteBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteBankFeedAccountResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\DeleteBankFeedAccountResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\DeleteBankFeedAccountResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedAccountsDeleteAsync + * + * Delete Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsDeleteAsyncWithHttpInfo + * + * Delete Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteBankFeedAccountResponse'; + $request = $this->bankFeedAccountsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedAccountsDelete' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedAccountsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling bankFeedAccountsDelete' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'DELETE', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedAccountsOne + * + * Get Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedAccountsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + list($response) = $this->bankFeedAccountsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + return $response; + } + + /** + * Operation bankFeedAccountsOneWithHttpInfo + * + * Get Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $request = $this->bankFeedAccountsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedAccountResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetBankFeedAccountResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetBankFeedAccountResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedAccountsOneAsync + * + * Get Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + return $this->bankFeedAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsOneAsyncWithHttpInfo + * + * Get Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedAccountResponse'; + $request = $this->bankFeedAccountsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedAccountsOne' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedAccountsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling bankFeedAccountsOne' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + // query params + + if ('raw' === 'fields') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields ? 'true' : 'false'; + } + } + + + if ($fields !== null && 'sort' === 'fields') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($fields !== null && 'filter' === 'fields') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($fields !== null && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedAccountsUpdate + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account bank_feed_account (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\UpdateBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedAccountsUpdate($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedAccountsUpdateWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedAccountsUpdateWithHttpInfo + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\UpdateBankFeedAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedAccountsUpdateWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedAccountsUpdateRequest($id, $bank_feed_account, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\UpdateBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateBankFeedAccountResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\UpdateBankFeedAccountResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UpdateBankFeedAccountResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedAccountsUpdateAsync + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsUpdateAsync($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedAccountsUpdateAsyncWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsUpdateAsyncWithHttpInfo + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedAccountsUpdateAsyncWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateBankFeedAccountResponse'; + $request = $this->bankFeedAccountsUpdateRequest($id, $bank_feed_account, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedAccountsUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedAccountsUpdateRequest($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling bankFeedAccountsUpdate' + ); + } + // verify the required parameter 'bank_feed_account' is set + if ($bank_feed_account === null || (is_array($bank_feed_account) && count($bank_feed_account) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_account when calling bankFeedAccountsUpdate' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($bank_feed_account)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_account)); + } else { + $httpBody = $bank_feed_account; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'PATCH', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedStatementsAdd + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement bank_feed_statement (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\CreateBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedStatementsAdd($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->bankFeedStatementsAddWithHttpInfo($bank_feed_statement, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation bankFeedStatementsAddWithHttpInfo + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\CreateBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedStatementsAddWithHttpInfo($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->bankFeedStatementsAddRequest($bank_feed_statement, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 201: + if ('\Apideck\Client\Model\CreateBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateBankFeedStatementResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\CreateBankFeedStatementResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 201: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\CreateBankFeedStatementResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedStatementsAddAsync + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsAddAsync($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->bankFeedStatementsAddAsyncWithHttpInfo($bank_feed_statement, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsAddAsyncWithHttpInfo + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsAddAsyncWithHttpInfo($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateBankFeedStatementResponse'; + $request = $this->bankFeedStatementsAddRequest($bank_feed_statement, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedStatementsAdd' + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedStatementsAddRequest($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'bank_feed_statement' is set + if ($bank_feed_statement === null || (is_array($bank_feed_statement) && count($bank_feed_statement) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_statement when calling bankFeedStatementsAdd' + ); + } + + $resourcePath = '/accounting/bank-feed-statements'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($bank_feed_statement)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_statement)); + } else { + $httpBody = $bank_feed_statement; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'POST', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedStatementsAll + * + * List Bank Feed Statements + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetBankFeedStatementsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedStatementsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + list($response) = $this->bankFeedStatementsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + return $response; + } + + /** + * Operation bankFeedStatementsAllWithHttpInfo + * + * List Bank Feed Statements + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetBankFeedStatementsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedStatementsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $request = $this->bankFeedStatementsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetBankFeedStatementsResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedStatementsResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetBankFeedStatementsResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetBankFeedStatementsResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedStatementsAllAsync + * + * List Bank Feed Statements + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + return $this->bankFeedStatementsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsAllAsyncWithHttpInfo + * + * List Bank Feed Statements + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedStatementsResponse'; + $request = $this->bankFeedStatementsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedStatementsAll' + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedStatementsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedStatementsAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedStatementsAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/accounting/bank-feed-statements'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + // query params + + if ('raw' === 'cursor') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor ? 'true' : 'false'; + } + } + + + if ($cursor !== null && 'sort' === 'cursor') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($cursor !== null && 'filter' === 'cursor') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($cursor !== null && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor; + } + } + // query params + + if ('raw' === 'limit') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit ? 'true' : 'false'; + } + } + + + if ($limit !== null && 'sort' === 'limit') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($limit !== null && 'filter' === 'limit') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($limit !== null && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // query params + + if ('raw' === 'pass_through') { + // Support for raw as true/false parameter + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through ? 'true' : 'false'; + } + } + + + if ($pass_through !== null && 'sort' === 'pass_through') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'filter' === 'pass_through') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'pass_through' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through; + } + } + // query params + + if ('raw' === 'fields') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields ? 'true' : 'false'; + } + } + + + if ($fields !== null && 'sort' === 'fields') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($fields !== null && 'filter' === 'fields') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($fields !== null && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedStatementsDelete + * + * Delete Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\DeleteBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedStatementsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedStatementsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedStatementsDeleteWithHttpInfo + * + * Delete Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\DeleteBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedStatementsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedStatementsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\DeleteBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteBankFeedStatementResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\DeleteBankFeedStatementResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\DeleteBankFeedStatementResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedStatementsDeleteAsync + * + * Delete Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedStatementsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsDeleteAsyncWithHttpInfo + * + * Delete Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteBankFeedStatementResponse'; + $request = $this->bankFeedStatementsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedStatementsDelete' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedStatementsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling bankFeedStatementsDelete' + ); + } + + $resourcePath = '/accounting/bank-feed-statements/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'DELETE', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedStatementsOne + * + * Get Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedStatementsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + list($response) = $this->bankFeedStatementsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + return $response; + } + + /** + * Operation bankFeedStatementsOneWithHttpInfo + * + * Get Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedStatementsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $request = $this->bankFeedStatementsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedStatementResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetBankFeedStatementResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetBankFeedStatementResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedStatementsOneAsync + * + * Get Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + return $this->bankFeedStatementsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsOneAsyncWithHttpInfo + * + * Get Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedStatementResponse'; + $request = $this->bankFeedStatementsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedStatementsOne' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedStatementsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling bankFeedStatementsOne' + ); + } + + $resourcePath = '/accounting/bank-feed-statements/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + // query params + + if ('raw' === 'fields') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields ? 'true' : 'false'; + } + } + + + if ($fields !== null && 'sort' === 'fields') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($fields !== null && 'filter' === 'fields') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($fields !== null && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation bankFeedStatementsUpdate + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement bank_feed_statement (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\UpdateBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function bankFeedStatementsUpdate($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedStatementsUpdateWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedStatementsUpdateWithHttpInfo + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\UpdateBankFeedStatementResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function bankFeedStatementsUpdateWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedStatementsUpdateRequest($id, $bank_feed_statement, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\UpdateBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateBankFeedStatementResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\UpdateBankFeedStatementResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UpdateBankFeedStatementResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation bankFeedStatementsUpdateAsync + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsUpdateAsync($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedStatementsUpdateAsyncWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsUpdateAsyncWithHttpInfo + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function bankFeedStatementsUpdateAsyncWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateBankFeedStatementResponse'; + $request = $this->bankFeedStatementsUpdateRequest($id, $bank_feed_statement, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'bankFeedStatementsUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function bankFeedStatementsUpdateRequest($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling bankFeedStatementsUpdate' + ); + } + // verify the required parameter 'bank_feed_statement' is set + if ($bank_feed_statement === null || (is_array($bank_feed_statement) && count($bank_feed_statement) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_statement when calling bankFeedStatementsUpdate' + ); + } + + $resourcePath = '/accounting/bank-feed-statements/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($bank_feed_statement)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_statement)); + } else { + $httpBody = $bank_feed_statement; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'PATCH', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + /** * Operation billPaymentsAdd * diff --git a/src/gen/lib/Api/AtsApi.php b/src/gen/lib/Api/AtsApi.php index f5f39cccaf..1a2ac08cbd 100644 --- a/src/gen/lib/Api/AtsApi.php +++ b/src/gen/lib/Api/AtsApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/ConnectorApi.php b/src/gen/lib/Api/ConnectorApi.php index f42b6a7551..b508e4a223 100644 --- a/src/gen/lib/Api/ConnectorApi.php +++ b/src/gen/lib/Api/ConnectorApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/CrmApi.php b/src/gen/lib/Api/CrmApi.php index 956c57cc86..09f4080849 100644 --- a/src/gen/lib/Api/CrmApi.php +++ b/src/gen/lib/Api/CrmApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -8357,6 +8357,5204 @@ public function contactsUpdateRequest($id, $contact, $x_apideck_consumer_id = nu ); } + /** + * Operation customObjectSchemasAdd + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema custom_object_schema (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\CreateCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectSchemasAdd($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->customObjectSchemasAddWithHttpInfo($custom_object_schema, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation customObjectSchemasAddWithHttpInfo + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\CreateCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectSchemasAddWithHttpInfo($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->customObjectSchemasAddRequest($custom_object_schema, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 201: + if ('\Apideck\Client\Model\CreateCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateCustomObjectSchemaResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\CreateCustomObjectSchemaResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 201: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\CreateCustomObjectSchemaResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectSchemasAddAsync + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasAddAsync($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->customObjectSchemasAddAsyncWithHttpInfo($custom_object_schema, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasAddAsyncWithHttpInfo + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasAddAsyncWithHttpInfo($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasAddRequest($custom_object_schema, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectSchemasAdd' + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectSchemasAddRequest($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'custom_object_schema' is set + if ($custom_object_schema === null || (is_array($custom_object_schema) && count($custom_object_schema) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object_schema when calling customObjectSchemasAdd' + ); + } + + $resourcePath = '/crm/custom-object-schemas'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($custom_object_schema)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object_schema)); + } else { + $httpBody = $custom_object_schema; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'POST', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectSchemasAll + * + * List custom object schemas + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetCustomObjectSchemasResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectSchemasAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + list($response) = $this->customObjectSchemasAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through); + return $response; + } + + /** + * Operation customObjectSchemasAllWithHttpInfo + * + * List custom object schemas + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetCustomObjectSchemasResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectSchemasAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + $request = $this->customObjectSchemasAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetCustomObjectSchemasResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectSchemasResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetCustomObjectSchemasResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetCustomObjectSchemasResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectSchemasAllAsync + * + * List custom object schemas + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + return $this->customObjectSchemasAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasAllAsyncWithHttpInfo + * + * List custom object schemas + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectSchemasResponse'; + $request = $this->customObjectSchemasAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectSchemasAll' + * + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectSchemasAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectSchemasAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectSchemasAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/crm/custom-object-schemas'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + // query params + + if ('raw' === 'cursor') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor ? 'true' : 'false'; + } + } + + + if ($cursor !== null && 'sort' === 'cursor') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($cursor !== null && 'filter' === 'cursor') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($cursor !== null && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor; + } + } + // query params + + if ('raw' === 'limit') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit ? 'true' : 'false'; + } + } + + + if ($limit !== null && 'sort' === 'limit') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($limit !== null && 'filter' === 'limit') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($limit !== null && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // query params + + if ('raw' === 'pass_through') { + // Support for raw as true/false parameter + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through ? 'true' : 'false'; + } + } + + + if ($pass_through !== null && 'sort' === 'pass_through') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'filter' === 'pass_through') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'pass_through' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectSchemasDelete + * + * Delete custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\DeleteCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectSchemasDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectSchemasDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectSchemasDeleteWithHttpInfo + * + * Delete custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\DeleteCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectSchemasDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectSchemasDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\DeleteCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteCustomObjectSchemaResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\DeleteCustomObjectSchemaResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\DeleteCustomObjectSchemaResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectSchemasDeleteAsync + * + * Delete custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectSchemasDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasDeleteAsyncWithHttpInfo + * + * Delete custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectSchemasDelete' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectSchemasDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling customObjectSchemasDelete' + ); + } + + $resourcePath = '/crm/custom-object-schemas/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'DELETE', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectSchemasOne + * + * Get custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectSchemasOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectSchemasOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectSchemasOneWithHttpInfo + * + * Get custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectSchemasOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectSchemasOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectSchemaResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetCustomObjectSchemaResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetCustomObjectSchemaResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectSchemasOneAsync + * + * Get custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectSchemasOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasOneAsyncWithHttpInfo + * + * Get custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectSchemasOne' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectSchemasOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling customObjectSchemasOne' + ); + } + + $resourcePath = '/crm/custom-object-schemas/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectSchemasUpdate + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema custom_object_schema (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\UpdateCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectSchemasUpdate($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectSchemasUpdateWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectSchemasUpdateWithHttpInfo + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\UpdateCustomObjectSchemaResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectSchemasUpdateWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectSchemasUpdateRequest($id, $custom_object_schema, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\UpdateCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateCustomObjectSchemaResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\UpdateCustomObjectSchemaResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UpdateCustomObjectSchemaResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectSchemasUpdateAsync + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasUpdateAsync($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectSchemasUpdateAsyncWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasUpdateAsyncWithHttpInfo + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasUpdateAsyncWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasUpdateRequest($id, $custom_object_schema, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectSchemasUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectSchemasUpdateRequest($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling customObjectSchemasUpdate' + ); + } + // verify the required parameter 'custom_object_schema' is set + if ($custom_object_schema === null || (is_array($custom_object_schema) && count($custom_object_schema) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object_schema when calling customObjectSchemasUpdate' + ); + } + + $resourcePath = '/crm/custom-object-schemas/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($custom_object_schema)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object_schema)); + } else { + $httpBody = $custom_object_schema; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'PATCH', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectsAdd + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object custom_object (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\CreateCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectsAdd($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->customObjectsAddWithHttpInfo($object_id, $custom_object, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation customObjectsAddWithHttpInfo + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\CreateCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectsAddWithHttpInfo($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->customObjectsAddRequest($object_id, $custom_object, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 201: + if ('\Apideck\Client\Model\CreateCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateCustomObjectResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\CreateCustomObjectResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 201: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\CreateCustomObjectResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectsAddAsync + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsAddAsync($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->customObjectsAddAsyncWithHttpInfo($object_id, $custom_object, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsAddAsyncWithHttpInfo + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsAddAsyncWithHttpInfo($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateCustomObjectResponse'; + $request = $this->customObjectsAddRequest($object_id, $custom_object, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectsAdd' + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectsAddRequest($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsAdd' + ); + } + // verify the required parameter 'custom_object' is set + if ($custom_object === null || (is_array($custom_object) && count($custom_object) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object when calling customObjectsAdd' + ); + } + + $resourcePath = '/crm/custom-objects/{object_id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($custom_object)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object)); + } else { + $httpBody = $custom_object; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'POST', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectsAll + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetCustomObjectsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectsAll($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + list($response) = $this->customObjectsAllWithHttpInfo($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + return $response; + } + + /** + * Operation customObjectsAllWithHttpInfo + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetCustomObjectsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectsAllWithHttpInfo($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $request = $this->customObjectsAllRequest($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetCustomObjectsResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectsResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetCustomObjectsResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetCustomObjectsResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectsAllAsync + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsAllAsync($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + return $this->customObjectsAllAsyncWithHttpInfo($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsAllAsyncWithHttpInfo + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsAllAsyncWithHttpInfo($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectsResponse'; + $request = $this->customObjectsAllRequest($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectsAll' + * + * @param string $object_id The id of the custom object to query (required) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + * @param string $fields The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectsAllRequest($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsAll' + ); + } + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectsAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectsAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/crm/custom-objects/{object_id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + // query params + + if ('raw' === 'cursor') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor ? 'true' : 'false'; + } + } + + + if ($cursor !== null && 'sort' === 'cursor') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($cursor !== null && 'filter' === 'cursor') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($cursor !== null && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + if('form' === 'form' && is_array($cursor)) { + foreach($cursor as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['cursor'] = $cursor; + } + } + // query params + + if ('raw' === 'limit') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit ? 'true' : 'false'; + } + } + + + if ($limit !== null && 'sort' === 'limit') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($limit !== null && 'filter' === 'limit') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($limit !== null && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // query params + + if ('raw' === 'pass_through') { + // Support for raw as true/false parameter + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through ? 'true' : 'false'; + } + } + + + if ($pass_through !== null && 'sort' === 'pass_through') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'filter' === 'pass_through') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($pass_through !== null && 'pass_through' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through; + } + } + // query params + + if ('raw' === 'fields') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields ? 'true' : 'false'; + } + } + + + if ($fields !== null && 'sort' === 'fields') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($fields !== null && 'filter' === 'fields') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($fields !== null && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + if('form' === 'form' && is_array($fields)) { + foreach($fields as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['fields'] = $fields; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectsDelete + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\DeleteCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectsDelete($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectsDeleteWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectsDeleteWithHttpInfo + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\DeleteCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectsDeleteWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectsDeleteRequest($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\DeleteCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteCustomObjectResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\DeleteCustomObjectResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\DeleteCustomObjectResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectsDeleteAsync + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsDeleteAsync($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectsDeleteAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsDeleteAsyncWithHttpInfo + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsDeleteAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteCustomObjectResponse'; + $request = $this->customObjectsDeleteRequest($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectsDelete' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectsDeleteRequest($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling customObjectsDelete' + ); + } + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsDelete' + ); + } + + $resourcePath = '/crm/custom-objects/{object_id}/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'DELETE', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectsOne + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectsOne($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectsOneWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectsOneWithHttpInfo + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectsOneWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectsOneRequest($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\GetCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\GetCustomObjectResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\GetCustomObjectResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectsOneAsync + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsOneAsync($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectsOneAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsOneAsyncWithHttpInfo + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsOneAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectResponse'; + $request = $this->customObjectsOneRequest($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectsOne' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectsOneRequest($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling customObjectsOne' + ); + } + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsOne' + ); + } + + $resourcePath = '/crm/custom-objects/{object_id}/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation customObjectsUpdate + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object custom_object (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\UpdateCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse + */ + public function customObjectsUpdate($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectsUpdateWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectsUpdateWithHttpInfo + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\UpdateCustomObjectResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function customObjectsUpdateWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectsUpdateRequest($id, $object_id, $custom_object, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Apideck\Client\Model\UpdateCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateCustomObjectResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 401: + if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 402: + if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 404: + if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 422: + if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + default: + if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Apideck\Client\Model\UpdateCustomObjectResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UpdateCustomObjectResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\BadRequestResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnauthorizedResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 402: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\PaymentRequiredResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\NotFoundResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 422: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnprocessableResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + default: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Apideck\Client\Model\UnexpectedErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation customObjectsUpdateAsync + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsUpdateAsync($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectsUpdateAsyncWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsUpdateAsyncWithHttpInfo + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectsUpdateAsyncWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateCustomObjectResponse'; + $request = $this->customObjectsUpdateRequest($id, $object_id, $custom_object, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'customObjectsUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (required) + * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional) + * @param string $x_apideck_app_id The ID of your Unify application (optional) + * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectsUpdateRequest($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling customObjectsUpdate' + ); + } + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsUpdate' + ); + } + // verify the required parameter 'custom_object' is set + if ($custom_object === null || (is_array($custom_object) && count($custom_object) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object when calling customObjectsUpdate' + ); + } + + $resourcePath = '/crm/custom-objects/{object_id}/{id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + + if ('raw' === 'raw') { + // Support for raw as true/false parameter + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw ? 'true' : 'false'; + } + } + + + if ($raw !== null && 'sort' === 'raw') { + // Support for sort options + $sort_data = $sort->jsonSerialize(); + foreach($sort_data as $key => $value) { + $queryParams['sort['.$key.']'] = $value; + } + } + if ($raw !== null && 'filter' === 'raw') { + // Support for filter options + $filter_data = $filter->jsonSerialize(); + foreach($filter_data as $key => $value) { + $queryParams['filter['.$key.']'] = $value; + } + } + if ($raw !== null && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + if('form' === 'form' && is_array($raw)) { + foreach($raw as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['raw'] = $raw; + } + } + + // header params + if ($x_apideck_consumer_id !== null) { + $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id); + } + // header params + if ($x_apideck_app_id !== null) { + $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id); + } + // header params + if ($x_apideck_service_id !== null) { + $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id); + } + + // path params + if ($id !== null) { + $resourcePath = str_replace( + '{' . 'id' . '}', + ObjectSerializer::toPathValue($id), + $resourcePath + ); + } + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($custom_object)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object)); + } else { + $httpBody = $custom_object; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Authorization'); + if ($apiKey !== null) { + $headers['Authorization'] = $apiKey; + } + + $defaultHeaders = $this->config->getDefaultHeaders(); + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'PATCH', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + /** * Operation leadsAdd * diff --git a/src/gen/lib/Api/EcommerceApi.php b/src/gen/lib/Api/EcommerceApi.php index c2ae759c3a..e0921e41fc 100644 --- a/src/gen/lib/Api/EcommerceApi.php +++ b/src/gen/lib/Api/EcommerceApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/FileStorageApi.php b/src/gen/lib/Api/FileStorageApi.php index 7df6db5506..a3f2dcc2e7 100644 --- a/src/gen/lib/Api/FileStorageApi.php +++ b/src/gen/lib/Api/FileStorageApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/HrisApi.php b/src/gen/lib/Api/HrisApi.php index 1008a88697..b55cdc4122 100644 --- a/src/gen/lib/Api/HrisApi.php +++ b/src/gen/lib/Api/HrisApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/IssueTrackingApi.php b/src/gen/lib/Api/IssueTrackingApi.php index 60235c49c9..eeb49f6822 100644 --- a/src/gen/lib/Api/IssueTrackingApi.php +++ b/src/gen/lib/Api/IssueTrackingApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/LeadApi.php b/src/gen/lib/Api/LeadApi.php index d9cca3dde1..feb341e589 100644 --- a/src/gen/lib/Api/LeadApi.php +++ b/src/gen/lib/Api/LeadApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/PosApi.php b/src/gen/lib/Api/PosApi.php index abd021110d..bb4f1106b6 100644 --- a/src/gen/lib/Api/PosApi.php +++ b/src/gen/lib/Api/PosApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/SmsApi.php b/src/gen/lib/Api/SmsApi.php index edbaead533..ccf90c5453 100644 --- a/src/gen/lib/Api/SmsApi.php +++ b/src/gen/lib/Api/SmsApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/VaultApi.php b/src/gen/lib/Api/VaultApi.php index b8ef8657ce..63a87c9b5d 100644 --- a/src/gen/lib/Api/VaultApi.php +++ b/src/gen/lib/Api/VaultApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Api/WebhookApi.php b/src/gen/lib/Api/WebhookApi.php index 7c15d692c8..5546d6db8f 100644 --- a/src/gen/lib/Api/WebhookApi.php +++ b/src/gen/lib/Api/WebhookApi.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/ApiException.php b/src/gen/lib/ApiException.php index 043ad4dca3..20d4f5a884 100644 --- a/src/gen/lib/ApiException.php +++ b/src/gen/lib/ApiException.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Configuration.php b/src/gen/lib/Configuration.php index 161d595a92..7c87eb97b8 100644 --- a/src/gen/lib/Configuration.php +++ b/src/gen/lib/Configuration.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -98,7 +98,7 @@ class Configuration * * @var string */ - protected $userAgent = 'Apideck-php-sdk/3.10.0 Unify-spec/10.14.1'; + protected $userAgent = 'Apideck-php-sdk/3.11.0 Unify-spec/10.17.2'; /** * Debug switch (default set to false) @@ -448,8 +448,8 @@ public static function toDebugReport() $report = 'PHP SDK (Apideck\Client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 10.14.1' . PHP_EOL; - $report .= ' SDK Package Version: 3.10.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 10.17.2' . PHP_EOL; + $report .= ' SDK Package Version: 3.11.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/src/gen/lib/HeaderSelector.php b/src/gen/lib/HeaderSelector.php index 6098e21e9c..a80164bb4a 100644 --- a/src/gen/lib/HeaderSelector.php +++ b/src/gen/lib/HeaderSelector.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AccountingDepartment.php b/src/gen/lib/Model/AccountingDepartment.php index f07064d9a0..541b106aaa 100644 --- a/src/gen/lib/Model/AccountingDepartment.php +++ b/src/gen/lib/Model/AccountingDepartment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,8 @@ class AccountingDepartment implements ModelInterface, ArrayAccess, \JsonSerializ 'name' => 'string', 'status' => 'string', 'subsidiaries' => '\Apideck\Client\Model\SubsidiaryReference[]', - 'custom_mappings' => 'object', + 'code' => 'string', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -87,6 +88,7 @@ class AccountingDepartment implements ModelInterface, ArrayAccess, \JsonSerializ 'name' => null, 'status' => null, 'subsidiaries' => null, + 'code' => null, 'custom_mappings' => null, 'row_version' => null, 'updated_by' => null, @@ -128,6 +130,7 @@ public static function openAPIFormats() 'name' => 'name', 'status' => 'status', 'subsidiaries' => 'subsidiaries', + 'code' => 'code', 'custom_mappings' => 'custom_mappings', 'row_version' => 'row_version', 'updated_by' => 'updated_by', @@ -148,6 +151,7 @@ public static function openAPIFormats() 'name' => 'setName', 'status' => 'setStatus', 'subsidiaries' => 'setSubsidiaries', + 'code' => 'setCode', 'custom_mappings' => 'setCustomMappings', 'row_version' => 'setRowVersion', 'updated_by' => 'setUpdatedBy', @@ -168,6 +172,7 @@ public static function openAPIFormats() 'name' => 'getName', 'status' => 'getStatus', 'subsidiaries' => 'getSubsidiaries', + 'code' => 'getCode', 'custom_mappings' => 'getCustomMappings', 'row_version' => 'getRowVersion', 'updated_by' => 'getUpdatedBy', @@ -254,6 +259,7 @@ public function __construct(array $data = null) $this->container['name'] = $data['name'] ?? null; $this->container['status'] = $data['status'] ?? null; $this->container['subsidiaries'] = $data['subsidiaries'] ?? null; + $this->container['code'] = $data['code'] ?? null; $this->container['custom_mappings'] = $data['custom_mappings'] ?? null; $this->container['row_version'] = $data['row_version'] ?? null; $this->container['updated_by'] = $data['updated_by'] ?? null; @@ -426,10 +432,34 @@ public function setSubsidiaries($subsidiaries) return $this; } + /** + * Gets code + * + * @return string|null + */ + public function getCode() + { + return $this->container['code']; + } + + /** + * Sets code + * + * @param string|null $code The code of the department. + * + * @return self + */ + public function setCode($code) + { + $this->container['code'] = $code; + + return $this; + } + /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -439,7 +469,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/AccountingDepartmentsFilter.php b/src/gen/lib/Model/AccountingDepartmentsFilter.php index a3a09fa50d..a7bc1676c1 100644 --- a/src/gen/lib/Model/AccountingDepartmentsFilter.php +++ b/src/gen/lib/Model/AccountingDepartmentsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AccountingEventType.php b/src/gen/lib/Model/AccountingEventType.php index 95aefc7aa7..c7180b397c 100644 --- a/src/gen/lib/Model/AccountingEventType.php +++ b/src/gen/lib/Model/AccountingEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AccountingLocation.php b/src/gen/lib/Model/AccountingLocation.php index c3c82e4afa..03c0f2f0d1 100644 --- a/src/gen/lib/Model/AccountingLocation.php +++ b/src/gen/lib/Model/AccountingLocation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -67,7 +67,7 @@ class AccountingLocation implements ModelInterface, ArrayAccess, \JsonSerializab 'status' => 'string', 'addresses' => '\Apideck\Client\Model\Address[]', 'subsidiaries' => '\Apideck\Client\Model\SubsidiaryReference[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -489,7 +489,7 @@ public function setSubsidiaries($subsidiaries) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -499,7 +499,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/AccountingLocationsFilter.php b/src/gen/lib/Model/AccountingLocationsFilter.php index 3b6d88a7af..87e714bbb7 100644 --- a/src/gen/lib/Model/AccountingLocationsFilter.php +++ b/src/gen/lib/Model/AccountingLocationsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ActivitiesFilter.php b/src/gen/lib/Model/ActivitiesFilter.php index d68fa1daf9..4456610fb6 100644 --- a/src/gen/lib/Model/ActivitiesFilter.php +++ b/src/gen/lib/Model/ActivitiesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ActivitiesSort.php b/src/gen/lib/Model/ActivitiesSort.php index 4c0044fa92..d7b637aa51 100644 --- a/src/gen/lib/Model/ActivitiesSort.php +++ b/src/gen/lib/Model/ActivitiesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Activity.php b/src/gen/lib/Model/Activity.php index bf77e5bca2..d6568e111e 100644 --- a/src/gen/lib/Model/Activity.php +++ b/src/gen/lib/Model/Activity.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -106,7 +106,7 @@ class Activity implements ModelInterface, ArrayAccess, \JsonSerializable 'video_conference_id' => 'string', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'attendees' => '\Apideck\Client\Model\ActivityAttendee[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => 'string', @@ -1713,7 +1713,7 @@ public function setAttendees($attendees) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1723,7 +1723,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ActivityAttendee.php b/src/gen/lib/Model/ActivityAttendee.php index ed0dd386a6..10cb08a3fa 100644 --- a/src/gen/lib/Model/ActivityAttendee.php +++ b/src/gen/lib/Model/ActivityAttendee.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Address.php b/src/gen/lib/Model/Address.php index 7d064ac066..613db118b8 100644 --- a/src/gen/lib/Model/Address.php +++ b/src/gen/lib/Model/Address.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AgedCreditors.php b/src/gen/lib/Model/AgedCreditors.php index b675ca5447..cc8cfa53c4 100644 --- a/src/gen/lib/Model/AgedCreditors.php +++ b/src/gen/lib/Model/AgedCreditors.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AgedDebtors.php b/src/gen/lib/Model/AgedDebtors.php index a877a38715..36d235ceae 100644 --- a/src/gen/lib/Model/AgedDebtors.php +++ b/src/gen/lib/Model/AgedDebtors.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AgedReportFilter.php b/src/gen/lib/Model/AgedReportFilter.php index 476eb7387a..d2bac2c846 100644 --- a/src/gen/lib/Model/AgedReportFilter.php +++ b/src/gen/lib/Model/AgedReportFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Allocation.php b/src/gen/lib/Model/Allocation.php index 375b8263de..2770f5e18f 100644 --- a/src/gen/lib/Model/Allocation.php +++ b/src/gen/lib/Model/Allocation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Api.php b/src/gen/lib/Model/Api.php index 6e0512457f..d2fd81e44a 100644 --- a/src/gen/lib/Model/Api.php +++ b/src/gen/lib/Model/Api.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApiResource.php b/src/gen/lib/Model/ApiResource.php index 54d3da4aef..62a48e9bd5 100644 --- a/src/gen/lib/Model/ApiResource.php +++ b/src/gen/lib/Model/ApiResource.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApiResourceCoverage.php b/src/gen/lib/Model/ApiResourceCoverage.php index dee3647447..e1cde97f04 100644 --- a/src/gen/lib/Model/ApiResourceCoverage.php +++ b/src/gen/lib/Model/ApiResourceCoverage.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApiResourceCoverageCoverage.php b/src/gen/lib/Model/ApiResourceCoverageCoverage.php index 6acad28cbb..157a9df3fc 100644 --- a/src/gen/lib/Model/ApiResourceCoverageCoverage.php +++ b/src/gen/lib/Model/ApiResourceCoverageCoverage.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApiResourceLinkedResources.php b/src/gen/lib/Model/ApiResourceLinkedResources.php index d444b77ce6..1474a7328d 100644 --- a/src/gen/lib/Model/ApiResourceLinkedResources.php +++ b/src/gen/lib/Model/ApiResourceLinkedResources.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApiResources.php b/src/gen/lib/Model/ApiResources.php index 3ac1ec4205..bb2097067c 100644 --- a/src/gen/lib/Model/ApiResources.php +++ b/src/gen/lib/Model/ApiResources.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApiStatus.php b/src/gen/lib/Model/ApiStatus.php index 8300726994..26f3c489d5 100644 --- a/src/gen/lib/Model/ApiStatus.php +++ b/src/gen/lib/Model/ApiStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApisFilter.php b/src/gen/lib/Model/ApisFilter.php index e3fb743439..4be609e3f3 100644 --- a/src/gen/lib/Model/ApisFilter.php +++ b/src/gen/lib/Model/ApisFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Applicant.php b/src/gen/lib/Model/Applicant.php index 40492c3db5..5083713681 100644 --- a/src/gen/lib/Model/Applicant.php +++ b/src/gen/lib/Model/Applicant.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Applicant implements ModelInterface, ArrayAccess, \JsonSerializable 'cv_url' => 'string', 'record_url' => 'string', 'rejected_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'deleted' => 'bool', 'deleted_by' => 'string', 'deleted_at' => '\DateTime', @@ -1337,7 +1337,7 @@ public function setRejectedAt($rejected_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1347,7 +1347,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ApplicantSocialLinks.php b/src/gen/lib/Model/ApplicantSocialLinks.php index 9fc36333fb..774c938de1 100644 --- a/src/gen/lib/Model/ApplicantSocialLinks.php +++ b/src/gen/lib/Model/ApplicantSocialLinks.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApplicantWebsites.php b/src/gen/lib/Model/ApplicantWebsites.php index e80bb00e93..fa5baa0d74 100644 --- a/src/gen/lib/Model/ApplicantWebsites.php +++ b/src/gen/lib/Model/ApplicantWebsites.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ApplicantsFilter.php b/src/gen/lib/Model/ApplicantsFilter.php index b0416ceb57..532a608627 100644 --- a/src/gen/lib/Model/ApplicantsFilter.php +++ b/src/gen/lib/Model/ApplicantsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Application.php b/src/gen/lib/Model/Application.php index 032b9b6af5..3995686690 100644 --- a/src/gen/lib/Model/Application.php +++ b/src/gen/lib/Model/Application.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class Application implements ModelInterface, ArrayAccess, \JsonSerializable 'id' => 'string', 'status' => 'string', 'stage' => '\Apideck\Client\Model\ApplicationStage', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -435,7 +435,7 @@ public function setStage($stage) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -445,7 +445,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ApplicationStage.php b/src/gen/lib/Model/ApplicationStage.php index dfb3ecb499..ecb042b78c 100644 --- a/src/gen/lib/Model/ApplicationStage.php +++ b/src/gen/lib/Model/ApplicationStage.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Assignee.php b/src/gen/lib/Model/Assignee.php index 985d5be9d1..666a0459ba 100644 --- a/src/gen/lib/Model/Assignee.php +++ b/src/gen/lib/Model/Assignee.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AtsActivity.php b/src/gen/lib/Model/AtsActivity.php index e6a4e5bbf8..6b30356ab5 100644 --- a/src/gen/lib/Model/AtsActivity.php +++ b/src/gen/lib/Model/AtsActivity.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,7 +61,7 @@ class AtsActivity implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPITypes = [ 'id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -263,7 +263,7 @@ public function setId($id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -273,7 +273,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/AtsEventType.php b/src/gen/lib/Model/AtsEventType.php index b1a9e6e083..6dc3fb94f8 100644 --- a/src/gen/lib/Model/AtsEventType.php +++ b/src/gen/lib/Model/AtsEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Attachment.php b/src/gen/lib/Model/Attachment.php index 72bde22753..36d0d93354 100644 --- a/src/gen/lib/Model/Attachment.php +++ b/src/gen/lib/Model/Attachment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AttachmentReference.php b/src/gen/lib/Model/AttachmentReference.php index ecd093e604..7705da4dcd 100644 --- a/src/gen/lib/Model/AttachmentReference.php +++ b/src/gen/lib/Model/AttachmentReference.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AttachmentReferenceType.php b/src/gen/lib/Model/AttachmentReferenceType.php index f065b25245..8b481a7514 100644 --- a/src/gen/lib/Model/AttachmentReferenceType.php +++ b/src/gen/lib/Model/AttachmentReferenceType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AuthType.php b/src/gen/lib/Model/AuthType.php index ab8a0071ff..86476b4466 100644 --- a/src/gen/lib/Model/AuthType.php +++ b/src/gen/lib/Model/AuthType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BadRequestResponse.php b/src/gen/lib/Model/BadRequestResponse.php index 19fb7ddac3..4256d43573 100644 --- a/src/gen/lib/Model/BadRequestResponse.php +++ b/src/gen/lib/Model/BadRequestResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceByPeriod.php b/src/gen/lib/Model/BalanceByPeriod.php index 3580170073..44ea74a8a2 100644 --- a/src/gen/lib/Model/BalanceByPeriod.php +++ b/src/gen/lib/Model/BalanceByPeriod.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceByTransaction.php b/src/gen/lib/Model/BalanceByTransaction.php index 1d3b875425..0cd9dc38f4 100644 --- a/src/gen/lib/Model/BalanceByTransaction.php +++ b/src/gen/lib/Model/BalanceByTransaction.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheet.php b/src/gen/lib/Model/BalanceSheet.php index 6ba3e0c1dd..c8f75c3c4e 100644 --- a/src/gen/lib/Model/BalanceSheet.php +++ b/src/gen/lib/Model/BalanceSheet.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetAccount.php b/src/gen/lib/Model/BalanceSheetAccount.php index d7466d63b4..599007dbe5 100644 --- a/src/gen/lib/Model/BalanceSheetAccount.php +++ b/src/gen/lib/Model/BalanceSheetAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetAccountRecord.php b/src/gen/lib/Model/BalanceSheetAccountRecord.php index d4bf48f2af..ed766117a2 100644 --- a/src/gen/lib/Model/BalanceSheetAccountRecord.php +++ b/src/gen/lib/Model/BalanceSheetAccountRecord.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetAssetsAccount.php b/src/gen/lib/Model/BalanceSheetAssetsAccount.php index c629bf6aca..c579cf8bb0 100644 --- a/src/gen/lib/Model/BalanceSheetAssetsAccount.php +++ b/src/gen/lib/Model/BalanceSheetAssetsAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetEquityAccount.php b/src/gen/lib/Model/BalanceSheetEquityAccount.php index d43acf3b0f..780b76a6b4 100644 --- a/src/gen/lib/Model/BalanceSheetEquityAccount.php +++ b/src/gen/lib/Model/BalanceSheetEquityAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetFilter.php b/src/gen/lib/Model/BalanceSheetFilter.php index 6bb72c4c18..2bfa0c1929 100644 --- a/src/gen/lib/Model/BalanceSheetFilter.php +++ b/src/gen/lib/Model/BalanceSheetFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php b/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php index 96a56c3e84..dabf2f85c6 100644 --- a/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php +++ b/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetReports.php b/src/gen/lib/Model/BalanceSheetReports.php index 7ebf4b734c..24a32387be 100644 --- a/src/gen/lib/Model/BalanceSheetReports.php +++ b/src/gen/lib/Model/BalanceSheetReports.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class BalanceSheetReports implements ModelInterface, ArrayAccess, \JsonSerializa 'start_date' => 'string', 'currency' => '\Apideck\Client\Model\Currency', 'net_assets' => 'float', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -539,7 +539,7 @@ public function setNetAssets($net_assets) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -549,7 +549,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php b/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php index 550a4e13a0..569e923fbb 100644 --- a/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php +++ b/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BankAccount.php b/src/gen/lib/Model/BankAccount.php index 5363365d36..e2837cd7a4 100644 --- a/src/gen/lib/Model/BankAccount.php +++ b/src/gen/lib/Model/BankAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BankFeedAccount.php b/src/gen/lib/Model/BankFeedAccount.php new file mode 100644 index 0000000000..e00aea6bb0 --- /dev/null +++ b/src/gen/lib/Model/BankFeedAccount.php @@ -0,0 +1,827 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class BankFeedAccount implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'BankFeedAccount'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'bank_account_type' => 'string', + 'source_account_id' => 'string', + 'target_account_id' => 'string', + 'target_account_name' => 'string', + 'target_account_number' => 'string', + 'currency' => '\Apideck\Client\Model\Currency', + 'feed_status' => 'string', + 'country' => 'string', + 'custom_fields' => '\Apideck\Client\Model\CustomField[]', + 'custom_mappings' => 'array', + 'created_at' => '\DateTime', + 'updated_at' => '\DateTime', + 'updated_by' => 'string', + 'created_by' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'bank_account_type' => null, + 'source_account_id' => null, + 'target_account_id' => null, + 'target_account_name' => null, + 'target_account_number' => null, + 'currency' => null, + 'feed_status' => null, + 'country' => null, + 'custom_fields' => null, + 'custom_mappings' => null, + 'created_at' => 'date-time', + 'updated_at' => 'date-time', + 'updated_by' => null, + 'created_by' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'bank_account_type' => 'bank_account_type', + 'source_account_id' => 'source_account_id', + 'target_account_id' => 'target_account_id', + 'target_account_name' => 'target_account_name', + 'target_account_number' => 'target_account_number', + 'currency' => 'currency', + 'feed_status' => 'feed_status', + 'country' => 'country', + 'custom_fields' => 'custom_fields', + 'custom_mappings' => 'custom_mappings', + 'created_at' => 'created_at', + 'updated_at' => 'updated_at', + 'updated_by' => 'updated_by', + 'created_by' => 'created_by' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'bank_account_type' => 'setBankAccountType', + 'source_account_id' => 'setSourceAccountId', + 'target_account_id' => 'setTargetAccountId', + 'target_account_name' => 'setTargetAccountName', + 'target_account_number' => 'setTargetAccountNumber', + 'currency' => 'setCurrency', + 'feed_status' => 'setFeedStatus', + 'country' => 'setCountry', + 'custom_fields' => 'setCustomFields', + 'custom_mappings' => 'setCustomMappings', + 'created_at' => 'setCreatedAt', + 'updated_at' => 'setUpdatedAt', + 'updated_by' => 'setUpdatedBy', + 'created_by' => 'setCreatedBy' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'bank_account_type' => 'getBankAccountType', + 'source_account_id' => 'getSourceAccountId', + 'target_account_id' => 'getTargetAccountId', + 'target_account_name' => 'getTargetAccountName', + 'target_account_number' => 'getTargetAccountNumber', + 'currency' => 'getCurrency', + 'feed_status' => 'getFeedStatus', + 'country' => 'getCountry', + 'custom_fields' => 'getCustomFields', + 'custom_mappings' => 'getCustomMappings', + 'created_at' => 'getCreatedAt', + 'updated_at' => 'getUpdatedAt', + 'updated_by' => 'getUpdatedBy', + 'created_by' => 'getCreatedBy' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + const BANK_ACCOUNT_TYPE_BANK = 'bank'; + const BANK_ACCOUNT_TYPE_CREDIT_CARD = 'credit_card'; + const FEED_STATUS_PENDING = 'pending'; + const FEED_STATUS_REJECTED = 'rejected'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getBankAccountTypeAllowableValues() + { + return [ + self::BANK_ACCOUNT_TYPE_BANK, + self::BANK_ACCOUNT_TYPE_CREDIT_CARD, + ]; + } + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getFeedStatusAllowableValues() + { + return [ + self::FEED_STATUS_PENDING, + self::FEED_STATUS_REJECTED, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['bank_account_type'] = $data['bank_account_type'] ?? null; + $this->container['source_account_id'] = $data['source_account_id'] ?? null; + $this->container['target_account_id'] = $data['target_account_id'] ?? null; + $this->container['target_account_name'] = $data['target_account_name'] ?? null; + $this->container['target_account_number'] = $data['target_account_number'] ?? null; + $this->container['currency'] = $data['currency'] ?? null; + $this->container['feed_status'] = $data['feed_status'] ?? null; + $this->container['country'] = $data['country'] ?? null; + $this->container['custom_fields'] = $data['custom_fields'] ?? null; + $this->container['custom_mappings'] = $data['custom_mappings'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + $this->container['updated_at'] = $data['updated_at'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['id'] === null) { + $invalidProperties[] = "'id' can't be null"; + } + $allowedValues = $this->getBankAccountTypeAllowableValues(); + if (!is_null($this->container['bank_account_type']) && !in_array($this->container['bank_account_type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'bank_account_type', must be one of '%s'", + $this->container['bank_account_type'], + implode("', '", $allowedValues) + ); + } + + $allowedValues = $this->getFeedStatusAllowableValues(); + if (!is_null($this->container['feed_status']) && !in_array($this->container['feed_status'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'feed_status', must be one of '%s'", + $this->container['feed_status'], + implode("', '", $allowedValues) + ); + } + + if (!is_null($this->container['country']) && (mb_strlen($this->container['country']) > 2)) { + $invalidProperties[] = "invalid value for 'country', the character length must be smaller than or equal to 2."; + } + + if (!is_null($this->container['country']) && (mb_strlen($this->container['country']) < 2)) { + $invalidProperties[] = "invalid value for 'country', the character length must be bigger than or equal to 2."; + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string $id A unique identifier for an object. + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets bank_account_type + * + * @return string|null + */ + public function getBankAccountType() + { + return $this->container['bank_account_type']; + } + + /** + * Sets bank_account_type + * + * @param string|null $bank_account_type Type of the bank account. + * + * @return self + */ + public function setBankAccountType($bank_account_type) + { + $allowedValues = $this->getBankAccountTypeAllowableValues(); + if (!is_null($bank_account_type) && !in_array($bank_account_type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'bank_account_type', must be one of '%s'", + $bank_account_type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['bank_account_type'] = $bank_account_type; + + return $this; + } + + /** + * Gets source_account_id + * + * @return string|null + */ + public function getSourceAccountId() + { + return $this->container['source_account_id']; + } + + /** + * Sets source_account_id + * + * @param string|null $source_account_id The source account's unique identifier. + * + * @return self + */ + public function setSourceAccountId($source_account_id) + { + $this->container['source_account_id'] = $source_account_id; + + return $this; + } + + /** + * Gets target_account_id + * + * @return string|null + */ + public function getTargetAccountId() + { + return $this->container['target_account_id']; + } + + /** + * Sets target_account_id + * + * @param string|null $target_account_id The target account's unique identifier in the accounting connector. + * + * @return self + */ + public function setTargetAccountId($target_account_id) + { + $this->container['target_account_id'] = $target_account_id; + + return $this; + } + + /** + * Gets target_account_name + * + * @return string|null + */ + public function getTargetAccountName() + { + return $this->container['target_account_name']; + } + + /** + * Sets target_account_name + * + * @param string|null $target_account_name Name associated with the target account. + * + * @return self + */ + public function setTargetAccountName($target_account_name) + { + $this->container['target_account_name'] = $target_account_name; + + return $this; + } + + /** + * Gets target_account_number + * + * @return string|null + */ + public function getTargetAccountNumber() + { + return $this->container['target_account_number']; + } + + /** + * Sets target_account_number + * + * @param string|null $target_account_number Account number of the destination bank account. + * + * @return self + */ + public function setTargetAccountNumber($target_account_number) + { + $this->container['target_account_number'] = $target_account_number; + + return $this; + } + + /** + * Gets currency + * + * @return \Apideck\Client\Model\Currency|null + */ + public function getCurrency() + { + return $this->container['currency']; + } + + /** + * Sets currency + * + * @param \Apideck\Client\Model\Currency|null $currency currency + * + * @return self + */ + public function setCurrency($currency) + { + $this->container['currency'] = $currency; + + return $this; + } + + /** + * Gets feed_status + * + * @return string|null + */ + public function getFeedStatus() + { + return $this->container['feed_status']; + } + + /** + * Sets feed_status + * + * @param string|null $feed_status Current status of the bank feed. + * + * @return self + */ + public function setFeedStatus($feed_status) + { + $allowedValues = $this->getFeedStatusAllowableValues(); + if (!is_null($feed_status) && !in_array($feed_status, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'feed_status', must be one of '%s'", + $feed_status, + implode("', '", $allowedValues) + ) + ); + } + $this->container['feed_status'] = $feed_status; + + return $this; + } + + /** + * Gets country + * + * @return string|null + */ + public function getCountry() + { + return $this->container['country']; + } + + /** + * Sets country + * + * @param string|null $country Country code according to ISO 3166-1 alpha-2. + * + * @return self + */ + public function setCountry($country) + { + if (!is_null($country) && (mb_strlen($country) > 2)) { + throw new \InvalidArgumentException('invalid length for $country when calling BankFeedAccount., must be smaller than or equal to 2.'); + } + if (!is_null($country) && (mb_strlen($country) < 2)) { + throw new \InvalidArgumentException('invalid length for $country when calling BankFeedAccount., must be bigger than or equal to 2.'); + } + + $this->container['country'] = $country; + + return $this; + } + + /** + * Gets custom_fields + * + * @return \Apideck\Client\Model\CustomField[]|null + */ + public function getCustomFields() + { + return $this->container['custom_fields']; + } + + /** + * Sets custom_fields + * + * @param \Apideck\Client\Model\CustomField[]|null $custom_fields custom_fields + * + * @return self + */ + public function setCustomFields($custom_fields) + { + $this->container['custom_fields'] = $custom_fields; + + return $this; + } + + /** + * Gets custom_mappings + * + * @return array|null + */ + public function getCustomMappings() + { + return $this->container['custom_mappings']; + } + + /** + * Sets custom_mappings + * + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * + * @return self + */ + public function setCustomMappings($custom_mappings) + { + $this->container['custom_mappings'] = $custom_mappings; + + return $this; + } + + /** + * Gets created_at + * + * @return \DateTime|null + */ + public function getCreatedAt() + { + return $this->container['created_at']; + } + + /** + * Sets created_at + * + * @param \DateTime|null $created_at The date and time when the object was created. + * + * @return self + */ + public function setCreatedAt($created_at) + { + $this->container['created_at'] = $created_at; + + return $this; + } + + /** + * Gets updated_at + * + * @return \DateTime|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param \DateTime|null $updated_at The date and time when the object was last updated. + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets updated_by + * + * @return string|null + */ + public function getUpdatedBy() + { + return $this->container['updated_by']; + } + + /** + * Sets updated_by + * + * @param string|null $updated_by The user who last updated the object. + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + $this->container['updated_by'] = $updated_by; + + return $this; + } + + /** + * Gets created_by + * + * @return string|null + */ + public function getCreatedBy() + { + return $this->container['created_by']; + } + + /** + * Sets created_by + * + * @param string|null $created_by The user who created the object. + * + * @return self + */ + public function setCreatedBy($created_by) + { + $this->container['created_by'] = $created_by; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/BankFeedStatement.php b/src/gen/lib/Model/BankFeedStatement.php new file mode 100644 index 0000000000..f0d857be70 --- /dev/null +++ b/src/gen/lib/Model/BankFeedStatement.php @@ -0,0 +1,750 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class BankFeedStatement implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'BankFeedStatement'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'bank_feed_account_id' => 'string', + 'status' => 'string', + 'start_date' => '\DateTime', + 'end_date' => '\DateTime', + 'start_balance' => 'float', + 'start_balance_credit_or_debit' => '\Apideck\Client\Model\CreditOrDebit', + 'end_balance' => 'float', + 'end_balance_credit_or_debit' => '\Apideck\Client\Model\CreditOrDebit', + 'transactions' => '\Apideck\Client\Model\BankFeedStatementTransactions[]', + 'created_at' => '\DateTime', + 'created_by' => 'string', + 'updated_at' => '\DateTime', + 'updated_by' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'bank_feed_account_id' => null, + 'status' => null, + 'start_date' => 'date-time', + 'end_date' => 'date-time', + 'start_balance' => null, + 'start_balance_credit_or_debit' => null, + 'end_balance' => null, + 'end_balance_credit_or_debit' => null, + 'transactions' => null, + 'created_at' => 'date-time', + 'created_by' => null, + 'updated_at' => 'date-time', + 'updated_by' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'bank_feed_account_id' => 'bank_feed_account_id', + 'status' => 'status', + 'start_date' => 'start_date', + 'end_date' => 'end_date', + 'start_balance' => 'start_balance', + 'start_balance_credit_or_debit' => 'start_balance_credit_or_debit', + 'end_balance' => 'end_balance', + 'end_balance_credit_or_debit' => 'end_balance_credit_or_debit', + 'transactions' => 'transactions', + 'created_at' => 'created_at', + 'created_by' => 'created_by', + 'updated_at' => 'updated_at', + 'updated_by' => 'updated_by' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'bank_feed_account_id' => 'setBankFeedAccountId', + 'status' => 'setStatus', + 'start_date' => 'setStartDate', + 'end_date' => 'setEndDate', + 'start_balance' => 'setStartBalance', + 'start_balance_credit_or_debit' => 'setStartBalanceCreditOrDebit', + 'end_balance' => 'setEndBalance', + 'end_balance_credit_or_debit' => 'setEndBalanceCreditOrDebit', + 'transactions' => 'setTransactions', + 'created_at' => 'setCreatedAt', + 'created_by' => 'setCreatedBy', + 'updated_at' => 'setUpdatedAt', + 'updated_by' => 'setUpdatedBy' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'bank_feed_account_id' => 'getBankFeedAccountId', + 'status' => 'getStatus', + 'start_date' => 'getStartDate', + 'end_date' => 'getEndDate', + 'start_balance' => 'getStartBalance', + 'start_balance_credit_or_debit' => 'getStartBalanceCreditOrDebit', + 'end_balance' => 'getEndBalance', + 'end_balance_credit_or_debit' => 'getEndBalanceCreditOrDebit', + 'transactions' => 'getTransactions', + 'created_at' => 'getCreatedAt', + 'created_by' => 'getCreatedBy', + 'updated_at' => 'getUpdatedAt', + 'updated_by' => 'getUpdatedBy' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + const STATUS_PENDING = 'pending'; + const STATUS_REJECTED = 'rejected'; + const STATUS_SUCCESS = 'success'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getStatusAllowableValues() + { + return [ + self::STATUS_PENDING, + self::STATUS_REJECTED, + self::STATUS_SUCCESS, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['bank_feed_account_id'] = $data['bank_feed_account_id'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['start_date'] = $data['start_date'] ?? null; + $this->container['end_date'] = $data['end_date'] ?? null; + $this->container['start_balance'] = $data['start_balance'] ?? null; + $this->container['start_balance_credit_or_debit'] = $data['start_balance_credit_or_debit'] ?? null; + $this->container['end_balance'] = $data['end_balance'] ?? null; + $this->container['end_balance_credit_or_debit'] = $data['end_balance_credit_or_debit'] ?? null; + $this->container['transactions'] = $data['transactions'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; + $this->container['updated_at'] = $data['updated_at'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['id'] === null) { + $invalidProperties[] = "'id' can't be null"; + } + $allowedValues = $this->getStatusAllowableValues(); + if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'status', must be one of '%s'", + $this->container['status'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string $id A unique identifier for an object. + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets bank_feed_account_id + * + * @return string|null + */ + public function getBankFeedAccountId() + { + return $this->container['bank_feed_account_id']; + } + + /** + * Sets bank_feed_account_id + * + * @param string|null $bank_feed_account_id The ID of the bank feed account this statement belongs to. + * + * @return self + */ + public function setBankFeedAccountId($bank_feed_account_id) + { + $this->container['bank_feed_account_id'] = $bank_feed_account_id; + + return $this; + } + + /** + * Gets status + * + * @return string|null + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string|null $status The current status of the bank feed statement. + * + * @return self + */ + public function setStatus($status) + { + $allowedValues = $this->getStatusAllowableValues(); + if (!is_null($status) && !in_array($status, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'status', must be one of '%s'", + $status, + implode("', '", $allowedValues) + ) + ); + } + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets start_date + * + * @return \DateTime|null + */ + public function getStartDate() + { + return $this->container['start_date']; + } + + /** + * Sets start_date + * + * @param \DateTime|null $start_date Start date of the bank feed statement. + * + * @return self + */ + public function setStartDate($start_date) + { + $this->container['start_date'] = $start_date; + + return $this; + } + + /** + * Gets end_date + * + * @return \DateTime|null + */ + public function getEndDate() + { + return $this->container['end_date']; + } + + /** + * Sets end_date + * + * @param \DateTime|null $end_date End date of the bank feed statement. + * + * @return self + */ + public function setEndDate($end_date) + { + $this->container['end_date'] = $end_date; + + return $this; + } + + /** + * Gets start_balance + * + * @return float|null + */ + public function getStartBalance() + { + return $this->container['start_balance']; + } + + /** + * Sets start_balance + * + * @param float|null $start_balance Balance amount at the start of the period. + * + * @return self + */ + public function setStartBalance($start_balance) + { + $this->container['start_balance'] = $start_balance; + + return $this; + } + + /** + * Gets start_balance_credit_or_debit + * + * @return \Apideck\Client\Model\CreditOrDebit|null + */ + public function getStartBalanceCreditOrDebit() + { + return $this->container['start_balance_credit_or_debit']; + } + + /** + * Sets start_balance_credit_or_debit + * + * @param \Apideck\Client\Model\CreditOrDebit|null $start_balance_credit_or_debit start_balance_credit_or_debit + * + * @return self + */ + public function setStartBalanceCreditOrDebit($start_balance_credit_or_debit) + { + $this->container['start_balance_credit_or_debit'] = $start_balance_credit_or_debit; + + return $this; + } + + /** + * Gets end_balance + * + * @return float|null + */ + public function getEndBalance() + { + return $this->container['end_balance']; + } + + /** + * Sets end_balance + * + * @param float|null $end_balance Balance amount at the end of the period. + * + * @return self + */ + public function setEndBalance($end_balance) + { + $this->container['end_balance'] = $end_balance; + + return $this; + } + + /** + * Gets end_balance_credit_or_debit + * + * @return \Apideck\Client\Model\CreditOrDebit|null + */ + public function getEndBalanceCreditOrDebit() + { + return $this->container['end_balance_credit_or_debit']; + } + + /** + * Sets end_balance_credit_or_debit + * + * @param \Apideck\Client\Model\CreditOrDebit|null $end_balance_credit_or_debit end_balance_credit_or_debit + * + * @return self + */ + public function setEndBalanceCreditOrDebit($end_balance_credit_or_debit) + { + $this->container['end_balance_credit_or_debit'] = $end_balance_credit_or_debit; + + return $this; + } + + /** + * Gets transactions + * + * @return \Apideck\Client\Model\BankFeedStatementTransactions[]|null + */ + public function getTransactions() + { + return $this->container['transactions']; + } + + /** + * Sets transactions + * + * @param \Apideck\Client\Model\BankFeedStatementTransactions[]|null $transactions List of transactions in the bank feed statement. + * + * @return self + */ + public function setTransactions($transactions) + { + $this->container['transactions'] = $transactions; + + return $this; + } + + /** + * Gets created_at + * + * @return \DateTime|null + */ + public function getCreatedAt() + { + return $this->container['created_at']; + } + + /** + * Sets created_at + * + * @param \DateTime|null $created_at The date and time when the object was created. + * + * @return self + */ + public function setCreatedAt($created_at) + { + $this->container['created_at'] = $created_at; + + return $this; + } + + /** + * Gets created_by + * + * @return string|null + */ + public function getCreatedBy() + { + return $this->container['created_by']; + } + + /** + * Sets created_by + * + * @param string|null $created_by The user who created the object. + * + * @return self + */ + public function setCreatedBy($created_by) + { + $this->container['created_by'] = $created_by; + + return $this; + } + + /** + * Gets updated_at + * + * @return \DateTime|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param \DateTime|null $updated_at The date and time when the object was last updated. + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets updated_by + * + * @return string|null + */ + public function getUpdatedBy() + { + return $this->container['updated_by']; + } + + /** + * Sets updated_by + * + * @param string|null $updated_by The user who last updated the object. + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + $this->container['updated_by'] = $updated_by; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/BankFeedStatementTransactions.php b/src/gen/lib/Model/BankFeedStatementTransactions.php new file mode 100644 index 0000000000..087ed43970 --- /dev/null +++ b/src/gen/lib/Model/BankFeedStatementTransactions.php @@ -0,0 +1,585 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class BankFeedStatementTransactions implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'BankFeedStatement_transactions'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'posted_date' => '\DateTime', + 'amount' => 'float', + 'credit_or_debit' => '\Apideck\Client\Model\CreditOrDebit', + 'source_transaction_id' => 'string', + 'description' => 'string', + 'counterparty' => 'string', + 'reference' => 'string', + 'transaction_type' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'posted_date' => 'date-time', + 'amount' => null, + 'credit_or_debit' => null, + 'source_transaction_id' => null, + 'description' => null, + 'counterparty' => null, + 'reference' => null, + 'transaction_type' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'posted_date' => 'posted_date', + 'amount' => 'amount', + 'credit_or_debit' => 'credit_or_debit', + 'source_transaction_id' => 'source_transaction_id', + 'description' => 'description', + 'counterparty' => 'counterparty', + 'reference' => 'reference', + 'transaction_type' => 'transaction_type' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'posted_date' => 'setPostedDate', + 'amount' => 'setAmount', + 'credit_or_debit' => 'setCreditOrDebit', + 'source_transaction_id' => 'setSourceTransactionId', + 'description' => 'setDescription', + 'counterparty' => 'setCounterparty', + 'reference' => 'setReference', + 'transaction_type' => 'setTransactionType' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'posted_date' => 'getPostedDate', + 'amount' => 'getAmount', + 'credit_or_debit' => 'getCreditOrDebit', + 'source_transaction_id' => 'getSourceTransactionId', + 'description' => 'getDescription', + 'counterparty' => 'getCounterparty', + 'reference' => 'getReference', + 'transaction_type' => 'getTransactionType' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + const TRANSACTION_TYPE_CREDIT = 'credit'; + const TRANSACTION_TYPE_DEBIT = 'debit'; + const TRANSACTION_TYPE_DEPOSIT = 'deposit'; + const TRANSACTION_TYPE_TRANSFER = 'transfer'; + const TRANSACTION_TYPE_PAYMENT = 'payment'; + const TRANSACTION_TYPE_OTHER = 'other'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getTransactionTypeAllowableValues() + { + return [ + self::TRANSACTION_TYPE_CREDIT, + self::TRANSACTION_TYPE_DEBIT, + self::TRANSACTION_TYPE_DEPOSIT, + self::TRANSACTION_TYPE_TRANSFER, + self::TRANSACTION_TYPE_PAYMENT, + self::TRANSACTION_TYPE_OTHER, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['posted_date'] = $data['posted_date'] ?? null; + $this->container['amount'] = $data['amount'] ?? null; + $this->container['credit_or_debit'] = $data['credit_or_debit'] ?? null; + $this->container['source_transaction_id'] = $data['source_transaction_id'] ?? null; + $this->container['description'] = $data['description'] ?? null; + $this->container['counterparty'] = $data['counterparty'] ?? null; + $this->container['reference'] = $data['reference'] ?? null; + $this->container['transaction_type'] = $data['transaction_type'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['posted_date'] === null) { + $invalidProperties[] = "'posted_date' can't be null"; + } + if ($this->container['amount'] === null) { + $invalidProperties[] = "'amount' can't be null"; + } + if ($this->container['credit_or_debit'] === null) { + $invalidProperties[] = "'credit_or_debit' can't be null"; + } + if ($this->container['source_transaction_id'] === null) { + $invalidProperties[] = "'source_transaction_id' can't be null"; + } + $allowedValues = $this->getTransactionTypeAllowableValues(); + if (!is_null($this->container['transaction_type']) && !in_array($this->container['transaction_type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'transaction_type', must be one of '%s'", + $this->container['transaction_type'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets posted_date + * + * @return \DateTime + */ + public function getPostedDate() + { + return $this->container['posted_date']; + } + + /** + * Sets posted_date + * + * @param \DateTime $posted_date The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + * + * @return self + */ + public function setPostedDate($posted_date) + { + $this->container['posted_date'] = $posted_date; + + return $this; + } + + /** + * Gets amount + * + * @return float + */ + public function getAmount() + { + return $this->container['amount']; + } + + /** + * Sets amount + * + * @param float $amount The amount of the transaction. + * + * @return self + */ + public function setAmount($amount) + { + $this->container['amount'] = $amount; + + return $this; + } + + /** + * Gets credit_or_debit + * + * @return \Apideck\Client\Model\CreditOrDebit + */ + public function getCreditOrDebit() + { + return $this->container['credit_or_debit']; + } + + /** + * Sets credit_or_debit + * + * @param \Apideck\Client\Model\CreditOrDebit $credit_or_debit credit_or_debit + * + * @return self + */ + public function setCreditOrDebit($credit_or_debit) + { + $this->container['credit_or_debit'] = $credit_or_debit; + + return $this; + } + + /** + * Gets source_transaction_id + * + * @return string + */ + public function getSourceTransactionId() + { + return $this->container['source_transaction_id']; + } + + /** + * Sets source_transaction_id + * + * @param string $source_transaction_id The ID of the source transaction. + * + * @return self + */ + public function setSourceTransactionId($source_transaction_id) + { + $this->container['source_transaction_id'] = $source_transaction_id; + + return $this; + } + + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description A description of the transaction. + * + * @return self + */ + public function setDescription($description) + { + $this->container['description'] = $description; + + return $this; + } + + /** + * Gets counterparty + * + * @return string|null + */ + public function getCounterparty() + { + return $this->container['counterparty']; + } + + /** + * Sets counterparty + * + * @param string|null $counterparty The counterparty of the transaction. + * + * @return self + */ + public function setCounterparty($counterparty) + { + $this->container['counterparty'] = $counterparty; + + return $this; + } + + /** + * Gets reference + * + * @return string|null + */ + public function getReference() + { + return $this->container['reference']; + } + + /** + * Sets reference + * + * @param string|null $reference The reference of the transaction. + * + * @return self + */ + public function setReference($reference) + { + $this->container['reference'] = $reference; + + return $this; + } + + /** + * Gets transaction_type + * + * @return string|null + */ + public function getTransactionType() + { + return $this->container['transaction_type']; + } + + /** + * Sets transaction_type + * + * @param string|null $transaction_type Type of transaction. + * + * @return self + */ + public function setTransactionType($transaction_type) + { + $allowedValues = $this->getTransactionTypeAllowableValues(); + if (!is_null($transaction_type) && !in_array($transaction_type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'transaction_type', must be one of '%s'", + $transaction_type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['transaction_type'] = $transaction_type; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/Benefit.php b/src/gen/lib/Model/Benefit.php index db6e64b020..6a93a02957 100644 --- a/src/gen/lib/Model/Benefit.php +++ b/src/gen/lib/Model/Benefit.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Bill.php b/src/gen/lib/Model/Bill.php index 5c85df34e9..33e4fa0f3d 100644 --- a/src/gen/lib/Model/Bill.php +++ b/src/gen/lib/Model/Bill.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -98,7 +98,7 @@ class Bill implements ModelInterface, ArrayAccess, \JsonSerializable 'created_at' => '\DateTime', 'row_version' => 'string', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'pass_through' => 'object[]', 'accounting_period' => 'string' ]; @@ -1407,7 +1407,7 @@ public function setCustomFields($custom_fields) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1417,7 +1417,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/BillLineItem.php b/src/gen/lib/Model/BillLineItem.php index 3cfcde2ffa..fada1d4ed4 100644 --- a/src/gen/lib/Model/BillLineItem.php +++ b/src/gen/lib/Model/BillLineItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BillPayment.php b/src/gen/lib/Model/BillPayment.php index e34f36d96f..5504926f80 100644 --- a/src/gen/lib/Model/BillPayment.php +++ b/src/gen/lib/Model/BillPayment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -83,7 +83,7 @@ class BillPayment implements ModelInterface, ArrayAccess, \JsonSerializable 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'display_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'created_at' => '\DateTime', @@ -976,7 +976,7 @@ public function setDisplayId($display_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -986,7 +986,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/BillPaymentAllocations.php b/src/gen/lib/Model/BillPaymentAllocations.php index 486a316dbd..50e89c2ffd 100644 --- a/src/gen/lib/Model/BillPaymentAllocations.php +++ b/src/gen/lib/Model/BillPaymentAllocations.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BillsFilter.php b/src/gen/lib/Model/BillsFilter.php index 4369db8de1..100dd20dcf 100644 --- a/src/gen/lib/Model/BillsFilter.php +++ b/src/gen/lib/Model/BillsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BillsSort.php b/src/gen/lib/Model/BillsSort.php index 563cb10614..b3af0e3203 100644 --- a/src/gen/lib/Model/BillsSort.php +++ b/src/gen/lib/Model/BillsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Branch.php b/src/gen/lib/Model/Branch.php index aa32c0a793..f3d3db538d 100644 --- a/src/gen/lib/Model/Branch.php +++ b/src/gen/lib/Model/Branch.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CashDetails.php b/src/gen/lib/Model/CashDetails.php index e9d21496ec..98ef3f6f98 100644 --- a/src/gen/lib/Model/CashDetails.php +++ b/src/gen/lib/Model/CashDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Collection.php b/src/gen/lib/Model/Collection.php index 9c12d07b4e..a409567dfc 100644 --- a/src/gen/lib/Model/Collection.php +++ b/src/gen/lib/Model/Collection.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class Collection implements ModelInterface, ArrayAccess, \JsonSerializable 'type' => 'string', 'name' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime' ]; @@ -374,7 +374,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -384,7 +384,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionTag.php b/src/gen/lib/Model/CollectionTag.php index ce6b800759..420a16db09 100644 --- a/src/gen/lib/Model/CollectionTag.php +++ b/src/gen/lib/Model/CollectionTag.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -62,7 +62,7 @@ class CollectionTag implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'id' => 'string', 'name' => 'string', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -272,7 +272,7 @@ public function setName($name) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -282,7 +282,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionTicketComment.php b/src/gen/lib/Model/CollectionTicketComment.php index e21df19ae2..b8d4b2b9d2 100644 --- a/src/gen/lib/Model/CollectionTicketComment.php +++ b/src/gen/lib/Model/CollectionTicketComment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -62,7 +62,7 @@ class CollectionTicketComment implements ModelInterface, ArrayAccess, \JsonSeria protected static $openAPITypes = [ 'id' => 'string', 'body' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_by' => 'string', 'updated_at' => '\DateTime', 'created_at' => '\DateTime', @@ -293,7 +293,7 @@ public function setBody($body) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -303,7 +303,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionUser.php b/src/gen/lib/Model/CollectionUser.php index e30be8a03b..9ab9145406 100644 --- a/src/gen/lib/Model/CollectionUser.php +++ b/src/gen/lib/Model/CollectionUser.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -66,7 +66,7 @@ class CollectionUser implements ModelInterface, ArrayAccess, \JsonSerializable 'last_name' => 'string', 'email' => 'string', 'photo_url' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime' ]; @@ -401,7 +401,7 @@ public function setPhotoUrl($photo_url) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -411,7 +411,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionsSort.php b/src/gen/lib/Model/CollectionsSort.php index f1bc96a388..b4138bd611 100644 --- a/src/gen/lib/Model/CollectionsSort.php +++ b/src/gen/lib/Model/CollectionsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CommentsSort.php b/src/gen/lib/Model/CommentsSort.php index 089ba9c7ea..9d5a90ec27 100644 --- a/src/gen/lib/Model/CommentsSort.php +++ b/src/gen/lib/Model/CommentsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CompaniesFilter.php b/src/gen/lib/Model/CompaniesFilter.php index 6919f3f960..9aa0084f71 100644 --- a/src/gen/lib/Model/CompaniesFilter.php +++ b/src/gen/lib/Model/CompaniesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CompaniesSort.php b/src/gen/lib/Model/CompaniesSort.php index a7579a37ba..f07ee19cca 100644 --- a/src/gen/lib/Model/CompaniesSort.php +++ b/src/gen/lib/Model/CompaniesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Company.php b/src/gen/lib/Model/Company.php index 2147e190f0..68f1e8cda3 100644 --- a/src/gen/lib/Model/Company.php +++ b/src/gen/lib/Model/Company.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Company implements ModelInterface, ArrayAccess, \JsonSerializable 'deleted' => 'bool', 'salutation' => 'string', 'birthday' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1322,7 +1322,7 @@ public function setBirthday($birthday) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1332,7 +1332,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CompanyInfo.php b/src/gen/lib/Model/CompanyInfo.php index 977d16afdf..5788ba0ede 100644 --- a/src/gen/lib/Model/CompanyInfo.php +++ b/src/gen/lib/Model/CompanyInfo.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -76,7 +76,7 @@ class CompanyInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'addresses' => '\Apideck\Client\Model\Address[]', 'phone_numbers' => '\Apideck\Client\Model\PhoneNumber[]', 'emails' => '\Apideck\Client\Model\Email[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -807,7 +807,7 @@ public function setEmails($emails) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -817,7 +817,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CompanyRowType.php b/src/gen/lib/Model/CompanyRowType.php index 0cab732140..a9d11a0f10 100644 --- a/src/gen/lib/Model/CompanyRowType.php +++ b/src/gen/lib/Model/CompanyRowType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Compensation.php b/src/gen/lib/Model/Compensation.php index 2ead445951..87ec4edc2d 100644 --- a/src/gen/lib/Model/Compensation.php +++ b/src/gen/lib/Model/Compensation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Connection.php b/src/gen/lib/Model/Connection.php index f2d24fe5d3..0ba409698b 100644 --- a/src/gen/lib/Model/Connection.php +++ b/src/gen/lib/Model/Connection.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectionConfiguration.php b/src/gen/lib/Model/ConnectionConfiguration.php index 9b52a986f9..97e0694097 100644 --- a/src/gen/lib/Model/ConnectionConfiguration.php +++ b/src/gen/lib/Model/ConnectionConfiguration.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectionDefaults.php b/src/gen/lib/Model/ConnectionDefaults.php index 2fd6759648..8488849bb5 100644 --- a/src/gen/lib/Model/ConnectionDefaults.php +++ b/src/gen/lib/Model/ConnectionDefaults.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectionImportData.php b/src/gen/lib/Model/ConnectionImportData.php index ec3043a780..206cacf756 100644 --- a/src/gen/lib/Model/ConnectionImportData.php +++ b/src/gen/lib/Model/ConnectionImportData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectionImportDataCredentials.php b/src/gen/lib/Model/ConnectionImportDataCredentials.php index 810ed0ae95..dd4a880fe3 100644 --- a/src/gen/lib/Model/ConnectionImportDataCredentials.php +++ b/src/gen/lib/Model/ConnectionImportDataCredentials.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectionMetadata.php b/src/gen/lib/Model/ConnectionMetadata.php index 3276b04e6e..383b5b2244 100644 --- a/src/gen/lib/Model/ConnectionMetadata.php +++ b/src/gen/lib/Model/ConnectionMetadata.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectionState.php b/src/gen/lib/Model/ConnectionState.php index 989be79fbd..da75f9a503 100644 --- a/src/gen/lib/Model/ConnectionState.php +++ b/src/gen/lib/Model/ConnectionState.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectionWebhook.php b/src/gen/lib/Model/ConnectionWebhook.php index ca75ca9630..bc7b0e71b5 100644 --- a/src/gen/lib/Model/ConnectionWebhook.php +++ b/src/gen/lib/Model/ConnectionWebhook.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Connector.php b/src/gen/lib/Model/Connector.php index 0983e01e63..5fd41dc70f 100644 --- a/src/gen/lib/Model/Connector.php +++ b/src/gen/lib/Model/Connector.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorDoc.php b/src/gen/lib/Model/ConnectorDoc.php index a23de81c2c..b9429a7bf4 100644 --- a/src/gen/lib/Model/ConnectorDoc.php +++ b/src/gen/lib/Model/ConnectorDoc.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorEvent.php b/src/gen/lib/Model/ConnectorEvent.php index dbd70d380f..0290b4e365 100644 --- a/src/gen/lib/Model/ConnectorEvent.php +++ b/src/gen/lib/Model/ConnectorEvent.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorOauthScopes.php b/src/gen/lib/Model/ConnectorOauthScopes.php index 93b2b08d33..46d1104d08 100644 --- a/src/gen/lib/Model/ConnectorOauthScopes.php +++ b/src/gen/lib/Model/ConnectorOauthScopes.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorOauthScopes1.php b/src/gen/lib/Model/ConnectorOauthScopes1.php index 8a74385ff3..b7e96ffae5 100644 --- a/src/gen/lib/Model/ConnectorOauthScopes1.php +++ b/src/gen/lib/Model/ConnectorOauthScopes1.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorResource.php b/src/gen/lib/Model/ConnectorResource.php index 6732ed3f7c..7fc01dfecd 100644 --- a/src/gen/lib/Model/ConnectorResource.php +++ b/src/gen/lib/Model/ConnectorResource.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorSetting.php b/src/gen/lib/Model/ConnectorSetting.php index 5b423cad9b..dc52acd963 100644 --- a/src/gen/lib/Model/ConnectorSetting.php +++ b/src/gen/lib/Model/ConnectorSetting.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorStatus.php b/src/gen/lib/Model/ConnectorStatus.php index 95f9f1040c..6e7171a2d9 100644 --- a/src/gen/lib/Model/ConnectorStatus.php +++ b/src/gen/lib/Model/ConnectorStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorTlsSupport.php b/src/gen/lib/Model/ConnectorTlsSupport.php index 6d80312fc2..facecbc7d6 100644 --- a/src/gen/lib/Model/ConnectorTlsSupport.php +++ b/src/gen/lib/Model/ConnectorTlsSupport.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorUnifiedApis.php b/src/gen/lib/Model/ConnectorUnifiedApis.php index 82dabf181a..48f932ac39 100644 --- a/src/gen/lib/Model/ConnectorUnifiedApis.php +++ b/src/gen/lib/Model/ConnectorUnifiedApis.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConnectorsFilter.php b/src/gen/lib/Model/ConnectorsFilter.php index 91606423b8..fd1e08f560 100644 --- a/src/gen/lib/Model/ConnectorsFilter.php +++ b/src/gen/lib/Model/ConnectorsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Consumer.php b/src/gen/lib/Model/Consumer.php index 61750d7325..725a8002f8 100644 --- a/src/gen/lib/Model/Consumer.php +++ b/src/gen/lib/Model/Consumer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConsumerConnection.php b/src/gen/lib/Model/ConsumerConnection.php index 29db9bff97..9a376a0e9c 100644 --- a/src/gen/lib/Model/ConsumerConnection.php +++ b/src/gen/lib/Model/ConsumerConnection.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConsumerMetadata.php b/src/gen/lib/Model/ConsumerMetadata.php index fddb3c43e2..2de2d6205e 100644 --- a/src/gen/lib/Model/ConsumerMetadata.php +++ b/src/gen/lib/Model/ConsumerMetadata.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php index 755324d104..dae123702b 100644 --- a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php +++ b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php index 58c6091800..d325f15a1b 100644 --- a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php +++ b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Contact.php b/src/gen/lib/Model/Contact.php index 43e86f8efe..94f9a1416e 100644 --- a/src/gen/lib/Model/Contact.php +++ b/src/gen/lib/Model/Contact.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Contact implements ModelInterface, ArrayAccess, \JsonSerializable 'first_call_at' => '\DateTime', 'first_email_at' => '\DateTime', 'last_activity_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime', 'opportunity_ids' => 'string[]', @@ -1392,7 +1392,7 @@ public function setLastActivityAt($last_activity_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1402,7 +1402,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ContactsFilter.php b/src/gen/lib/Model/ContactsFilter.php index f04bc412bd..30324332a2 100644 --- a/src/gen/lib/Model/ContactsFilter.php +++ b/src/gen/lib/Model/ContactsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ContactsSort.php b/src/gen/lib/Model/ContactsSort.php index 6fcba03a56..8fce581c7c 100644 --- a/src/gen/lib/Model/ContactsSort.php +++ b/src/gen/lib/Model/ContactsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CopyFolderRequest.php b/src/gen/lib/Model/CopyFolderRequest.php index 3e8abf9434..c1d73870a9 100644 --- a/src/gen/lib/Model/CopyFolderRequest.php +++ b/src/gen/lib/Model/CopyFolderRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CostOfGoodsSold.php b/src/gen/lib/Model/CostOfGoodsSold.php index 5f603f2602..18291906c8 100644 --- a/src/gen/lib/Model/CostOfGoodsSold.php +++ b/src/gen/lib/Model/CostOfGoodsSold.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateAccountingDepartmentResponse.php b/src/gen/lib/Model/CreateAccountingDepartmentResponse.php index ff85283e13..46fa6a6d9d 100644 --- a/src/gen/lib/Model/CreateAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/CreateAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateAccountingLocationResponse.php b/src/gen/lib/Model/CreateAccountingLocationResponse.php index 60324cc555..239c136be6 100644 --- a/src/gen/lib/Model/CreateAccountingLocationResponse.php +++ b/src/gen/lib/Model/CreateAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateActivityResponse.php b/src/gen/lib/Model/CreateActivityResponse.php index c8c2eb453e..89f8bf0fbd 100644 --- a/src/gen/lib/Model/CreateActivityResponse.php +++ b/src/gen/lib/Model/CreateActivityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateApplicantResponse.php b/src/gen/lib/Model/CreateApplicantResponse.php index a217d4136e..9cfce023b7 100644 --- a/src/gen/lib/Model/CreateApplicantResponse.php +++ b/src/gen/lib/Model/CreateApplicantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateApplicationResponse.php b/src/gen/lib/Model/CreateApplicationResponse.php index edf43e3451..57d0308066 100644 --- a/src/gen/lib/Model/CreateApplicationResponse.php +++ b/src/gen/lib/Model/CreateApplicationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateAttachmentRequest.php b/src/gen/lib/Model/CreateAttachmentRequest.php index cd97170813..3d3151fd6b 100644 --- a/src/gen/lib/Model/CreateAttachmentRequest.php +++ b/src/gen/lib/Model/CreateAttachmentRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateAttachmentResponse.php b/src/gen/lib/Model/CreateAttachmentResponse.php index 007ebe09be..972b7ca51b 100644 --- a/src/gen/lib/Model/CreateAttachmentResponse.php +++ b/src/gen/lib/Model/CreateAttachmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateBankFeedAccountResponse.php b/src/gen/lib/Model/CreateBankFeedAccountResponse.php new file mode 100644 index 0000000000..558680ef16 --- /dev/null +++ b/src/gen/lib/Model/CreateBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateBankFeedAccountResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CreateBankFeedStatementResponse.php b/src/gen/lib/Model/CreateBankFeedStatementResponse.php new file mode 100644 index 0000000000..d140a8923b --- /dev/null +++ b/src/gen/lib/Model/CreateBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateBankFeedStatementResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CreateBillPaymentResponse.php b/src/gen/lib/Model/CreateBillPaymentResponse.php index a5d0054b88..2e77e60ede 100644 --- a/src/gen/lib/Model/CreateBillPaymentResponse.php +++ b/src/gen/lib/Model/CreateBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateBillResponse.php b/src/gen/lib/Model/CreateBillResponse.php index 4d56c0a778..ad95eb2944 100644 --- a/src/gen/lib/Model/CreateBillResponse.php +++ b/src/gen/lib/Model/CreateBillResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCallbackState.php b/src/gen/lib/Model/CreateCallbackState.php index e943ef437c..68693ee42c 100644 --- a/src/gen/lib/Model/CreateCallbackState.php +++ b/src/gen/lib/Model/CreateCallbackState.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCallbackStateResponse.php b/src/gen/lib/Model/CreateCallbackStateResponse.php index f7b4102d15..722160892c 100644 --- a/src/gen/lib/Model/CreateCallbackStateResponse.php +++ b/src/gen/lib/Model/CreateCallbackStateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCallbackStateResponseData.php b/src/gen/lib/Model/CreateCallbackStateResponseData.php index 2f835604fa..1da4eea9db 100644 --- a/src/gen/lib/Model/CreateCallbackStateResponseData.php +++ b/src/gen/lib/Model/CreateCallbackStateResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCommentResponse.php b/src/gen/lib/Model/CreateCommentResponse.php index caaf1ea728..c7294d6f2d 100644 --- a/src/gen/lib/Model/CreateCommentResponse.php +++ b/src/gen/lib/Model/CreateCommentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCompanyResponse.php b/src/gen/lib/Model/CreateCompanyResponse.php index 3a2a32c259..c9b5ba5a4e 100644 --- a/src/gen/lib/Model/CreateCompanyResponse.php +++ b/src/gen/lib/Model/CreateCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateConnectionResponse.php b/src/gen/lib/Model/CreateConnectionResponse.php index 69f32ed783..c0f84e68f4 100644 --- a/src/gen/lib/Model/CreateConnectionResponse.php +++ b/src/gen/lib/Model/CreateConnectionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateConsumerResponse.php b/src/gen/lib/Model/CreateConsumerResponse.php index 6965a22177..335003439b 100644 --- a/src/gen/lib/Model/CreateConsumerResponse.php +++ b/src/gen/lib/Model/CreateConsumerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateContactResponse.php b/src/gen/lib/Model/CreateContactResponse.php index ab4905a16e..85beda6383 100644 --- a/src/gen/lib/Model/CreateContactResponse.php +++ b/src/gen/lib/Model/CreateContactResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCreditNoteResponse.php b/src/gen/lib/Model/CreateCreditNoteResponse.php index 80f62150ff..0eba78642d 100644 --- a/src/gen/lib/Model/CreateCreditNoteResponse.php +++ b/src/gen/lib/Model/CreateCreditNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCustomMappingRequest.php b/src/gen/lib/Model/CreateCustomMappingRequest.php index 3331d0c30a..95a0ce523a 100644 --- a/src/gen/lib/Model/CreateCustomMappingRequest.php +++ b/src/gen/lib/Model/CreateCustomMappingRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCustomMappingResponse.php b/src/gen/lib/Model/CreateCustomMappingResponse.php index cb905101d7..acc12e9cfe 100644 --- a/src/gen/lib/Model/CreateCustomMappingResponse.php +++ b/src/gen/lib/Model/CreateCustomMappingResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCustomObjectResponse.php b/src/gen/lib/Model/CreateCustomObjectResponse.php new file mode 100644 index 0000000000..a4525b83ac --- /dev/null +++ b/src/gen/lib/Model/CreateCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateCustomObjectResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CreateCustomObjectSchemaResponse.php b/src/gen/lib/Model/CreateCustomObjectSchemaResponse.php new file mode 100644 index 0000000000..84fae9becd --- /dev/null +++ b/src/gen/lib/Model/CreateCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateCustomObjectSchemaResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\CustomObjectSchema', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\CustomObjectSchema + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObjectSchema $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CreateCustomerResponse.php b/src/gen/lib/Model/CreateCustomerResponse.php index bce236cf3f..848ad23b86 100644 --- a/src/gen/lib/Model/CreateCustomerResponse.php +++ b/src/gen/lib/Model/CreateCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateDepartmentResponse.php b/src/gen/lib/Model/CreateDepartmentResponse.php index 23442617fc..b56e7761cd 100644 --- a/src/gen/lib/Model/CreateDepartmentResponse.php +++ b/src/gen/lib/Model/CreateDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateDriveGroupResponse.php b/src/gen/lib/Model/CreateDriveGroupResponse.php index 0cabe3f078..11889e6719 100644 --- a/src/gen/lib/Model/CreateDriveGroupResponse.php +++ b/src/gen/lib/Model/CreateDriveGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateDriveResponse.php b/src/gen/lib/Model/CreateDriveResponse.php index d4961164e6..6290ebccaf 100644 --- a/src/gen/lib/Model/CreateDriveResponse.php +++ b/src/gen/lib/Model/CreateDriveResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateEcommerceCustomerResponse.php b/src/gen/lib/Model/CreateEcommerceCustomerResponse.php index adbf7c73e3..1905fcc2e3 100644 --- a/src/gen/lib/Model/CreateEcommerceCustomerResponse.php +++ b/src/gen/lib/Model/CreateEcommerceCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateEcommerceOrderResponse.php b/src/gen/lib/Model/CreateEcommerceOrderResponse.php index 17b8a5b67a..b89162d68e 100644 --- a/src/gen/lib/Model/CreateEcommerceOrderResponse.php +++ b/src/gen/lib/Model/CreateEcommerceOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateEmployeeResponse.php b/src/gen/lib/Model/CreateEmployeeResponse.php index b03a67e6a3..31d5fcf747 100644 --- a/src/gen/lib/Model/CreateEmployeeResponse.php +++ b/src/gen/lib/Model/CreateEmployeeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateExpenseResponse.php b/src/gen/lib/Model/CreateExpenseResponse.php index aea45744f1..1c7a39e4d4 100644 --- a/src/gen/lib/Model/CreateExpenseResponse.php +++ b/src/gen/lib/Model/CreateExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateFileRequest.php b/src/gen/lib/Model/CreateFileRequest.php index 51927bfbfe..0b47d258c0 100644 --- a/src/gen/lib/Model/CreateFileRequest.php +++ b/src/gen/lib/Model/CreateFileRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateFileResponse.php b/src/gen/lib/Model/CreateFileResponse.php index 01b5393bb2..58ee0ae5fb 100644 --- a/src/gen/lib/Model/CreateFileResponse.php +++ b/src/gen/lib/Model/CreateFileResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateFolderRequest.php b/src/gen/lib/Model/CreateFolderRequest.php index cc881aa9e2..0f6986e8ca 100644 --- a/src/gen/lib/Model/CreateFolderRequest.php +++ b/src/gen/lib/Model/CreateFolderRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateFolderResponse.php b/src/gen/lib/Model/CreateFolderResponse.php index e42c532a64..c738abaa23 100644 --- a/src/gen/lib/Model/CreateFolderResponse.php +++ b/src/gen/lib/Model/CreateFolderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateHrisCompanyResponse.php b/src/gen/lib/Model/CreateHrisCompanyResponse.php index 963095277d..c1bef1c72e 100644 --- a/src/gen/lib/Model/CreateHrisCompanyResponse.php +++ b/src/gen/lib/Model/CreateHrisCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateInvoiceItemResponse.php b/src/gen/lib/Model/CreateInvoiceItemResponse.php index a18ebce68e..e008f7d8a9 100644 --- a/src/gen/lib/Model/CreateInvoiceItemResponse.php +++ b/src/gen/lib/Model/CreateInvoiceItemResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateInvoiceResponse.php b/src/gen/lib/Model/CreateInvoiceResponse.php index 349f3c1f6c..f87143d996 100644 --- a/src/gen/lib/Model/CreateInvoiceResponse.php +++ b/src/gen/lib/Model/CreateInvoiceResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateItemResponse.php b/src/gen/lib/Model/CreateItemResponse.php index 10a610892d..7ac839225f 100644 --- a/src/gen/lib/Model/CreateItemResponse.php +++ b/src/gen/lib/Model/CreateItemResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateJobResponse.php b/src/gen/lib/Model/CreateJobResponse.php index a1b77de4c2..0a56d5d982 100644 --- a/src/gen/lib/Model/CreateJobResponse.php +++ b/src/gen/lib/Model/CreateJobResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateJournalEntryResponse.php b/src/gen/lib/Model/CreateJournalEntryResponse.php index cb475fd7fb..3aaa91c70a 100644 --- a/src/gen/lib/Model/CreateJournalEntryResponse.php +++ b/src/gen/lib/Model/CreateJournalEntryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateLeadResponse.php b/src/gen/lib/Model/CreateLeadResponse.php index 9b82b09d7f..4859839cd6 100644 --- a/src/gen/lib/Model/CreateLeadResponse.php +++ b/src/gen/lib/Model/CreateLeadResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateLedgerAccountResponse.php b/src/gen/lib/Model/CreateLedgerAccountResponse.php index 9cf5efae9f..71a698b053 100644 --- a/src/gen/lib/Model/CreateLedgerAccountResponse.php +++ b/src/gen/lib/Model/CreateLedgerAccountResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateLocationResponse.php b/src/gen/lib/Model/CreateLocationResponse.php index 6ca2a7a22c..2f714fac62 100644 --- a/src/gen/lib/Model/CreateLocationResponse.php +++ b/src/gen/lib/Model/CreateLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateMerchantResponse.php b/src/gen/lib/Model/CreateMerchantResponse.php index 9ff0e493fa..66821e25c7 100644 --- a/src/gen/lib/Model/CreateMerchantResponse.php +++ b/src/gen/lib/Model/CreateMerchantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateMessageResponse.php b/src/gen/lib/Model/CreateMessageResponse.php index 76056c448f..479fd82e0e 100644 --- a/src/gen/lib/Model/CreateMessageResponse.php +++ b/src/gen/lib/Model/CreateMessageResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateModifierGroupResponse.php b/src/gen/lib/Model/CreateModifierGroupResponse.php index 5781d18f11..507ec6ac1b 100644 --- a/src/gen/lib/Model/CreateModifierGroupResponse.php +++ b/src/gen/lib/Model/CreateModifierGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateModifierResponse.php b/src/gen/lib/Model/CreateModifierResponse.php index 5685430abf..df9b4d5e7a 100644 --- a/src/gen/lib/Model/CreateModifierResponse.php +++ b/src/gen/lib/Model/CreateModifierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateNoteResponse.php b/src/gen/lib/Model/CreateNoteResponse.php index 4f1425cda6..da9c0c93e6 100644 --- a/src/gen/lib/Model/CreateNoteResponse.php +++ b/src/gen/lib/Model/CreateNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateOpportunityResponse.php b/src/gen/lib/Model/CreateOpportunityResponse.php index 123540264f..9dea4ea316 100644 --- a/src/gen/lib/Model/CreateOpportunityResponse.php +++ b/src/gen/lib/Model/CreateOpportunityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateOrderResponse.php b/src/gen/lib/Model/CreateOrderResponse.php index 43c310ea53..59e185ed16 100644 --- a/src/gen/lib/Model/CreateOrderResponse.php +++ b/src/gen/lib/Model/CreateOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateOrderTypeResponse.php b/src/gen/lib/Model/CreateOrderTypeResponse.php index 1f86cf6787..314b86a0ef 100644 --- a/src/gen/lib/Model/CreateOrderTypeResponse.php +++ b/src/gen/lib/Model/CreateOrderTypeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreatePaymentResponse.php b/src/gen/lib/Model/CreatePaymentResponse.php index b7f8b7c320..f52dd22da8 100644 --- a/src/gen/lib/Model/CreatePaymentResponse.php +++ b/src/gen/lib/Model/CreatePaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreatePipelineResponse.php b/src/gen/lib/Model/CreatePipelineResponse.php index 82bdcf5753..bbd6bba981 100644 --- a/src/gen/lib/Model/CreatePipelineResponse.php +++ b/src/gen/lib/Model/CreatePipelineResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreatePosPaymentResponse.php b/src/gen/lib/Model/CreatePosPaymentResponse.php index ba0c36fbce..7e05df8689 100644 --- a/src/gen/lib/Model/CreatePosPaymentResponse.php +++ b/src/gen/lib/Model/CreatePosPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateProductResponse.php b/src/gen/lib/Model/CreateProductResponse.php index d0a66bfe7c..d789eae4db 100644 --- a/src/gen/lib/Model/CreateProductResponse.php +++ b/src/gen/lib/Model/CreateProductResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreatePurchaseOrderResponse.php b/src/gen/lib/Model/CreatePurchaseOrderResponse.php index 0c3ea0406f..b240132c9e 100644 --- a/src/gen/lib/Model/CreatePurchaseOrderResponse.php +++ b/src/gen/lib/Model/CreatePurchaseOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateSessionResponse.php b/src/gen/lib/Model/CreateSessionResponse.php index 2b25d5e9d8..65441f36d2 100644 --- a/src/gen/lib/Model/CreateSessionResponse.php +++ b/src/gen/lib/Model/CreateSessionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateSessionResponseData.php b/src/gen/lib/Model/CreateSessionResponseData.php index 9a918badef..552f27e6d0 100644 --- a/src/gen/lib/Model/CreateSessionResponseData.php +++ b/src/gen/lib/Model/CreateSessionResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateSharedLinkResponse.php b/src/gen/lib/Model/CreateSharedLinkResponse.php index 4d5e93f9c6..53cc1a1ad8 100644 --- a/src/gen/lib/Model/CreateSharedLinkResponse.php +++ b/src/gen/lib/Model/CreateSharedLinkResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateSubsidiaryResponse.php b/src/gen/lib/Model/CreateSubsidiaryResponse.php index ab680a86d3..914105ddcf 100644 --- a/src/gen/lib/Model/CreateSubsidiaryResponse.php +++ b/src/gen/lib/Model/CreateSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateSupplierResponse.php b/src/gen/lib/Model/CreateSupplierResponse.php index 2991385ebc..d50522fe43 100644 --- a/src/gen/lib/Model/CreateSupplierResponse.php +++ b/src/gen/lib/Model/CreateSupplierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateTaxRateResponse.php b/src/gen/lib/Model/CreateTaxRateResponse.php index c9baf126c5..04699d99c8 100644 --- a/src/gen/lib/Model/CreateTaxRateResponse.php +++ b/src/gen/lib/Model/CreateTaxRateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateTenderResponse.php b/src/gen/lib/Model/CreateTenderResponse.php index 4900eb816d..035f75264d 100644 --- a/src/gen/lib/Model/CreateTenderResponse.php +++ b/src/gen/lib/Model/CreateTenderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateTicketResponse.php b/src/gen/lib/Model/CreateTicketResponse.php index 6476a99408..0e9e970df6 100644 --- a/src/gen/lib/Model/CreateTicketResponse.php +++ b/src/gen/lib/Model/CreateTicketResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateTimeOffRequestResponse.php b/src/gen/lib/Model/CreateTimeOffRequestResponse.php index 860cea6c7c..d8f4d7f837 100644 --- a/src/gen/lib/Model/CreateTimeOffRequestResponse.php +++ b/src/gen/lib/Model/CreateTimeOffRequestResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateTrackingCategoryResponse.php b/src/gen/lib/Model/CreateTrackingCategoryResponse.php index 3e685a4ceb..b14cb394a8 100644 --- a/src/gen/lib/Model/CreateTrackingCategoryResponse.php +++ b/src/gen/lib/Model/CreateTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateUploadSessionRequest.php b/src/gen/lib/Model/CreateUploadSessionRequest.php index 558b1acc74..b323321b3d 100644 --- a/src/gen/lib/Model/CreateUploadSessionRequest.php +++ b/src/gen/lib/Model/CreateUploadSessionRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateUploadSessionResponse.php b/src/gen/lib/Model/CreateUploadSessionResponse.php index dfce36487b..8177589169 100644 --- a/src/gen/lib/Model/CreateUploadSessionResponse.php +++ b/src/gen/lib/Model/CreateUploadSessionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateUserResponse.php b/src/gen/lib/Model/CreateUserResponse.php index 7401051ff9..617e776232 100644 --- a/src/gen/lib/Model/CreateUserResponse.php +++ b/src/gen/lib/Model/CreateUserResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateWebhookRequest.php b/src/gen/lib/Model/CreateWebhookRequest.php index e489622a72..d2cc49ead6 100644 --- a/src/gen/lib/Model/CreateWebhookRequest.php +++ b/src/gen/lib/Model/CreateWebhookRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateWebhookResponse.php b/src/gen/lib/Model/CreateWebhookResponse.php index 7d4f9f224f..1485397e89 100644 --- a/src/gen/lib/Model/CreateWebhookResponse.php +++ b/src/gen/lib/Model/CreateWebhookResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreditNote.php b/src/gen/lib/Model/CreditNote.php index 4accaf2510..5acc4215ba 100644 --- a/src/gen/lib/Model/CreditNote.php +++ b/src/gen/lib/Model/CreditNote.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class CreditNote implements ModelInterface, ArrayAccess, \JsonSerializable 'billing_address' => '\Apideck\Client\Model\Address', 'shipping_address' => '\Apideck\Client\Model\Address', 'tracking_categories' => '\Apideck\Client\Model\LinkedTrackingCategory[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -1111,7 +1111,7 @@ public function setTrackingCategories($tracking_categories) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1121,7 +1121,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CreditNotesFilter.php b/src/gen/lib/Model/CreditNotesFilter.php index 35c977dd57..4264aed507 100644 --- a/src/gen/lib/Model/CreditNotesFilter.php +++ b/src/gen/lib/Model/CreditNotesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreditNotesSort.php b/src/gen/lib/Model/CreditNotesSort.php index bcbd2eea1e..0625a23273 100644 --- a/src/gen/lib/Model/CreditNotesSort.php +++ b/src/gen/lib/Model/CreditNotesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreditOrDebit.php b/src/gen/lib/Model/CreditOrDebit.php new file mode 100644 index 0000000000..410a4a6af4 --- /dev/null +++ b/src/gen/lib/Model/CreditOrDebit.php @@ -0,0 +1,64 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObject implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObject'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'owner_id' => 'string', + 'name' => 'string', + 'fields' => '\Apideck\Client\Model\CustomObjectFields[]', + 'updated_by' => 'string', + 'created_by' => 'string', + 'updated_at' => 'string', + 'created_at' => 'string', + 'pass_through' => 'object[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'owner_id' => null, + 'name' => null, + 'fields' => null, + 'updated_by' => null, + 'created_by' => null, + 'updated_at' => null, + 'created_at' => null, + 'pass_through' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'owner_id' => 'owner_id', + 'name' => 'name', + 'fields' => 'fields', + 'updated_by' => 'updated_by', + 'created_by' => 'created_by', + 'updated_at' => 'updated_at', + 'created_at' => 'created_at', + 'pass_through' => 'pass_through' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'owner_id' => 'setOwnerId', + 'name' => 'setName', + 'fields' => 'setFields', + 'updated_by' => 'setUpdatedBy', + 'created_by' => 'setCreatedBy', + 'updated_at' => 'setUpdatedAt', + 'created_at' => 'setCreatedAt', + 'pass_through' => 'setPassThrough' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'owner_id' => 'getOwnerId', + 'name' => 'getName', + 'fields' => 'getFields', + 'updated_by' => 'getUpdatedBy', + 'created_by' => 'getCreatedBy', + 'updated_at' => 'getUpdatedAt', + 'created_at' => 'getCreatedAt', + 'pass_through' => 'getPassThrough' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['owner_id'] = $data['owner_id'] ?? null; + $this->container['name'] = $data['name'] ?? null; + $this->container['fields'] = $data['fields'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; + $this->container['updated_at'] = $data['updated_at'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + $this->container['pass_through'] = $data['pass_through'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string|null + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string|null $id The unique identifier of the custom object + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets owner_id + * + * @return string|null + */ + public function getOwnerId() + { + return $this->container['owner_id']; + } + + /** + * Sets owner_id + * + * @param string|null $owner_id The unique identifier of the owner of the custom object + * + * @return self + */ + public function setOwnerId($owner_id) + { + $this->container['owner_id'] = $owner_id; + + return $this; + } + + /** + * Gets name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name The name of the custom object + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets fields + * + * @return \Apideck\Client\Model\CustomObjectFields[]|null + */ + public function getFields() + { + return $this->container['fields']; + } + + /** + * Sets fields + * + * @param \Apideck\Client\Model\CustomObjectFields[]|null $fields fields + * + * @return self + */ + public function setFields($fields) + { + $this->container['fields'] = $fields; + + return $this; + } + + /** + * Gets updated_by + * + * @return string|null + */ + public function getUpdatedBy() + { + return $this->container['updated_by']; + } + + /** + * Sets updated_by + * + * @param string|null $updated_by The unique identifier of the user who last updated the custom object + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + $this->container['updated_by'] = $updated_by; + + return $this; + } + + /** + * Gets created_by + * + * @return string|null + */ + public function getCreatedBy() + { + return $this->container['created_by']; + } + + /** + * Sets created_by + * + * @param string|null $created_by The unique identifier of the user who created the custom object + * + * @return self + */ + public function setCreatedBy($created_by) + { + $this->container['created_by'] = $created_by; + + return $this; + } + + /** + * Gets updated_at + * + * @return string|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param string|null $updated_at The timestamp when the custom object was last updated + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets created_at + * + * @return string|null + */ + public function getCreatedAt() + { + return $this->container['created_at']; + } + + /** + * Sets created_at + * + * @param string|null $created_at The timestamp when the custom object was created + * + * @return self + */ + public function setCreatedAt($created_at) + { + $this->container['created_at'] = $created_at; + + return $this; + } + + /** + * Gets pass_through + * + * @return object[]|null + */ + public function getPassThrough() + { + return $this->container['pass_through']; + } + + /** + * Sets pass_through + * + * @param object[]|null $pass_through The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + * + * @return self + */ + public function setPassThrough($pass_through) + { + $this->container['pass_through'] = $pass_through; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CustomObjectFields.php b/src/gen/lib/Model/CustomObjectFields.php new file mode 100644 index 0000000000..b66b346a0f --- /dev/null +++ b/src/gen/lib/Model/CustomObjectFields.php @@ -0,0 +1,351 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectFields implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObject_fields'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'name' => 'string', + 'value' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'name' => null, + 'value' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'name' => 'name', + 'value' => 'value' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'name' => 'setName', + 'value' => 'setValue' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'name' => 'getName', + 'value' => 'getValue' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['name'] = $data['name'] ?? null; + $this->container['value'] = $data['value'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name name + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets value + * + * @return string|null + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param string|null $value value + * + * @return self + */ + public function setValue($value) + { + $this->container['value'] = $value; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CustomObjectSchema.php b/src/gen/lib/Model/CustomObjectSchema.php new file mode 100644 index 0000000000..018f42ed2f --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchema.php @@ -0,0 +1,621 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchema implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchema'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'name' => 'string', + 'description' => 'string', + 'fields' => '\Apideck\Client\Model\CustomObjectSchemaFields[]', + 'visible' => 'bool', + 'active' => 'bool', + 'created_by' => 'string', + 'updated_by' => 'string', + 'updated_at' => 'string', + 'created_at' => 'string', + 'pass_through' => 'object[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'name' => null, + 'description' => null, + 'fields' => null, + 'visible' => null, + 'active' => null, + 'created_by' => null, + 'updated_by' => null, + 'updated_at' => null, + 'created_at' => null, + 'pass_through' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'name' => 'name', + 'description' => 'description', + 'fields' => 'fields', + 'visible' => 'visible', + 'active' => 'active', + 'created_by' => 'created_by', + 'updated_by' => 'updated_by', + 'updated_at' => 'updated_at', + 'created_at' => 'created_at', + 'pass_through' => 'pass_through' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'name' => 'setName', + 'description' => 'setDescription', + 'fields' => 'setFields', + 'visible' => 'setVisible', + 'active' => 'setActive', + 'created_by' => 'setCreatedBy', + 'updated_by' => 'setUpdatedBy', + 'updated_at' => 'setUpdatedAt', + 'created_at' => 'setCreatedAt', + 'pass_through' => 'setPassThrough' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'name' => 'getName', + 'description' => 'getDescription', + 'fields' => 'getFields', + 'visible' => 'getVisible', + 'active' => 'getActive', + 'created_by' => 'getCreatedBy', + 'updated_by' => 'getUpdatedBy', + 'updated_at' => 'getUpdatedAt', + 'created_at' => 'getCreatedAt', + 'pass_through' => 'getPassThrough' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['name'] = $data['name'] ?? null; + $this->container['description'] = $data['description'] ?? null; + $this->container['fields'] = $data['fields'] ?? null; + $this->container['visible'] = $data['visible'] ?? null; + $this->container['active'] = $data['active'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + $this->container['updated_at'] = $data['updated_at'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + $this->container['pass_through'] = $data['pass_through'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string|null + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string|null $id The unique identifier of the custom object schema + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name The name of the custom object schema + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description The description of the custom object schema + * + * @return self + */ + public function setDescription($description) + { + $this->container['description'] = $description; + + return $this; + } + + /** + * Gets fields + * + * @return \Apideck\Client\Model\CustomObjectSchemaFields[]|null + */ + public function getFields() + { + return $this->container['fields']; + } + + /** + * Sets fields + * + * @param \Apideck\Client\Model\CustomObjectSchemaFields[]|null $fields The fields defined in the schema + * + * @return self + */ + public function setFields($fields) + { + $this->container['fields'] = $fields; + + return $this; + } + + /** + * Gets visible + * + * @return bool|null + */ + public function getVisible() + { + return $this->container['visible']; + } + + /** + * Sets visible + * + * @param bool|null $visible Whether the custom object schema is visible in the UI + * + * @return self + */ + public function setVisible($visible) + { + $this->container['visible'] = $visible; + + return $this; + } + + /** + * Gets active + * + * @return bool|null + */ + public function getActive() + { + return $this->container['active']; + } + + /** + * Sets active + * + * @param bool|null $active Whether the custom object schema is active + * + * @return self + */ + public function setActive($active) + { + $this->container['active'] = $active; + + return $this; + } + + /** + * Gets created_by + * + * @return string|null + */ + public function getCreatedBy() + { + return $this->container['created_by']; + } + + /** + * Sets created_by + * + * @param string|null $created_by The ID of the user who created the custom object schema + * + * @return self + */ + public function setCreatedBy($created_by) + { + $this->container['created_by'] = $created_by; + + return $this; + } + + /** + * Gets updated_by + * + * @return string|null + */ + public function getUpdatedBy() + { + return $this->container['updated_by']; + } + + /** + * Sets updated_by + * + * @param string|null $updated_by The ID of the user who last updated the custom object schema + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + $this->container['updated_by'] = $updated_by; + + return $this; + } + + /** + * Gets updated_at + * + * @return string|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param string|null $updated_at The timestamp when the custom object schema was last updated + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets created_at + * + * @return string|null + */ + public function getCreatedAt() + { + return $this->container['created_at']; + } + + /** + * Sets created_at + * + * @param string|null $created_at The timestamp when the custom object schema was created + * + * @return self + */ + public function setCreatedAt($created_at) + { + $this->container['created_at'] = $created_at; + + return $this; + } + + /** + * Gets pass_through + * + * @return object[]|null + */ + public function getPassThrough() + { + return $this->container['pass_through']; + } + + /** + * Sets pass_through + * + * @param object[]|null $pass_through The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + * + * @return self + */ + public function setPassThrough($pass_through) + { + $this->container['pass_through'] = $pass_through; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CustomObjectSchemaFields.php b/src/gen/lib/Model/CustomObjectSchemaFields.php new file mode 100644 index 0000000000..83782db6d5 --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchemaFields.php @@ -0,0 +1,555 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchemaFields implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchema_fields'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'name' => 'string', + 'description' => 'string', + 'type' => 'string', + 'required' => 'bool', + 'options' => '\Apideck\Client\Model\CustomObjectSchemaOptions[]', + 'default_value' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'name' => null, + 'description' => null, + 'type' => null, + 'required' => null, + 'options' => null, + 'default_value' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'name' => 'name', + 'description' => 'description', + 'type' => 'type', + 'required' => 'required', + 'options' => 'options', + 'default_value' => 'default_value' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'name' => 'setName', + 'description' => 'setDescription', + 'type' => 'setType', + 'required' => 'setRequired', + 'options' => 'setOptions', + 'default_value' => 'setDefaultValue' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'name' => 'getName', + 'description' => 'getDescription', + 'type' => 'getType', + 'required' => 'getRequired', + 'options' => 'getOptions', + 'default_value' => 'getDefaultValue' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + const TYPE_STRING = 'string'; + const TYPE_NUMBER = 'number'; + const TYPE_INTEGER = 'integer'; + const TYPE_BOOLEAN = 'boolean'; + const TYPE_DATE = 'date'; + const TYPE_DATETIME = 'datetime'; + const TYPE_CURRENCY = 'currency'; + const TYPE_EMAIL = 'email'; + const TYPE_PHONE = 'phone'; + const TYPE_REFERENCE = 'reference'; + const TYPE_SELECT = 'select'; + const TYPE_MULTISELECT = 'multiselect'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getTypeAllowableValues() + { + return [ + self::TYPE_STRING, + self::TYPE_NUMBER, + self::TYPE_INTEGER, + self::TYPE_BOOLEAN, + self::TYPE_DATE, + self::TYPE_DATETIME, + self::TYPE_CURRENCY, + self::TYPE_EMAIL, + self::TYPE_PHONE, + self::TYPE_REFERENCE, + self::TYPE_SELECT, + self::TYPE_MULTISELECT, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['name'] = $data['name'] ?? null; + $this->container['description'] = $data['description'] ?? null; + $this->container['type'] = $data['type'] ?? null; + $this->container['required'] = $data['required'] ?? null; + $this->container['options'] = $data['options'] ?? null; + $this->container['default_value'] = $data['default_value'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getTypeAllowableValues(); + if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'type', must be one of '%s'", + $this->container['type'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string|null + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string|null $id id + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name name + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description description + * + * @return self + */ + public function setDescription($description) + { + $this->container['description'] = $description; + + return $this; + } + + /** + * Gets type + * + * @return string|null + */ + public function getType() + { + return $this->container['type']; + } + + /** + * Sets type + * + * @param string|null $type type + * + * @return self + */ + public function setType($type) + { + $allowedValues = $this->getTypeAllowableValues(); + if (!is_null($type) && !in_array($type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'type', must be one of '%s'", + $type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['type'] = $type; + + return $this; + } + + /** + * Gets required + * + * @return bool|null + */ + public function getRequired() + { + return $this->container['required']; + } + + /** + * Sets required + * + * @param bool|null $required required + * + * @return self + */ + public function setRequired($required) + { + $this->container['required'] = $required; + + return $this; + } + + /** + * Gets options + * + * @return \Apideck\Client\Model\CustomObjectSchemaOptions[]|null + */ + public function getOptions() + { + return $this->container['options']; + } + + /** + * Sets options + * + * @param \Apideck\Client\Model\CustomObjectSchemaOptions[]|null $options Options for select and multiselect types + * + * @return self + */ + public function setOptions($options) + { + $this->container['options'] = $options; + + return $this; + } + + /** + * Gets default_value + * + * @return string|null + */ + public function getDefaultValue() + { + return $this->container['default_value']; + } + + /** + * Sets default_value + * + * @param string|null $default_value Default value for the field + * + * @return self + */ + public function setDefaultValue($default_value) + { + $this->container['default_value'] = $default_value; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CustomObjectSchemaOptions.php b/src/gen/lib/Model/CustomObjectSchemaOptions.php new file mode 100644 index 0000000000..771d093b63 --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchemaOptions.php @@ -0,0 +1,351 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchemaOptions implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchema_options'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'value' => 'string', + 'label' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'value' => null, + 'label' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'value' => 'value', + 'label' => 'label' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'value' => 'setValue', + 'label' => 'setLabel' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'value' => 'getValue', + 'label' => 'getLabel' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['value'] = $data['value'] ?? null; + $this->container['label'] = $data['label'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets value + * + * @return string|null + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param string|null $value value + * + * @return self + */ + public function setValue($value) + { + $this->container['value'] = $value; + + return $this; + } + + /** + * Gets label + * + * @return string|null + */ + public function getLabel() + { + return $this->container['label']; + } + + /** + * Sets label + * + * @param string|null $label label + * + * @return self + */ + public function setLabel($label) + { + $this->container['label'] = $label; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CustomObjectSchemasSort.php b/src/gen/lib/Model/CustomObjectSchemasSort.php new file mode 100644 index 0000000000..fb25be4646 --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchemasSort.php @@ -0,0 +1,387 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchemasSort implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchemasSort'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'by' => 'string', + 'direction' => '\Apideck\Client\Model\SortDirection' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'by' => null, + 'direction' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'by' => 'by', + 'direction' => 'direction' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'by' => 'setBy', + 'direction' => 'setDirection' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'by' => 'getBy', + 'direction' => 'getDirection' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + const BY_CREATED_AT = 'created_at'; + const BY_UPDATED_AT = 'updated_at'; + const BY_NAME = 'name'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getByAllowableValues() + { + return [ + self::BY_CREATED_AT, + self::BY_UPDATED_AT, + self::BY_NAME, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['by'] = $data['by'] ?? null; + $this->container['direction'] = $data['direction'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getByAllowableValues(); + if (!is_null($this->container['by']) && !in_array($this->container['by'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'by', must be one of '%s'", + $this->container['by'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets by + * + * @return string|null + */ + public function getBy() + { + return $this->container['by']; + } + + /** + * Sets by + * + * @param string|null $by The field on which to sort the Custom Object Schemas + * + * @return self + */ + public function setBy($by) + { + $allowedValues = $this->getByAllowableValues(); + if (!is_null($by) && !in_array($by, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'by', must be one of '%s'", + $by, + implode("', '", $allowedValues) + ) + ); + } + $this->container['by'] = $by; + + return $this; + } + + /** + * Gets direction + * + * @return \Apideck\Client\Model\SortDirection|null + */ + public function getDirection() + { + return $this->container['direction']; + } + + /** + * Sets direction + * + * @param \Apideck\Client\Model\SortDirection|null $direction direction + * + * @return self + */ + public function setDirection($direction) + { + $this->container['direction'] = $direction; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/CustomObjectsSort.php b/src/gen/lib/Model/CustomObjectsSort.php new file mode 100644 index 0000000000..7a0ae368fd --- /dev/null +++ b/src/gen/lib/Model/CustomObjectsSort.php @@ -0,0 +1,387 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectsSort implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectsSort'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'by' => 'string', + 'direction' => '\Apideck\Client\Model\SortDirection' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'by' => null, + 'direction' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'by' => 'by', + 'direction' => 'direction' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'by' => 'setBy', + 'direction' => 'setDirection' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'by' => 'getBy', + 'direction' => 'getDirection' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + const BY_CREATED_AT = 'created_at'; + const BY_UPDATED_AT = 'updated_at'; + const BY_NAME = 'name'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getByAllowableValues() + { + return [ + self::BY_CREATED_AT, + self::BY_UPDATED_AT, + self::BY_NAME, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['by'] = $data['by'] ?? null; + $this->container['direction'] = $data['direction'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getByAllowableValues(); + if (!is_null($this->container['by']) && !in_array($this->container['by'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'by', must be one of '%s'", + $this->container['by'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets by + * + * @return string|null + */ + public function getBy() + { + return $this->container['by']; + } + + /** + * Sets by + * + * @param string|null $by The field on which to sort the Custom Objects + * + * @return self + */ + public function setBy($by) + { + $allowedValues = $this->getByAllowableValues(); + if (!is_null($by) && !in_array($by, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'by', must be one of '%s'", + $by, + implode("', '", $allowedValues) + ) + ); + } + $this->container['by'] = $by; + + return $this; + } + + /** + * Gets direction + * + * @return \Apideck\Client\Model\SortDirection|null + */ + public function getDirection() + { + return $this->container['direction']; + } + + /** + * Sets direction + * + * @param \Apideck\Client\Model\SortDirection|null $direction direction + * + * @return self + */ + public function setDirection($direction) + { + $this->container['direction'] = $direction; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/Customer.php b/src/gen/lib/Model/Customer.php index 09b7431ed3..e576709b83 100644 --- a/src/gen/lib/Model/Customer.php +++ b/src/gen/lib/Model/Customer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -88,7 +88,7 @@ class Customer implements ModelInterface, ArrayAccess, \JsonSerializable 'payment_method' => 'string', 'channel' => 'string', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1128,7 +1128,7 @@ public function setCustomFields($custom_fields) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1138,7 +1138,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CustomersFilter.php b/src/gen/lib/Model/CustomersFilter.php index 5ffc3c9b7b..3ac4402fc1 100644 --- a/src/gen/lib/Model/CustomersFilter.php +++ b/src/gen/lib/Model/CustomersFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CustomersSort.php b/src/gen/lib/Model/CustomersSort.php index a41e5a4a4e..ab3fb8ced2 100644 --- a/src/gen/lib/Model/CustomersSort.php +++ b/src/gen/lib/Model/CustomersSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Deduction.php b/src/gen/lib/Model/Deduction.php index 0137f8da05..c249b29aa3 100644 --- a/src/gen/lib/Model/Deduction.php +++ b/src/gen/lib/Model/Deduction.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php b/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php index c3b68353c8..30c7efd82f 100644 --- a/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteAccountingLocationResponse.php b/src/gen/lib/Model/DeleteAccountingLocationResponse.php index 3110065e1d..933fa97716 100644 --- a/src/gen/lib/Model/DeleteAccountingLocationResponse.php +++ b/src/gen/lib/Model/DeleteAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteActivityResponse.php b/src/gen/lib/Model/DeleteActivityResponse.php index f6c3f0339b..d60f0fac83 100644 --- a/src/gen/lib/Model/DeleteActivityResponse.php +++ b/src/gen/lib/Model/DeleteActivityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteApplicantResponse.php b/src/gen/lib/Model/DeleteApplicantResponse.php index 7c14de5238..2a4fa2169d 100644 --- a/src/gen/lib/Model/DeleteApplicantResponse.php +++ b/src/gen/lib/Model/DeleteApplicantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteApplicationResponse.php b/src/gen/lib/Model/DeleteApplicationResponse.php index 2a71db1888..0de9bd1c69 100644 --- a/src/gen/lib/Model/DeleteApplicationResponse.php +++ b/src/gen/lib/Model/DeleteApplicationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteAttachmentResponse.php b/src/gen/lib/Model/DeleteAttachmentResponse.php index a3846d557a..99fc4edac3 100644 --- a/src/gen/lib/Model/DeleteAttachmentResponse.php +++ b/src/gen/lib/Model/DeleteAttachmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteBankFeedAccountResponse.php b/src/gen/lib/Model/DeleteBankFeedAccountResponse.php new file mode 100644 index 0000000000..22b43293c2 --- /dev/null +++ b/src/gen/lib/Model/DeleteBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteBankFeedAccountResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/DeleteBankFeedStatementResponse.php b/src/gen/lib/Model/DeleteBankFeedStatementResponse.php new file mode 100644 index 0000000000..2259e17a34 --- /dev/null +++ b/src/gen/lib/Model/DeleteBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteBankFeedStatementResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/DeleteBillPaymentResponse.php b/src/gen/lib/Model/DeleteBillPaymentResponse.php index 92daa2e792..bfa465913e 100644 --- a/src/gen/lib/Model/DeleteBillPaymentResponse.php +++ b/src/gen/lib/Model/DeleteBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteBillResponse.php b/src/gen/lib/Model/DeleteBillResponse.php index 00ad2481ce..d1a5da0062 100644 --- a/src/gen/lib/Model/DeleteBillResponse.php +++ b/src/gen/lib/Model/DeleteBillResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteCommentResponse.php b/src/gen/lib/Model/DeleteCommentResponse.php index 5d73a74f5e..d2119549e0 100644 --- a/src/gen/lib/Model/DeleteCommentResponse.php +++ b/src/gen/lib/Model/DeleteCommentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteCompanyResponse.php b/src/gen/lib/Model/DeleteCompanyResponse.php index 531297e2d1..b30575ea83 100644 --- a/src/gen/lib/Model/DeleteCompanyResponse.php +++ b/src/gen/lib/Model/DeleteCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteConsumerResponse.php b/src/gen/lib/Model/DeleteConsumerResponse.php index 5deaa034bf..f1d400acc4 100644 --- a/src/gen/lib/Model/DeleteConsumerResponse.php +++ b/src/gen/lib/Model/DeleteConsumerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteContactResponse.php b/src/gen/lib/Model/DeleteContactResponse.php index c52a744bf2..9b63929543 100644 --- a/src/gen/lib/Model/DeleteContactResponse.php +++ b/src/gen/lib/Model/DeleteContactResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteCreditNoteResponse.php b/src/gen/lib/Model/DeleteCreditNoteResponse.php index 5dc2538194..8af8004307 100644 --- a/src/gen/lib/Model/DeleteCreditNoteResponse.php +++ b/src/gen/lib/Model/DeleteCreditNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteCustomObjectResponse.php b/src/gen/lib/Model/DeleteCustomObjectResponse.php new file mode 100644 index 0000000000..ffec6ff96c --- /dev/null +++ b/src/gen/lib/Model/DeleteCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteCustomObjectResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/DeleteCustomObjectSchemaResponse.php b/src/gen/lib/Model/DeleteCustomObjectSchemaResponse.php new file mode 100644 index 0000000000..ba242bed15 --- /dev/null +++ b/src/gen/lib/Model/DeleteCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteCustomObjectSchemaResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/DeleteCustomerResponse.php b/src/gen/lib/Model/DeleteCustomerResponse.php index eb73c13b09..b879627ca7 100644 --- a/src/gen/lib/Model/DeleteCustomerResponse.php +++ b/src/gen/lib/Model/DeleteCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteDepartmentResponse.php b/src/gen/lib/Model/DeleteDepartmentResponse.php index e769708f77..690bd64c9b 100644 --- a/src/gen/lib/Model/DeleteDepartmentResponse.php +++ b/src/gen/lib/Model/DeleteDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteDriveGroupResponse.php b/src/gen/lib/Model/DeleteDriveGroupResponse.php index 30a5f8a1b4..15c196d440 100644 --- a/src/gen/lib/Model/DeleteDriveGroupResponse.php +++ b/src/gen/lib/Model/DeleteDriveGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteDriveResponse.php b/src/gen/lib/Model/DeleteDriveResponse.php index 376dbde3e3..a67e3b0b31 100644 --- a/src/gen/lib/Model/DeleteDriveResponse.php +++ b/src/gen/lib/Model/DeleteDriveResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php b/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php index 884681ed05..a6227ca3da 100644 --- a/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php +++ b/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteEcommerceOrderResponse.php b/src/gen/lib/Model/DeleteEcommerceOrderResponse.php index f0d47f7796..93e8093986 100644 --- a/src/gen/lib/Model/DeleteEcommerceOrderResponse.php +++ b/src/gen/lib/Model/DeleteEcommerceOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteEmployeeResponse.php b/src/gen/lib/Model/DeleteEmployeeResponse.php index f185ce6c66..1067ac6caa 100644 --- a/src/gen/lib/Model/DeleteEmployeeResponse.php +++ b/src/gen/lib/Model/DeleteEmployeeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteExpenseResponse.php b/src/gen/lib/Model/DeleteExpenseResponse.php index 7d0a379e92..6932f7f9f0 100644 --- a/src/gen/lib/Model/DeleteExpenseResponse.php +++ b/src/gen/lib/Model/DeleteExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteFileResponse.php b/src/gen/lib/Model/DeleteFileResponse.php index fd08f90bbb..4ae9e7a234 100644 --- a/src/gen/lib/Model/DeleteFileResponse.php +++ b/src/gen/lib/Model/DeleteFileResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteFolderResponse.php b/src/gen/lib/Model/DeleteFolderResponse.php index 7de317f6b5..5566459951 100644 --- a/src/gen/lib/Model/DeleteFolderResponse.php +++ b/src/gen/lib/Model/DeleteFolderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteHrisCompanyResponse.php b/src/gen/lib/Model/DeleteHrisCompanyResponse.php index 0fc9551a51..1493021d49 100644 --- a/src/gen/lib/Model/DeleteHrisCompanyResponse.php +++ b/src/gen/lib/Model/DeleteHrisCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteInvoiceResponse.php b/src/gen/lib/Model/DeleteInvoiceResponse.php index 03ebf29418..5be61ceb5a 100644 --- a/src/gen/lib/Model/DeleteInvoiceResponse.php +++ b/src/gen/lib/Model/DeleteInvoiceResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteItemResponse.php b/src/gen/lib/Model/DeleteItemResponse.php index 2ad3c7fe3f..d6a85f7183 100644 --- a/src/gen/lib/Model/DeleteItemResponse.php +++ b/src/gen/lib/Model/DeleteItemResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteJobResponse.php b/src/gen/lib/Model/DeleteJobResponse.php index 665ae7c204..9af62ee696 100644 --- a/src/gen/lib/Model/DeleteJobResponse.php +++ b/src/gen/lib/Model/DeleteJobResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteJournalEntryResponse.php b/src/gen/lib/Model/DeleteJournalEntryResponse.php index d625f8d303..21d481687c 100644 --- a/src/gen/lib/Model/DeleteJournalEntryResponse.php +++ b/src/gen/lib/Model/DeleteJournalEntryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteLeadResponse.php b/src/gen/lib/Model/DeleteLeadResponse.php index b24b3d4e4c..a72e93b125 100644 --- a/src/gen/lib/Model/DeleteLeadResponse.php +++ b/src/gen/lib/Model/DeleteLeadResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteLedgerAccountResponse.php b/src/gen/lib/Model/DeleteLedgerAccountResponse.php index 8d5f1fbe41..fced0bffa0 100644 --- a/src/gen/lib/Model/DeleteLedgerAccountResponse.php +++ b/src/gen/lib/Model/DeleteLedgerAccountResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteLocationResponse.php b/src/gen/lib/Model/DeleteLocationResponse.php index 85e1ba38c6..10685013d3 100644 --- a/src/gen/lib/Model/DeleteLocationResponse.php +++ b/src/gen/lib/Model/DeleteLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteMerchantResponse.php b/src/gen/lib/Model/DeleteMerchantResponse.php index 463b75054c..4cd7315dbd 100644 --- a/src/gen/lib/Model/DeleteMerchantResponse.php +++ b/src/gen/lib/Model/DeleteMerchantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteMessageResponse.php b/src/gen/lib/Model/DeleteMessageResponse.php index a55f7e59bb..b9064920c7 100644 --- a/src/gen/lib/Model/DeleteMessageResponse.php +++ b/src/gen/lib/Model/DeleteMessageResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteModifierGroupResponse.php b/src/gen/lib/Model/DeleteModifierGroupResponse.php index d15933c155..a913c328a1 100644 --- a/src/gen/lib/Model/DeleteModifierGroupResponse.php +++ b/src/gen/lib/Model/DeleteModifierGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteModifierResponse.php b/src/gen/lib/Model/DeleteModifierResponse.php index 842bda17e7..43bc0915d2 100644 --- a/src/gen/lib/Model/DeleteModifierResponse.php +++ b/src/gen/lib/Model/DeleteModifierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteNoteResponse.php b/src/gen/lib/Model/DeleteNoteResponse.php index a727be8bb2..e16cc8c522 100644 --- a/src/gen/lib/Model/DeleteNoteResponse.php +++ b/src/gen/lib/Model/DeleteNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteOpportunityResponse.php b/src/gen/lib/Model/DeleteOpportunityResponse.php index 7415cb495f..14708fffcb 100644 --- a/src/gen/lib/Model/DeleteOpportunityResponse.php +++ b/src/gen/lib/Model/DeleteOpportunityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteOrderResponse.php b/src/gen/lib/Model/DeleteOrderResponse.php index 86fee6d1d8..732ac45742 100644 --- a/src/gen/lib/Model/DeleteOrderResponse.php +++ b/src/gen/lib/Model/DeleteOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteOrderTypeResponse.php b/src/gen/lib/Model/DeleteOrderTypeResponse.php index e98d68a721..f2d41531d0 100644 --- a/src/gen/lib/Model/DeleteOrderTypeResponse.php +++ b/src/gen/lib/Model/DeleteOrderTypeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeletePaymentResponse.php b/src/gen/lib/Model/DeletePaymentResponse.php index c4ea2a3f4c..8462133a85 100644 --- a/src/gen/lib/Model/DeletePaymentResponse.php +++ b/src/gen/lib/Model/DeletePaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeletePipelineResponse.php b/src/gen/lib/Model/DeletePipelineResponse.php index 41a54d4bac..de9c8e5d45 100644 --- a/src/gen/lib/Model/DeletePipelineResponse.php +++ b/src/gen/lib/Model/DeletePipelineResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeletePosPaymentResponse.php b/src/gen/lib/Model/DeletePosPaymentResponse.php index 188181b4be..75446c5319 100644 --- a/src/gen/lib/Model/DeletePosPaymentResponse.php +++ b/src/gen/lib/Model/DeletePosPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteProductResponse.php b/src/gen/lib/Model/DeleteProductResponse.php index 4f8c54b402..219bf8abf6 100644 --- a/src/gen/lib/Model/DeleteProductResponse.php +++ b/src/gen/lib/Model/DeleteProductResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeletePurchaseOrderResponse.php b/src/gen/lib/Model/DeletePurchaseOrderResponse.php index 70bf14ca2d..76d0d86203 100644 --- a/src/gen/lib/Model/DeletePurchaseOrderResponse.php +++ b/src/gen/lib/Model/DeletePurchaseOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteSharedLinkResponse.php b/src/gen/lib/Model/DeleteSharedLinkResponse.php index 541f059bdb..faa77a036b 100644 --- a/src/gen/lib/Model/DeleteSharedLinkResponse.php +++ b/src/gen/lib/Model/DeleteSharedLinkResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteSubsidiaryResponse.php b/src/gen/lib/Model/DeleteSubsidiaryResponse.php index a4551ef9a1..df0a53a55a 100644 --- a/src/gen/lib/Model/DeleteSubsidiaryResponse.php +++ b/src/gen/lib/Model/DeleteSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteSupplierResponse.php b/src/gen/lib/Model/DeleteSupplierResponse.php index 0ccf5ac1c7..f206e9f8cd 100644 --- a/src/gen/lib/Model/DeleteSupplierResponse.php +++ b/src/gen/lib/Model/DeleteSupplierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteTaxRateResponse.php b/src/gen/lib/Model/DeleteTaxRateResponse.php index da1246e0b6..62ffdd252a 100644 --- a/src/gen/lib/Model/DeleteTaxRateResponse.php +++ b/src/gen/lib/Model/DeleteTaxRateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteTenderResponse.php b/src/gen/lib/Model/DeleteTenderResponse.php index d89db0f515..19ea523ef5 100644 --- a/src/gen/lib/Model/DeleteTenderResponse.php +++ b/src/gen/lib/Model/DeleteTenderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteTicketResponse.php b/src/gen/lib/Model/DeleteTicketResponse.php index 806c9fe324..8b3a088721 100644 --- a/src/gen/lib/Model/DeleteTicketResponse.php +++ b/src/gen/lib/Model/DeleteTicketResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteTimeOffRequestResponse.php b/src/gen/lib/Model/DeleteTimeOffRequestResponse.php index 5b3af0bb91..9af8f96c45 100644 --- a/src/gen/lib/Model/DeleteTimeOffRequestResponse.php +++ b/src/gen/lib/Model/DeleteTimeOffRequestResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteTrackingCategoryResponse.php b/src/gen/lib/Model/DeleteTrackingCategoryResponse.php index 0a4ec1b25f..7ed17fef71 100644 --- a/src/gen/lib/Model/DeleteTrackingCategoryResponse.php +++ b/src/gen/lib/Model/DeleteTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteUploadSessionResponse.php b/src/gen/lib/Model/DeleteUploadSessionResponse.php index 7852c0bc2a..d97fde4e56 100644 --- a/src/gen/lib/Model/DeleteUploadSessionResponse.php +++ b/src/gen/lib/Model/DeleteUploadSessionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteUserResponse.php b/src/gen/lib/Model/DeleteUserResponse.php index 3cfe64cdad..a8bef54e9f 100644 --- a/src/gen/lib/Model/DeleteUserResponse.php +++ b/src/gen/lib/Model/DeleteUserResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteWebhookResponse.php b/src/gen/lib/Model/DeleteWebhookResponse.php index ad2e208749..0d6c1ee3dd 100644 --- a/src/gen/lib/Model/DeleteWebhookResponse.php +++ b/src/gen/lib/Model/DeleteWebhookResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Department.php b/src/gen/lib/Model/Department.php index 1028ac9024..e1b42291cb 100644 --- a/src/gen/lib/Model/Department.php +++ b/src/gen/lib/Model/Department.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class Department implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'code' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -389,7 +389,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -399,7 +399,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/DeprecatedLinkedSupplier.php b/src/gen/lib/Model/DeprecatedLinkedSupplier.php index c9fd6ed374..f8a57c2e3c 100644 --- a/src/gen/lib/Model/DeprecatedLinkedSupplier.php +++ b/src/gen/lib/Model/DeprecatedLinkedSupplier.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php b/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php index a1fcb60e99..3ffe328f5d 100644 --- a/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php +++ b/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Drive.php b/src/gen/lib/Model/Drive.php index 9a19046e9a..7b37bd25c7 100644 --- a/src/gen/lib/Model/Drive.php +++ b/src/gen/lib/Model/Drive.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -63,7 +63,7 @@ class Drive implements ModelInterface, ArrayAccess, \JsonSerializable 'id' => 'string', 'name' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -335,7 +335,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -345,7 +345,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/DriveGroup.php b/src/gen/lib/Model/DriveGroup.php index cf0d25c99f..a18b46c3a8 100644 --- a/src/gen/lib/Model/DriveGroup.php +++ b/src/gen/lib/Model/DriveGroup.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -64,7 +64,7 @@ class DriveGroup implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'display_name' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -365,7 +365,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -375,7 +375,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/DriveGroupsFilter.php b/src/gen/lib/Model/DriveGroupsFilter.php index 939eb40951..b96f448fbf 100644 --- a/src/gen/lib/Model/DriveGroupsFilter.php +++ b/src/gen/lib/Model/DriveGroupsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DrivesFilter.php b/src/gen/lib/Model/DrivesFilter.php index 811b6111a0..9909915c25 100644 --- a/src/gen/lib/Model/DrivesFilter.php +++ b/src/gen/lib/Model/DrivesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceAddress.php b/src/gen/lib/Model/EcommerceAddress.php index 45c1f6503d..08d8d32a72 100644 --- a/src/gen/lib/Model/EcommerceAddress.php +++ b/src/gen/lib/Model/EcommerceAddress.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceCustomer.php b/src/gen/lib/Model/EcommerceCustomer.php index 523f74bc76..6e1a0719dd 100644 --- a/src/gen/lib/Model/EcommerceCustomer.php +++ b/src/gen/lib/Model/EcommerceCustomer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -71,7 +71,7 @@ class EcommerceCustomer implements ModelInterface, ArrayAccess, \JsonSerializabl 'phone_numbers' => '\Apideck\Client\Model\PhoneNumber[]', 'addresses' => '\Apideck\Client\Model\EcommerceCustomerAddresses[]', 'orders' => '\Apideck\Client\Model\LinkedEcommerceOrder[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -588,7 +588,7 @@ public function setOrders($orders) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -598,7 +598,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EcommerceCustomerAddresses.php b/src/gen/lib/Model/EcommerceCustomerAddresses.php index b62d7c3acd..2592e0fb9e 100644 --- a/src/gen/lib/Model/EcommerceCustomerAddresses.php +++ b/src/gen/lib/Model/EcommerceCustomerAddresses.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceCustomersFilter.php b/src/gen/lib/Model/EcommerceCustomersFilter.php index 0bef44803a..59046e0a57 100644 --- a/src/gen/lib/Model/EcommerceCustomersFilter.php +++ b/src/gen/lib/Model/EcommerceCustomersFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceDiscount.php b/src/gen/lib/Model/EcommerceDiscount.php index 643517d2db..4b5e650d25 100644 --- a/src/gen/lib/Model/EcommerceDiscount.php +++ b/src/gen/lib/Model/EcommerceDiscount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceEventType.php b/src/gen/lib/Model/EcommerceEventType.php index 97bf9549c9..380423a28c 100644 --- a/src/gen/lib/Model/EcommerceEventType.php +++ b/src/gen/lib/Model/EcommerceEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceOrder.php b/src/gen/lib/Model/EcommerceOrder.php index a5c6ba65e6..d7af255296 100644 --- a/src/gen/lib/Model/EcommerceOrder.php +++ b/src/gen/lib/Model/EcommerceOrder.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -81,7 +81,8 @@ class EcommerceOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'tracking' => '\Apideck\Client\Model\TrackingItem[]', 'line_items' => '\Apideck\Client\Model\EcommerceOrderLineItem[]', 'note' => 'string', - 'custom_mappings' => 'object', + 'refunds' => '\Apideck\Client\Model\EcommerceOrderRefund[]', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -115,6 +116,7 @@ class EcommerceOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'tracking' => null, 'line_items' => null, 'note' => null, + 'refunds' => null, 'custom_mappings' => null, 'created_at' => 'date-time', 'updated_at' => 'date-time' @@ -168,6 +170,7 @@ public static function openAPIFormats() 'tracking' => 'tracking', 'line_items' => 'line_items', 'note' => 'note', + 'refunds' => 'refunds', 'custom_mappings' => 'custom_mappings', 'created_at' => 'created_at', 'updated_at' => 'updated_at' @@ -200,6 +203,7 @@ public static function openAPIFormats() 'tracking' => 'setTracking', 'line_items' => 'setLineItems', 'note' => 'setNote', + 'refunds' => 'setRefunds', 'custom_mappings' => 'setCustomMappings', 'created_at' => 'setCreatedAt', 'updated_at' => 'setUpdatedAt' @@ -232,6 +236,7 @@ public static function openAPIFormats() 'tracking' => 'getTracking', 'line_items' => 'getLineItems', 'note' => 'getNote', + 'refunds' => 'getRefunds', 'custom_mappings' => 'getCustomMappings', 'created_at' => 'getCreatedAt', 'updated_at' => 'getUpdatedAt' @@ -365,6 +370,7 @@ public function __construct(array $data = null) $this->container['tracking'] = $data['tracking'] ?? null; $this->container['line_items'] = $data['line_items'] ?? null; $this->container['note'] = $data['note'] ?? null; + $this->container['refunds'] = $data['refunds'] ?? null; $this->container['custom_mappings'] = $data['custom_mappings'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; $this->container['updated_at'] = $data['updated_at'] ?? null; @@ -939,10 +945,34 @@ public function setNote($note) return $this; } + /** + * Gets refunds + * + * @return \Apideck\Client\Model\EcommerceOrderRefund[]|null + */ + public function getRefunds() + { + return $this->container['refunds']; + } + + /** + * Sets refunds + * + * @param \Apideck\Client\Model\EcommerceOrderRefund[]|null $refunds refunds + * + * @return self + */ + public function setRefunds($refunds) + { + $this->container['refunds'] = $refunds; + + return $this; + } + /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -952,7 +982,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EcommerceOrderLineItem.php b/src/gen/lib/Model/EcommerceOrderLineItem.php index d330674838..3db01df24a 100644 --- a/src/gen/lib/Model/EcommerceOrderLineItem.php +++ b/src/gen/lib/Model/EcommerceOrderLineItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -63,7 +63,6 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial protected static $openAPITypes = [ 'name' => 'string', 'quantity' => 'string', - 'total_amount' => 'string', 'id' => 'string', 'product_id' => 'string', 'variant_id' => 'string', @@ -77,6 +76,7 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial 'refunded_amount' => 'string', 'refunded_quantity' => 'string', 'sub_total' => 'string', + 'total_amount' => 'string', 'discounts' => '\Apideck\Client\Model\EcommerceDiscount[]' ]; @@ -90,7 +90,6 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial protected static $openAPIFormats = [ 'name' => null, 'quantity' => null, - 'total_amount' => null, 'id' => null, 'product_id' => null, 'variant_id' => null, @@ -104,6 +103,7 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial 'refunded_amount' => null, 'refunded_quantity' => null, 'sub_total' => null, + 'total_amount' => null, 'discounts' => null ]; @@ -136,7 +136,6 @@ public static function openAPIFormats() protected static $attributeMap = [ 'name' => 'name', 'quantity' => 'quantity', - 'total_amount' => 'total_amount', 'id' => 'id', 'product_id' => 'product_id', 'variant_id' => 'variant_id', @@ -150,6 +149,7 @@ public static function openAPIFormats() 'refunded_amount' => 'refunded_amount', 'refunded_quantity' => 'refunded_quantity', 'sub_total' => 'sub_total', + 'total_amount' => 'total_amount', 'discounts' => 'discounts' ]; @@ -161,7 +161,6 @@ public static function openAPIFormats() protected static $setters = [ 'name' => 'setName', 'quantity' => 'setQuantity', - 'total_amount' => 'setTotalAmount', 'id' => 'setId', 'product_id' => 'setProductId', 'variant_id' => 'setVariantId', @@ -175,6 +174,7 @@ public static function openAPIFormats() 'refunded_amount' => 'setRefundedAmount', 'refunded_quantity' => 'setRefundedQuantity', 'sub_total' => 'setSubTotal', + 'total_amount' => 'setTotalAmount', 'discounts' => 'setDiscounts' ]; @@ -186,7 +186,6 @@ public static function openAPIFormats() protected static $getters = [ 'name' => 'getName', 'quantity' => 'getQuantity', - 'total_amount' => 'getTotalAmount', 'id' => 'getId', 'product_id' => 'getProductId', 'variant_id' => 'getVariantId', @@ -200,6 +199,7 @@ public static function openAPIFormats() 'refunded_amount' => 'getRefundedAmount', 'refunded_quantity' => 'getRefundedQuantity', 'sub_total' => 'getSubTotal', + 'total_amount' => 'getTotalAmount', 'discounts' => 'getDiscounts' ]; @@ -262,7 +262,6 @@ public function __construct(array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['quantity'] = $data['quantity'] ?? null; - $this->container['total_amount'] = $data['total_amount'] ?? null; $this->container['id'] = $data['id'] ?? null; $this->container['product_id'] = $data['product_id'] ?? null; $this->container['variant_id'] = $data['variant_id'] ?? null; @@ -276,6 +275,7 @@ public function __construct(array $data = null) $this->container['refunded_amount'] = $data['refunded_amount'] ?? null; $this->container['refunded_quantity'] = $data['refunded_quantity'] ?? null; $this->container['sub_total'] = $data['sub_total'] ?? null; + $this->container['total_amount'] = $data['total_amount'] ?? null; $this->container['discounts'] = $data['discounts'] ?? null; } @@ -294,9 +294,6 @@ public function listInvalidProperties() if ($this->container['quantity'] === null) { $invalidProperties[] = "'quantity' can't be null"; } - if ($this->container['total_amount'] === null) { - $invalidProperties[] = "'total_amount' can't be null"; - } return $invalidProperties; } @@ -360,30 +357,6 @@ public function setQuantity($quantity) return $this; } - /** - * Gets total_amount - * - * @return string - */ - public function getTotalAmount() - { - return $this->container['total_amount']; - } - - /** - * Sets total_amount - * - * @param string $total_amount The total amount for the product(s) or variant associated with the line item, including taxes and discounts. - * - * @return self - */ - public function setTotalAmount($total_amount) - { - $this->container['total_amount'] = $total_amount; - - return $this; - } - /** * Gets id * @@ -696,6 +669,30 @@ public function setSubTotal($sub_total) return $this; } + /** + * Gets total_amount + * + * @return string|null + */ + public function getTotalAmount() + { + return $this->container['total_amount']; + } + + /** + * Sets total_amount + * + * @param string|null $total_amount The total amount for the product(s) or variant associated with the line item, including taxes and discounts. + * + * @return self + */ + public function setTotalAmount($total_amount) + { + $this->container['total_amount'] = $total_amount; + + return $this; + } + /** * Gets discounts * diff --git a/src/gen/lib/Model/EcommerceOrderRefund.php b/src/gen/lib/Model/EcommerceOrderRefund.php new file mode 100644 index 0000000000..afea6d11df --- /dev/null +++ b/src/gen/lib/Model/EcommerceOrderRefund.php @@ -0,0 +1,442 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class EcommerceOrderRefund implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'EcommerceOrderRefund'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'amount' => 'string', + 'currency' => '\Apideck\Client\Model\Currency', + 'reason' => 'string', + 'created_at' => '\DateTime' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'amount' => null, + 'currency' => null, + 'reason' => null, + 'created_at' => 'date-time' + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'amount' => 'amount', + 'currency' => 'currency', + 'reason' => 'reason', + 'created_at' => 'created_at' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'amount' => 'setAmount', + 'currency' => 'setCurrency', + 'reason' => 'setReason', + 'created_at' => 'setCreatedAt' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'amount' => 'getAmount', + 'currency' => 'getCurrency', + 'reason' => 'getReason', + 'created_at' => 'getCreatedAt' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['amount'] = $data['amount'] ?? null; + $this->container['currency'] = $data['currency'] ?? null; + $this->container['reason'] = $data['reason'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string|null + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string|null $id A unique identifier for an object. + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets amount + * + * @return string|null + */ + public function getAmount() + { + return $this->container['amount']; + } + + /** + * Sets amount + * + * @param string|null $amount The amount of the refund. + * + * @return self + */ + public function setAmount($amount) + { + $this->container['amount'] = $amount; + + return $this; + } + + /** + * Gets currency + * + * @return \Apideck\Client\Model\Currency|null + */ + public function getCurrency() + { + return $this->container['currency']; + } + + /** + * Sets currency + * + * @param \Apideck\Client\Model\Currency|null $currency currency + * + * @return self + */ + public function setCurrency($currency) + { + $this->container['currency'] = $currency; + + return $this; + } + + /** + * Gets reason + * + * @return string|null + */ + public function getReason() + { + return $this->container['reason']; + } + + /** + * Sets reason + * + * @param string|null $reason The reason for the refund. + * + * @return self + */ + public function setReason($reason) + { + $this->container['reason'] = $reason; + + return $this; + } + + /** + * Gets created_at + * + * @return \DateTime|null + */ + public function getCreatedAt() + { + return $this->container['created_at']; + } + + /** + * Sets created_at + * + * @param \DateTime|null $created_at The date and time when the object was created. + * + * @return self + */ + public function setCreatedAt($created_at) + { + $this->container['created_at'] = $created_at; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/EcommerceOrderStatus.php b/src/gen/lib/Model/EcommerceOrderStatus.php index 6f0ce67c22..0d5d89cc78 100644 --- a/src/gen/lib/Model/EcommerceOrderStatus.php +++ b/src/gen/lib/Model/EcommerceOrderStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceOrdersFilter.php b/src/gen/lib/Model/EcommerceOrdersFilter.php index 0673f30278..20b59a2e67 100644 --- a/src/gen/lib/Model/EcommerceOrdersFilter.php +++ b/src/gen/lib/Model/EcommerceOrdersFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceProduct.php b/src/gen/lib/Model/EcommerceProduct.php index e292708f2e..5e54f7edb3 100644 --- a/src/gen/lib/Model/EcommerceProduct.php +++ b/src/gen/lib/Model/EcommerceProduct.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -74,7 +74,7 @@ class EcommerceProduct implements ModelInterface, ArrayAccess, \JsonSerializable 'variants' => '\Apideck\Client\Model\EcommerceProductVariants[]', 'tags' => 'string[]', 'categories' => '\Apideck\Client\Model\EcommerceProductCategories[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -678,7 +678,7 @@ public function setCategories($categories) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -688,7 +688,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EcommerceProductCategories.php b/src/gen/lib/Model/EcommerceProductCategories.php index 581f47471a..a1ca8bc0bd 100644 --- a/src/gen/lib/Model/EcommerceProductCategories.php +++ b/src/gen/lib/Model/EcommerceProductCategories.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceProductImages.php b/src/gen/lib/Model/EcommerceProductImages.php index 97f74c0a00..fac2045ff1 100644 --- a/src/gen/lib/Model/EcommerceProductImages.php +++ b/src/gen/lib/Model/EcommerceProductImages.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceProductImages1.php b/src/gen/lib/Model/EcommerceProductImages1.php index 602ddda8ab..218cb1ddac 100644 --- a/src/gen/lib/Model/EcommerceProductImages1.php +++ b/src/gen/lib/Model/EcommerceProductImages1.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceProductOptions.php b/src/gen/lib/Model/EcommerceProductOptions.php index 979241dd3e..9efdb18b86 100644 --- a/src/gen/lib/Model/EcommerceProductOptions.php +++ b/src/gen/lib/Model/EcommerceProductOptions.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceProductOptions1.php b/src/gen/lib/Model/EcommerceProductOptions1.php index effd1e11c8..bb199eb042 100644 --- a/src/gen/lib/Model/EcommerceProductOptions1.php +++ b/src/gen/lib/Model/EcommerceProductOptions1.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceProductVariants.php b/src/gen/lib/Model/EcommerceProductVariants.php index bb4303df62..04238d6560 100644 --- a/src/gen/lib/Model/EcommerceProductVariants.php +++ b/src/gen/lib/Model/EcommerceProductVariants.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceStore.php b/src/gen/lib/Model/EcommerceStore.php index 4c45c25595..f03540b13f 100644 --- a/src/gen/lib/Model/EcommerceStore.php +++ b/src/gen/lib/Model/EcommerceStore.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -64,7 +64,7 @@ class EcommerceStore implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'store_url' => 'string', 'admin_url' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -362,7 +362,7 @@ public function setAdminUrl($admin_url) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -372,7 +372,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Email.php b/src/gen/lib/Model/Email.php index 5116f1fbd0..52d005eca5 100644 --- a/src/gen/lib/Model/Email.php +++ b/src/gen/lib/Model/Email.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Employee.php b/src/gen/lib/Model/Employee.php index 5fa629d416..1ab053a591 100644 --- a/src/gen/lib/Model/Employee.php +++ b/src/gen/lib/Model/Employee.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -119,7 +119,7 @@ class Employee implements ModelInterface, ArrayAccess, \JsonSerializable 'food_allergies' => 'string[]', 'probation_period' => '\Apideck\Client\Model\ProbationPeriod', 'tags' => 'string[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'deleted' => 'bool', 'updated_by' => 'string', @@ -2076,7 +2076,7 @@ public function setTags($tags) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -2086,7 +2086,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EmployeeCompensation.php b/src/gen/lib/Model/EmployeeCompensation.php index d5bc57450b..b87395bd3a 100644 --- a/src/gen/lib/Model/EmployeeCompensation.php +++ b/src/gen/lib/Model/EmployeeCompensation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeeEmploymentRole.php b/src/gen/lib/Model/EmployeeEmploymentRole.php index ef01abe58e..40f563c719 100644 --- a/src/gen/lib/Model/EmployeeEmploymentRole.php +++ b/src/gen/lib/Model/EmployeeEmploymentRole.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeeJob.php b/src/gen/lib/Model/EmployeeJob.php index 8e11d6d864..2cf771f86c 100644 --- a/src/gen/lib/Model/EmployeeJob.php +++ b/src/gen/lib/Model/EmployeeJob.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeeList.php b/src/gen/lib/Model/EmployeeList.php index 7248ecd55f..0b1d4303af 100644 --- a/src/gen/lib/Model/EmployeeList.php +++ b/src/gen/lib/Model/EmployeeList.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeeManager.php b/src/gen/lib/Model/EmployeeManager.php index 57038e1ba8..449ecc7d43 100644 --- a/src/gen/lib/Model/EmployeeManager.php +++ b/src/gen/lib/Model/EmployeeManager.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeePayroll.php b/src/gen/lib/Model/EmployeePayroll.php index 8e07fa333b..f3ddb05929 100644 --- a/src/gen/lib/Model/EmployeePayroll.php +++ b/src/gen/lib/Model/EmployeePayroll.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeeSchedules.php b/src/gen/lib/Model/EmployeeSchedules.php index ecb07a0065..db615a4826 100644 --- a/src/gen/lib/Model/EmployeeSchedules.php +++ b/src/gen/lib/Model/EmployeeSchedules.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeesFilter.php b/src/gen/lib/Model/EmployeesFilter.php index da38396594..de79b49a6f 100644 --- a/src/gen/lib/Model/EmployeesFilter.php +++ b/src/gen/lib/Model/EmployeesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,8 @@ class EmployeesFilter implements ModelInterface, ArrayAccess, \JsonSerializable 'employment_status' => 'string', 'employee_number' => 'string', 'department_id' => 'string', - 'city' => 'string' + 'city' => 'string', + 'country' => 'string' ]; /** @@ -89,7 +90,8 @@ class EmployeesFilter implements ModelInterface, ArrayAccess, \JsonSerializable 'employment_status' => null, 'employee_number' => null, 'department_id' => null, - 'city' => null + 'city' => null, + 'country' => null ]; /** @@ -128,7 +130,8 @@ public static function openAPIFormats() 'employment_status' => 'employment_status', 'employee_number' => 'employee_number', 'department_id' => 'department_id', - 'city' => 'city' + 'city' => 'city', + 'country' => 'country' ]; /** @@ -146,7 +149,8 @@ public static function openAPIFormats() 'employment_status' => 'setEmploymentStatus', 'employee_number' => 'setEmployeeNumber', 'department_id' => 'setDepartmentId', - 'city' => 'setCity' + 'city' => 'setCity', + 'country' => 'setCountry' ]; /** @@ -164,7 +168,8 @@ public static function openAPIFormats() 'employment_status' => 'getEmploymentStatus', 'employee_number' => 'getEmployeeNumber', 'department_id' => 'getDepartmentId', - 'city' => 'getCity' + 'city' => 'getCity', + 'country' => 'getCountry' ]; /** @@ -253,6 +258,7 @@ public function __construct(array $data = null) $this->container['employee_number'] = $data['employee_number'] ?? null; $this->container['department_id'] = $data['department_id'] ?? null; $this->container['city'] = $data['city'] ?? null; + $this->container['country'] = $data['country'] ?? null; } /** @@ -537,6 +543,30 @@ public function setCity($city) return $this; } + + /** + * Gets country + * + * @return string|null + */ + public function getCountry() + { + return $this->container['country']; + } + + /** + * Sets country + * + * @param string|null $country Country to filter on + * + * @return self + */ + public function setCountry($country) + { + $this->container['country'] = $country; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/EmployeesOneFilter.php b/src/gen/lib/Model/EmployeesOneFilter.php index e3776c3538..abe47a5dcd 100644 --- a/src/gen/lib/Model/EmployeesOneFilter.php +++ b/src/gen/lib/Model/EmployeesOneFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmployeesSort.php b/src/gen/lib/Model/EmployeesSort.php index 67ff488c10..f90f0e3ade 100644 --- a/src/gen/lib/Model/EmployeesSort.php +++ b/src/gen/lib/Model/EmployeesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EmploymentStatus.php b/src/gen/lib/Model/EmploymentStatus.php index a8ea034b09..a80bbdb50c 100644 --- a/src/gen/lib/Model/EmploymentStatus.php +++ b/src/gen/lib/Model/EmploymentStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Error.php b/src/gen/lib/Model/Error.php index 659deb73bb..76e35505e5 100644 --- a/src/gen/lib/Model/Error.php +++ b/src/gen/lib/Model/Error.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ExecuteWebhookResponse.php b/src/gen/lib/Model/ExecuteWebhookResponse.php index bcceb920fc..63cbea21fd 100644 --- a/src/gen/lib/Model/ExecuteWebhookResponse.php +++ b/src/gen/lib/Model/ExecuteWebhookResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Expense.php b/src/gen/lib/Model/Expense.php index 931aa7c992..41b157f9e7 100644 --- a/src/gen/lib/Model/Expense.php +++ b/src/gen/lib/Model/Expense.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -77,10 +77,12 @@ class Expense implements ModelInterface, ArrayAccess, \JsonSerializable 'tax_rate' => '\Apideck\Client\Model\LinkedTaxRate', 'total_amount' => 'float', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime', 'row_version' => 'string', + 'updated_by' => 'string', + 'created_by' => 'string', 'pass_through' => 'object[]' ]; @@ -113,6 +115,8 @@ class Expense implements ModelInterface, ArrayAccess, \JsonSerializable 'updated_at' => 'date-time', 'created_at' => 'date-time', 'row_version' => null, + 'updated_by' => null, + 'created_by' => null, 'pass_through' => null ]; @@ -164,6 +168,8 @@ public static function openAPIFormats() 'updated_at' => 'updated_at', 'created_at' => 'created_at', 'row_version' => 'row_version', + 'updated_by' => 'updated_by', + 'created_by' => 'created_by', 'pass_through' => 'pass_through' ]; @@ -194,6 +200,8 @@ public static function openAPIFormats() 'updated_at' => 'setUpdatedAt', 'created_at' => 'setCreatedAt', 'row_version' => 'setRowVersion', + 'updated_by' => 'setUpdatedBy', + 'created_by' => 'setCreatedBy', 'pass_through' => 'setPassThrough' ]; @@ -224,6 +232,8 @@ public static function openAPIFormats() 'updated_at' => 'getUpdatedAt', 'created_at' => 'getCreatedAt', 'row_version' => 'getRowVersion', + 'updated_by' => 'getUpdatedBy', + 'created_by' => 'getCreatedBy', 'pass_through' => 'getPassThrough' ]; @@ -337,6 +347,8 @@ public function __construct(array $data = null) $this->container['updated_at'] = $data['updated_at'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; $this->container['row_version'] = $data['row_version'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; $this->container['pass_through'] = $data['pass_through'] ?? null; } @@ -831,7 +843,7 @@ public function setCustomFields($custom_fields) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -841,7 +853,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ @@ -924,6 +936,54 @@ public function setRowVersion($row_version) return $this; } + /** + * Gets updated_by + * + * @return string|null + */ + public function getUpdatedBy() + { + return $this->container['updated_by']; + } + + /** + * Sets updated_by + * + * @param string|null $updated_by The user who last updated the object. + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + $this->container['updated_by'] = $updated_by; + + return $this; + } + + /** + * Gets created_by + * + * @return string|null + */ + public function getCreatedBy() + { + return $this->container['created_by']; + } + + /** + * Sets created_by + * + * @param string|null $created_by The user who created the object. + * + * @return self + */ + public function setCreatedBy($created_by) + { + $this->container['created_by'] = $created_by; + + return $this; + } + /** * Gets pass_through * diff --git a/src/gen/lib/Model/ExpenseLineItem.php b/src/gen/lib/Model/ExpenseLineItem.php index 8727828954..4a287c05c6 100644 --- a/src/gen/lib/Model/ExpenseLineItem.php +++ b/src/gen/lib/Model/ExpenseLineItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -70,7 +70,8 @@ class ExpenseLineItem implements ModelInterface, ArrayAccess, \JsonSerializable 'subsidiary_id' => 'string', 'tax_rate' => '\Apideck\Client\Model\LinkedTaxRate', 'description' => 'string', - 'billable' => 'bool' + 'billable' => 'bool', + 'line_number' => 'int' ]; /** @@ -91,7 +92,8 @@ class ExpenseLineItem implements ModelInterface, ArrayAccess, \JsonSerializable 'subsidiary_id' => null, 'tax_rate' => null, 'description' => null, - 'billable' => null + 'billable' => null, + 'line_number' => null ]; /** @@ -131,7 +133,8 @@ public static function openAPIFormats() 'subsidiary_id' => 'subsidiary_id', 'tax_rate' => 'tax_rate', 'description' => 'description', - 'billable' => 'billable' + 'billable' => 'billable', + 'line_number' => 'line_number' ]; /** @@ -150,7 +153,8 @@ public static function openAPIFormats() 'subsidiary_id' => 'setSubsidiaryId', 'tax_rate' => 'setTaxRate', 'description' => 'setDescription', - 'billable' => 'setBillable' + 'billable' => 'setBillable', + 'line_number' => 'setLineNumber' ]; /** @@ -169,7 +173,8 @@ public static function openAPIFormats() 'subsidiary_id' => 'getSubsidiaryId', 'tax_rate' => 'getTaxRate', 'description' => 'getDescription', - 'billable' => 'getBillable' + 'billable' => 'getBillable', + 'line_number' => 'getLineNumber' ]; /** @@ -240,6 +245,7 @@ public function __construct(array $data = null) $this->container['tax_rate'] = $data['tax_rate'] ?? null; $this->container['description'] = $data['description'] ?? null; $this->container['billable'] = $data['billable'] ?? null; + $this->container['line_number'] = $data['line_number'] ?? null; } /** @@ -532,6 +538,30 @@ public function setBillable($billable) return $this; } + + /** + * Gets line_number + * + * @return int|null + */ + public function getLineNumber() + { + return $this->container['line_number']; + } + + /** + * Sets line_number + * + * @param int|null $line_number Line number of the resource + * + * @return self + */ + public function setLineNumber($line_number) + { + $this->container['line_number'] = $line_number; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/Expenses.php b/src/gen/lib/Model/Expenses.php index 72d2dbf5e0..595558e385 100644 --- a/src/gen/lib/Model/Expenses.php +++ b/src/gen/lib/Model/Expenses.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/FileStorageEventType.php b/src/gen/lib/Model/FileStorageEventType.php index e052c70122..fb7a2fdf8a 100644 --- a/src/gen/lib/Model/FileStorageEventType.php +++ b/src/gen/lib/Model/FileStorageEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/FileType.php b/src/gen/lib/Model/FileType.php index aab8700652..ca9d8bfd68 100644 --- a/src/gen/lib/Model/FileType.php +++ b/src/gen/lib/Model/FileType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/FilesFilter.php b/src/gen/lib/Model/FilesFilter.php index 9f158d7fae..068b21976e 100644 --- a/src/gen/lib/Model/FilesFilter.php +++ b/src/gen/lib/Model/FilesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/FilesSearch.php b/src/gen/lib/Model/FilesSearch.php index ac7faab07f..fb7ce65f45 100644 --- a/src/gen/lib/Model/FilesSearch.php +++ b/src/gen/lib/Model/FilesSearch.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/FilesSort.php b/src/gen/lib/Model/FilesSort.php index de0fb4b04a..4e24142841 100644 --- a/src/gen/lib/Model/FilesSort.php +++ b/src/gen/lib/Model/FilesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Folder.php b/src/gen/lib/Model/Folder.php index 61f60d134e..15c2650918 100644 --- a/src/gen/lib/Model/Folder.php +++ b/src/gen/lib/Model/Folder.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Folder implements ModelInterface, ArrayAccess, \JsonSerializable 'size' => 'int', 'owner' => '\Apideck\Client\Model\Owner', 'parent_folders_complete' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -479,7 +479,7 @@ public function setParentFoldersComplete($parent_folders_complete) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -489,7 +489,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/FormField.php b/src/gen/lib/Model/FormField.php index c5c28fb69a..fd6fc4ac15 100644 --- a/src/gen/lib/Model/FormField.php +++ b/src/gen/lib/Model/FormField.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/FormFieldOption.php b/src/gen/lib/Model/FormFieldOption.php index 52c1d0f3a9..0eabe5eeff 100644 --- a/src/gen/lib/Model/FormFieldOption.php +++ b/src/gen/lib/Model/FormFieldOption.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/FormFieldOptionGroup.php b/src/gen/lib/Model/FormFieldOptionGroup.php index 84c5bca68e..26a92391af 100644 --- a/src/gen/lib/Model/FormFieldOptionGroup.php +++ b/src/gen/lib/Model/FormFieldOptionGroup.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Gender.php b/src/gen/lib/Model/Gender.php index 2ba51041d6..9cb39e4bfd 100644 --- a/src/gen/lib/Model/Gender.php +++ b/src/gen/lib/Model/Gender.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAccountingDepartmentResponse.php b/src/gen/lib/Model/GetAccountingDepartmentResponse.php index 0e84b25c8f..7fceef105e 100644 --- a/src/gen/lib/Model/GetAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/GetAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAccountingDepartmentsResponse.php b/src/gen/lib/Model/GetAccountingDepartmentsResponse.php index 9cef380a17..2101be350b 100644 --- a/src/gen/lib/Model/GetAccountingDepartmentsResponse.php +++ b/src/gen/lib/Model/GetAccountingDepartmentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAccountingLocationResponse.php b/src/gen/lib/Model/GetAccountingLocationResponse.php index e68a85f398..2757f4a877 100644 --- a/src/gen/lib/Model/GetAccountingLocationResponse.php +++ b/src/gen/lib/Model/GetAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAccountingLocationsResponse.php b/src/gen/lib/Model/GetAccountingLocationsResponse.php index c7aed3b449..4c97fffd5f 100644 --- a/src/gen/lib/Model/GetAccountingLocationsResponse.php +++ b/src/gen/lib/Model/GetAccountingLocationsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetActivitiesResponse.php b/src/gen/lib/Model/GetActivitiesResponse.php index 49e7619d09..87ed569b59 100644 --- a/src/gen/lib/Model/GetActivitiesResponse.php +++ b/src/gen/lib/Model/GetActivitiesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetActivityResponse.php b/src/gen/lib/Model/GetActivityResponse.php index 802f5ced21..3926b116ef 100644 --- a/src/gen/lib/Model/GetActivityResponse.php +++ b/src/gen/lib/Model/GetActivityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAgedCreditorsResponse.php b/src/gen/lib/Model/GetAgedCreditorsResponse.php index 38efbece29..d011ba7c5c 100644 --- a/src/gen/lib/Model/GetAgedCreditorsResponse.php +++ b/src/gen/lib/Model/GetAgedCreditorsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAgedDebtorsResponse.php b/src/gen/lib/Model/GetAgedDebtorsResponse.php index 5902a90def..79cd6b21c5 100644 --- a/src/gen/lib/Model/GetAgedDebtorsResponse.php +++ b/src/gen/lib/Model/GetAgedDebtorsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApiResourceCoverageResponse.php b/src/gen/lib/Model/GetApiResourceCoverageResponse.php index be0334a6cd..86f0a110b1 100644 --- a/src/gen/lib/Model/GetApiResourceCoverageResponse.php +++ b/src/gen/lib/Model/GetApiResourceCoverageResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApiResourceResponse.php b/src/gen/lib/Model/GetApiResourceResponse.php index b8321a9192..a392b96257 100644 --- a/src/gen/lib/Model/GetApiResourceResponse.php +++ b/src/gen/lib/Model/GetApiResourceResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApiResponse.php b/src/gen/lib/Model/GetApiResponse.php index b42eb25da4..212d2313b7 100644 --- a/src/gen/lib/Model/GetApiResponse.php +++ b/src/gen/lib/Model/GetApiResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApisResponse.php b/src/gen/lib/Model/GetApisResponse.php index 8311c7e0e2..b8dd1db47d 100644 --- a/src/gen/lib/Model/GetApisResponse.php +++ b/src/gen/lib/Model/GetApisResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApplicantResponse.php b/src/gen/lib/Model/GetApplicantResponse.php index 32080f5125..15bd9a2091 100644 --- a/src/gen/lib/Model/GetApplicantResponse.php +++ b/src/gen/lib/Model/GetApplicantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApplicantsResponse.php b/src/gen/lib/Model/GetApplicantsResponse.php index 3cd9b94649..8dcb920ba9 100644 --- a/src/gen/lib/Model/GetApplicantsResponse.php +++ b/src/gen/lib/Model/GetApplicantsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApplicationResponse.php b/src/gen/lib/Model/GetApplicationResponse.php index ca674cf3af..4cfa35f330 100644 --- a/src/gen/lib/Model/GetApplicationResponse.php +++ b/src/gen/lib/Model/GetApplicationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetApplicationsResponse.php b/src/gen/lib/Model/GetApplicationsResponse.php index 66b848d9d3..1e84cc682b 100644 --- a/src/gen/lib/Model/GetApplicationsResponse.php +++ b/src/gen/lib/Model/GetApplicationsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAttachmentResponse.php b/src/gen/lib/Model/GetAttachmentResponse.php index 85e9c3bb26..31e0a29be2 100644 --- a/src/gen/lib/Model/GetAttachmentResponse.php +++ b/src/gen/lib/Model/GetAttachmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAttachmentsResponse.php b/src/gen/lib/Model/GetAttachmentsResponse.php index a90ea7f0fb..08a3480428 100644 --- a/src/gen/lib/Model/GetAttachmentsResponse.php +++ b/src/gen/lib/Model/GetAttachmentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetBalanceSheetResponse.php b/src/gen/lib/Model/GetBalanceSheetResponse.php index aa0e71b246..1d1694fa36 100644 --- a/src/gen/lib/Model/GetBalanceSheetResponse.php +++ b/src/gen/lib/Model/GetBalanceSheetResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetBankFeedAccountResponse.php b/src/gen/lib/Model/GetBankFeedAccountResponse.php new file mode 100644 index 0000000000..4c3cb2095f --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedAccountResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\BankFeedAccount', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\BankFeedAccount + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedAccount $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetBankFeedAccountsResponse.php b/src/gen/lib/Model/GetBankFeedAccountsResponse.php new file mode 100644 index 0000000000..f3f6c5fa13 --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedAccountsResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedAccountsResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedAccountsResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\BankFeedAccount[]', + 'meta' => '\Apideck\Client\Model\Meta', + 'links' => '\Apideck\Client\Model\Links', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + 'meta' => null, + 'links' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + 'meta' => 'meta', + 'links' => 'links', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + 'meta' => 'setMeta', + 'links' => 'setLinks', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + 'meta' => 'getMeta', + 'links' => 'getLinks', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['meta'] = $data['meta'] ?? null; + $this->container['links'] = $data['links'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\BankFeedAccount[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedAccount[] $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets meta + * + * @return \Apideck\Client\Model\Meta|null + */ + public function getMeta() + { + return $this->container['meta']; + } + + /** + * Sets meta + * + * @param \Apideck\Client\Model\Meta|null $meta meta + * + * @return self + */ + public function setMeta($meta) + { + $this->container['meta'] = $meta; + + return $this; + } + + /** + * Gets links + * + * @return \Apideck\Client\Model\Links|null + */ + public function getLinks() + { + return $this->container['links']; + } + + /** + * Sets links + * + * @param \Apideck\Client\Model\Links|null $links links + * + * @return self + */ + public function setLinks($links) + { + $this->container['links'] = $links; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetBankFeedStatementResponse.php b/src/gen/lib/Model/GetBankFeedStatementResponse.php new file mode 100644 index 0000000000..e49d4a9e95 --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedStatementResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\BankFeedStatement', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\BankFeedStatement + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedStatement $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetBankFeedStatementsResponse.php b/src/gen/lib/Model/GetBankFeedStatementsResponse.php new file mode 100644 index 0000000000..f5d616e3a6 --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedStatementsResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedStatementsResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedStatementsResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\BankFeedStatement[]', + 'meta' => '\Apideck\Client\Model\Meta', + 'links' => '\Apideck\Client\Model\Links', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + 'meta' => null, + 'links' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + 'meta' => 'meta', + 'links' => 'links', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + 'meta' => 'setMeta', + 'links' => 'setLinks', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + 'meta' => 'getMeta', + 'links' => 'getLinks', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['meta'] = $data['meta'] ?? null; + $this->container['links'] = $data['links'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\BankFeedStatement[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedStatement[] $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets meta + * + * @return \Apideck\Client\Model\Meta|null + */ + public function getMeta() + { + return $this->container['meta']; + } + + /** + * Sets meta + * + * @param \Apideck\Client\Model\Meta|null $meta meta + * + * @return self + */ + public function setMeta($meta) + { + $this->container['meta'] = $meta; + + return $this; + } + + /** + * Gets links + * + * @return \Apideck\Client\Model\Links|null + */ + public function getLinks() + { + return $this->container['links']; + } + + /** + * Sets links + * + * @param \Apideck\Client\Model\Links|null $links links + * + * @return self + */ + public function setLinks($links) + { + $this->container['links'] = $links; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetBillPaymentResponse.php b/src/gen/lib/Model/GetBillPaymentResponse.php index c2f29805ac..de12d1eec3 100644 --- a/src/gen/lib/Model/GetBillPaymentResponse.php +++ b/src/gen/lib/Model/GetBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetBillPaymentsResponse.php b/src/gen/lib/Model/GetBillPaymentsResponse.php index 3556f9cb6c..fb8f71c35a 100644 --- a/src/gen/lib/Model/GetBillPaymentsResponse.php +++ b/src/gen/lib/Model/GetBillPaymentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetBillResponse.php b/src/gen/lib/Model/GetBillResponse.php index 54937ce16f..ced4a6a106 100644 --- a/src/gen/lib/Model/GetBillResponse.php +++ b/src/gen/lib/Model/GetBillResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetBillsResponse.php b/src/gen/lib/Model/GetBillsResponse.php index 8c00edabdc..42447a7d93 100644 --- a/src/gen/lib/Model/GetBillsResponse.php +++ b/src/gen/lib/Model/GetBillsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCollectionResponse.php b/src/gen/lib/Model/GetCollectionResponse.php index 7473cf027c..6f0023a742 100644 --- a/src/gen/lib/Model/GetCollectionResponse.php +++ b/src/gen/lib/Model/GetCollectionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCollectionTagsResponse.php b/src/gen/lib/Model/GetCollectionTagsResponse.php index 2676a6c449..d615bc621e 100644 --- a/src/gen/lib/Model/GetCollectionTagsResponse.php +++ b/src/gen/lib/Model/GetCollectionTagsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCollectionUserResponse.php b/src/gen/lib/Model/GetCollectionUserResponse.php index 4a3d550abe..ac9b3d4547 100644 --- a/src/gen/lib/Model/GetCollectionUserResponse.php +++ b/src/gen/lib/Model/GetCollectionUserResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCollectionUsersResponse.php b/src/gen/lib/Model/GetCollectionUsersResponse.php index ae0bd6ec2a..25b2dba833 100644 --- a/src/gen/lib/Model/GetCollectionUsersResponse.php +++ b/src/gen/lib/Model/GetCollectionUsersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCollectionsResponse.php b/src/gen/lib/Model/GetCollectionsResponse.php index 93dc16fd4d..dec5aea0d4 100644 --- a/src/gen/lib/Model/GetCollectionsResponse.php +++ b/src/gen/lib/Model/GetCollectionsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCommentResponse.php b/src/gen/lib/Model/GetCommentResponse.php index e596548ebe..c9f7df7f7e 100644 --- a/src/gen/lib/Model/GetCommentResponse.php +++ b/src/gen/lib/Model/GetCommentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCommentsResponse.php b/src/gen/lib/Model/GetCommentsResponse.php index c193537a7f..7d610a2a84 100644 --- a/src/gen/lib/Model/GetCommentsResponse.php +++ b/src/gen/lib/Model/GetCommentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCompaniesResponse.php b/src/gen/lib/Model/GetCompaniesResponse.php index e9640d33d4..9de9406b98 100644 --- a/src/gen/lib/Model/GetCompaniesResponse.php +++ b/src/gen/lib/Model/GetCompaniesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCompanyInfoResponse.php b/src/gen/lib/Model/GetCompanyInfoResponse.php index 021ae38993..bf9d5d1785 100644 --- a/src/gen/lib/Model/GetCompanyInfoResponse.php +++ b/src/gen/lib/Model/GetCompanyInfoResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCompanyResponse.php b/src/gen/lib/Model/GetCompanyResponse.php index a08fd3c798..5a62ba14de 100644 --- a/src/gen/lib/Model/GetCompanyResponse.php +++ b/src/gen/lib/Model/GetCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectionResponse.php b/src/gen/lib/Model/GetConnectionResponse.php index e61b6f5f94..b7e8c08b5c 100644 --- a/src/gen/lib/Model/GetConnectionResponse.php +++ b/src/gen/lib/Model/GetConnectionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectionsResponse.php b/src/gen/lib/Model/GetConnectionsResponse.php index 51a774f0dd..ef6a95d335 100644 --- a/src/gen/lib/Model/GetConnectionsResponse.php +++ b/src/gen/lib/Model/GetConnectionsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectorResourceExampleResponse.php b/src/gen/lib/Model/GetConnectorResourceExampleResponse.php index ce43aa2cf7..c06782ff78 100644 --- a/src/gen/lib/Model/GetConnectorResourceExampleResponse.php +++ b/src/gen/lib/Model/GetConnectorResourceExampleResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php b/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php index 444e7abe27..ccf21269e4 100644 --- a/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php +++ b/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectorResourceResponse.php b/src/gen/lib/Model/GetConnectorResourceResponse.php index ba4a56a713..d643b001e5 100644 --- a/src/gen/lib/Model/GetConnectorResourceResponse.php +++ b/src/gen/lib/Model/GetConnectorResourceResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php b/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php index 3fe4d760d0..448e64d838 100644 --- a/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php +++ b/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectorResponse.php b/src/gen/lib/Model/GetConnectorResponse.php index 07362ce889..857fa98078 100644 --- a/src/gen/lib/Model/GetConnectorResponse.php +++ b/src/gen/lib/Model/GetConnectorResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConnectorsResponse.php b/src/gen/lib/Model/GetConnectorsResponse.php index a30a18d847..190c0e15b0 100644 --- a/src/gen/lib/Model/GetConnectorsResponse.php +++ b/src/gen/lib/Model/GetConnectorsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConsumerResponse.php b/src/gen/lib/Model/GetConsumerResponse.php index 8fd8488fff..1619c369a8 100644 --- a/src/gen/lib/Model/GetConsumerResponse.php +++ b/src/gen/lib/Model/GetConsumerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConsumersResponse.php b/src/gen/lib/Model/GetConsumersResponse.php index 591ecebac4..a9b26c05bf 100644 --- a/src/gen/lib/Model/GetConsumersResponse.php +++ b/src/gen/lib/Model/GetConsumersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetConsumersResponseData.php b/src/gen/lib/Model/GetConsumersResponseData.php index 5dc4fdb269..5e51f030c1 100644 --- a/src/gen/lib/Model/GetConsumersResponseData.php +++ b/src/gen/lib/Model/GetConsumersResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetContactResponse.php b/src/gen/lib/Model/GetContactResponse.php index b202b3c089..f778ce4f4c 100644 --- a/src/gen/lib/Model/GetContactResponse.php +++ b/src/gen/lib/Model/GetContactResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetContactsResponse.php b/src/gen/lib/Model/GetContactsResponse.php index 0f05e1d52f..5b8067497e 100644 --- a/src/gen/lib/Model/GetContactsResponse.php +++ b/src/gen/lib/Model/GetContactsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCreditNoteResponse.php b/src/gen/lib/Model/GetCreditNoteResponse.php index 64bcb6db2c..7d7fa1bd62 100644 --- a/src/gen/lib/Model/GetCreditNoteResponse.php +++ b/src/gen/lib/Model/GetCreditNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCreditNotesResponse.php b/src/gen/lib/Model/GetCreditNotesResponse.php index 3d3a4f9948..5e66507d1e 100644 --- a/src/gen/lib/Model/GetCreditNotesResponse.php +++ b/src/gen/lib/Model/GetCreditNotesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCustomFieldsResponse.php b/src/gen/lib/Model/GetCustomFieldsResponse.php index f653d3fee4..af8f80f710 100644 --- a/src/gen/lib/Model/GetCustomFieldsResponse.php +++ b/src/gen/lib/Model/GetCustomFieldsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCustomMappingResponse.php b/src/gen/lib/Model/GetCustomMappingResponse.php index 1cf5bbca8d..962f418e3d 100644 --- a/src/gen/lib/Model/GetCustomMappingResponse.php +++ b/src/gen/lib/Model/GetCustomMappingResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCustomMappingsResponse.php b/src/gen/lib/Model/GetCustomMappingsResponse.php index fe587e6946..547976ea4e 100644 --- a/src/gen/lib/Model/GetCustomMappingsResponse.php +++ b/src/gen/lib/Model/GetCustomMappingsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCustomObjectResponse.php b/src/gen/lib/Model/GetCustomObjectResponse.php new file mode 100644 index 0000000000..9154aafc5f --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\CustomObject', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\CustomObject + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObject $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetCustomObjectSchemaResponse.php b/src/gen/lib/Model/GetCustomObjectSchemaResponse.php new file mode 100644 index 0000000000..7c2a386aeb --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectSchemaResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\CustomObjectSchema', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\CustomObjectSchema + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObjectSchema $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetCustomObjectSchemasResponse.php b/src/gen/lib/Model/GetCustomObjectSchemasResponse.php new file mode 100644 index 0000000000..bcb4221a5e --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectSchemasResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectSchemasResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectSchemasResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\CustomObjectSchema[]', + '_raw' => 'array', + 'meta' => '\Apideck\Client\Model\Meta', + 'links' => '\Apideck\Client\Model\Links' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null, + 'meta' => null, + 'links' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw', + 'meta' => 'meta', + 'links' => 'links' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw', + 'meta' => 'setMeta', + 'links' => 'setLinks' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw', + 'meta' => 'getMeta', + 'links' => 'getLinks' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + $this->container['meta'] = $data['meta'] ?? null; + $this->container['links'] = $data['links'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\CustomObjectSchema[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObjectSchema[] $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + + /** + * Gets meta + * + * @return \Apideck\Client\Model\Meta|null + */ + public function getMeta() + { + return $this->container['meta']; + } + + /** + * Sets meta + * + * @param \Apideck\Client\Model\Meta|null $meta meta + * + * @return self + */ + public function setMeta($meta) + { + $this->container['meta'] = $meta; + + return $this; + } + + /** + * Gets links + * + * @return \Apideck\Client\Model\Links|null + */ + public function getLinks() + { + return $this->container['links']; + } + + /** + * Sets links + * + * @param \Apideck\Client\Model\Links|null $links links + * + * @return self + */ + public function setLinks($links) + { + $this->container['links'] = $links; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetCustomObjectsResponse.php b/src/gen/lib/Model/GetCustomObjectsResponse.php new file mode 100644 index 0000000000..9fb3a4b824 --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectsResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectsResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectsResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\CustomObject[]', + '_raw' => 'array', + 'meta' => '\Apideck\Client\Model\Meta', + 'links' => '\Apideck\Client\Model\Links' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null, + 'meta' => null, + 'links' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw', + 'meta' => 'meta', + 'links' => 'links' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw', + 'meta' => 'setMeta', + 'links' => 'setLinks' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw', + 'meta' => 'getMeta', + 'links' => 'getLinks' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + $this->container['meta'] = $data['meta'] ?? null; + $this->container['links'] = $data['links'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\CustomObject[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObject[] $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + + /** + * Gets meta + * + * @return \Apideck\Client\Model\Meta|null + */ + public function getMeta() + { + return $this->container['meta']; + } + + /** + * Sets meta + * + * @param \Apideck\Client\Model\Meta|null $meta meta + * + * @return self + */ + public function setMeta($meta) + { + $this->container['meta'] = $meta; + + return $this; + } + + /** + * Gets links + * + * @return \Apideck\Client\Model\Links|null + */ + public function getLinks() + { + return $this->container['links']; + } + + /** + * Sets links + * + * @param \Apideck\Client\Model\Links|null $links links + * + * @return self + */ + public function setLinks($links) + { + $this->container['links'] = $links; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/GetCustomerResponse.php b/src/gen/lib/Model/GetCustomerResponse.php index 97eecb9ad0..f236623178 100644 --- a/src/gen/lib/Model/GetCustomerResponse.php +++ b/src/gen/lib/Model/GetCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCustomersResponse.php b/src/gen/lib/Model/GetCustomersResponse.php index e66bef2dcc..f8fd6bd297 100644 --- a/src/gen/lib/Model/GetCustomersResponse.php +++ b/src/gen/lib/Model/GetCustomersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetDepartmentResponse.php b/src/gen/lib/Model/GetDepartmentResponse.php index 6f88dd2b5f..d59b96511a 100644 --- a/src/gen/lib/Model/GetDepartmentResponse.php +++ b/src/gen/lib/Model/GetDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetDepartmentsResponse.php b/src/gen/lib/Model/GetDepartmentsResponse.php index d11f6e6cdc..e38563517f 100644 --- a/src/gen/lib/Model/GetDepartmentsResponse.php +++ b/src/gen/lib/Model/GetDepartmentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetDriveGroupResponse.php b/src/gen/lib/Model/GetDriveGroupResponse.php index 6335cf141d..042f66f207 100644 --- a/src/gen/lib/Model/GetDriveGroupResponse.php +++ b/src/gen/lib/Model/GetDriveGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetDriveGroupsResponse.php b/src/gen/lib/Model/GetDriveGroupsResponse.php index 45079e82a8..54ff3447de 100644 --- a/src/gen/lib/Model/GetDriveGroupsResponse.php +++ b/src/gen/lib/Model/GetDriveGroupsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetDriveResponse.php b/src/gen/lib/Model/GetDriveResponse.php index 7e70d8b260..8a76003347 100644 --- a/src/gen/lib/Model/GetDriveResponse.php +++ b/src/gen/lib/Model/GetDriveResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetDrivesResponse.php b/src/gen/lib/Model/GetDrivesResponse.php index fafb390419..fbebdcd35f 100644 --- a/src/gen/lib/Model/GetDrivesResponse.php +++ b/src/gen/lib/Model/GetDrivesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEcommerceCustomerResponse.php b/src/gen/lib/Model/GetEcommerceCustomerResponse.php index 3e65fbd9d4..199fb40a53 100644 --- a/src/gen/lib/Model/GetEcommerceCustomerResponse.php +++ b/src/gen/lib/Model/GetEcommerceCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEcommerceCustomersResponse.php b/src/gen/lib/Model/GetEcommerceCustomersResponse.php index af1582f360..a9f8cad585 100644 --- a/src/gen/lib/Model/GetEcommerceCustomersResponse.php +++ b/src/gen/lib/Model/GetEcommerceCustomersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEcommerceOrderResponse.php b/src/gen/lib/Model/GetEcommerceOrderResponse.php index e96214a521..53fbc8da77 100644 --- a/src/gen/lib/Model/GetEcommerceOrderResponse.php +++ b/src/gen/lib/Model/GetEcommerceOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEcommerceOrdersResponse.php b/src/gen/lib/Model/GetEcommerceOrdersResponse.php index de574dccb4..bb76b30287 100644 --- a/src/gen/lib/Model/GetEcommerceOrdersResponse.php +++ b/src/gen/lib/Model/GetEcommerceOrdersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEmployeePayrollResponse.php b/src/gen/lib/Model/GetEmployeePayrollResponse.php index b3c64367a4..ad400fd2cc 100644 --- a/src/gen/lib/Model/GetEmployeePayrollResponse.php +++ b/src/gen/lib/Model/GetEmployeePayrollResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEmployeePayrollsResponse.php b/src/gen/lib/Model/GetEmployeePayrollsResponse.php index f792dc97e3..5ad9edcc02 100644 --- a/src/gen/lib/Model/GetEmployeePayrollsResponse.php +++ b/src/gen/lib/Model/GetEmployeePayrollsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEmployeeResponse.php b/src/gen/lib/Model/GetEmployeeResponse.php index 348021de18..936af5cf2d 100644 --- a/src/gen/lib/Model/GetEmployeeResponse.php +++ b/src/gen/lib/Model/GetEmployeeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEmployeeSchedulesResponse.php b/src/gen/lib/Model/GetEmployeeSchedulesResponse.php index dbfd264015..6d50b27e01 100644 --- a/src/gen/lib/Model/GetEmployeeSchedulesResponse.php +++ b/src/gen/lib/Model/GetEmployeeSchedulesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetEmployeesResponse.php b/src/gen/lib/Model/GetEmployeesResponse.php index 6c6131caa9..ab3b59a601 100644 --- a/src/gen/lib/Model/GetEmployeesResponse.php +++ b/src/gen/lib/Model/GetEmployeesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetExpenseResponse.php b/src/gen/lib/Model/GetExpenseResponse.php index e6ccd3b516..2969b603c5 100644 --- a/src/gen/lib/Model/GetExpenseResponse.php +++ b/src/gen/lib/Model/GetExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetExpensesResponse.php b/src/gen/lib/Model/GetExpensesResponse.php index 8e87a46106..eede8b8496 100644 --- a/src/gen/lib/Model/GetExpensesResponse.php +++ b/src/gen/lib/Model/GetExpensesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetFileResponse.php b/src/gen/lib/Model/GetFileResponse.php index d67555fdaa..7962283ff0 100644 --- a/src/gen/lib/Model/GetFileResponse.php +++ b/src/gen/lib/Model/GetFileResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetFilesResponse.php b/src/gen/lib/Model/GetFilesResponse.php index 37f41536aa..b66d601f84 100644 --- a/src/gen/lib/Model/GetFilesResponse.php +++ b/src/gen/lib/Model/GetFilesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetFolderResponse.php b/src/gen/lib/Model/GetFolderResponse.php index e355c03137..9a0369b383 100644 --- a/src/gen/lib/Model/GetFolderResponse.php +++ b/src/gen/lib/Model/GetFolderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetFoldersResponse.php b/src/gen/lib/Model/GetFoldersResponse.php index bb368765e6..33217a3cc9 100644 --- a/src/gen/lib/Model/GetFoldersResponse.php +++ b/src/gen/lib/Model/GetFoldersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetHrisCompaniesResponse.php b/src/gen/lib/Model/GetHrisCompaniesResponse.php index a9df284fad..1e2f42ef5b 100644 --- a/src/gen/lib/Model/GetHrisCompaniesResponse.php +++ b/src/gen/lib/Model/GetHrisCompaniesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetHrisCompanyResponse.php b/src/gen/lib/Model/GetHrisCompanyResponse.php index 5154b8d9da..bbcd530dac 100644 --- a/src/gen/lib/Model/GetHrisCompanyResponse.php +++ b/src/gen/lib/Model/GetHrisCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetHrisJobResponse.php b/src/gen/lib/Model/GetHrisJobResponse.php index af243d2547..92855ab381 100644 --- a/src/gen/lib/Model/GetHrisJobResponse.php +++ b/src/gen/lib/Model/GetHrisJobResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetHrisJobsResponse.php b/src/gen/lib/Model/GetHrisJobsResponse.php index f6927a8992..aaff811501 100644 --- a/src/gen/lib/Model/GetHrisJobsResponse.php +++ b/src/gen/lib/Model/GetHrisJobsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetInvoiceItemResponse.php b/src/gen/lib/Model/GetInvoiceItemResponse.php index dd33d0b374..8e4cd5ec73 100644 --- a/src/gen/lib/Model/GetInvoiceItemResponse.php +++ b/src/gen/lib/Model/GetInvoiceItemResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetInvoiceItemsResponse.php b/src/gen/lib/Model/GetInvoiceItemsResponse.php index 643ec925b6..3bc8fa0f39 100644 --- a/src/gen/lib/Model/GetInvoiceItemsResponse.php +++ b/src/gen/lib/Model/GetInvoiceItemsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetInvoiceResponse.php b/src/gen/lib/Model/GetInvoiceResponse.php index 900360080f..6219062ad0 100644 --- a/src/gen/lib/Model/GetInvoiceResponse.php +++ b/src/gen/lib/Model/GetInvoiceResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetInvoicesResponse.php b/src/gen/lib/Model/GetInvoicesResponse.php index 353e9d7893..89c1b726b8 100644 --- a/src/gen/lib/Model/GetInvoicesResponse.php +++ b/src/gen/lib/Model/GetInvoicesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetItemResponse.php b/src/gen/lib/Model/GetItemResponse.php index af1a6a8731..8021e050ae 100644 --- a/src/gen/lib/Model/GetItemResponse.php +++ b/src/gen/lib/Model/GetItemResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetItemsResponse.php b/src/gen/lib/Model/GetItemsResponse.php index 192f5a3421..62cc864d92 100644 --- a/src/gen/lib/Model/GetItemsResponse.php +++ b/src/gen/lib/Model/GetItemsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetJobResponse.php b/src/gen/lib/Model/GetJobResponse.php index 17b077155d..57f250650a 100644 --- a/src/gen/lib/Model/GetJobResponse.php +++ b/src/gen/lib/Model/GetJobResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetJobsResponse.php b/src/gen/lib/Model/GetJobsResponse.php index f1c75800ae..f14eb3aae9 100644 --- a/src/gen/lib/Model/GetJobsResponse.php +++ b/src/gen/lib/Model/GetJobsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetJournalEntriesResponse.php b/src/gen/lib/Model/GetJournalEntriesResponse.php index a6d6a9ddd5..4af139d160 100644 --- a/src/gen/lib/Model/GetJournalEntriesResponse.php +++ b/src/gen/lib/Model/GetJournalEntriesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetJournalEntryResponse.php b/src/gen/lib/Model/GetJournalEntryResponse.php index 2fc1df188d..4cc1ceeae1 100644 --- a/src/gen/lib/Model/GetJournalEntryResponse.php +++ b/src/gen/lib/Model/GetJournalEntryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetLeadResponse.php b/src/gen/lib/Model/GetLeadResponse.php index 5e86d66fef..3b68d56e18 100644 --- a/src/gen/lib/Model/GetLeadResponse.php +++ b/src/gen/lib/Model/GetLeadResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetLeadsResponse.php b/src/gen/lib/Model/GetLeadsResponse.php index f6c6656b89..36f27e377f 100644 --- a/src/gen/lib/Model/GetLeadsResponse.php +++ b/src/gen/lib/Model/GetLeadsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetLedgerAccountResponse.php b/src/gen/lib/Model/GetLedgerAccountResponse.php index 4955c26474..4f450819a1 100644 --- a/src/gen/lib/Model/GetLedgerAccountResponse.php +++ b/src/gen/lib/Model/GetLedgerAccountResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetLedgerAccountsResponse.php b/src/gen/lib/Model/GetLedgerAccountsResponse.php index faafaaaa7a..ead1b67e51 100644 --- a/src/gen/lib/Model/GetLedgerAccountsResponse.php +++ b/src/gen/lib/Model/GetLedgerAccountsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetLocationResponse.php b/src/gen/lib/Model/GetLocationResponse.php index 848ca2e09a..0cf7d28d77 100644 --- a/src/gen/lib/Model/GetLocationResponse.php +++ b/src/gen/lib/Model/GetLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetLocationsResponse.php b/src/gen/lib/Model/GetLocationsResponse.php index ada1ac9418..a057ae932c 100644 --- a/src/gen/lib/Model/GetLocationsResponse.php +++ b/src/gen/lib/Model/GetLocationsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetLogsResponse.php b/src/gen/lib/Model/GetLogsResponse.php index dbf4459289..0a84e62e2b 100644 --- a/src/gen/lib/Model/GetLogsResponse.php +++ b/src/gen/lib/Model/GetLogsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetMerchantResponse.php b/src/gen/lib/Model/GetMerchantResponse.php index 40eca2aa0f..7659656b34 100644 --- a/src/gen/lib/Model/GetMerchantResponse.php +++ b/src/gen/lib/Model/GetMerchantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetMerchantsResponse.php b/src/gen/lib/Model/GetMerchantsResponse.php index c3ecbe4db7..9201edd0b0 100644 --- a/src/gen/lib/Model/GetMerchantsResponse.php +++ b/src/gen/lib/Model/GetMerchantsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetMessageResponse.php b/src/gen/lib/Model/GetMessageResponse.php index dc2d30157f..05219fe1ca 100644 --- a/src/gen/lib/Model/GetMessageResponse.php +++ b/src/gen/lib/Model/GetMessageResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetMessagesResponse.php b/src/gen/lib/Model/GetMessagesResponse.php index d70bad50ff..12fac398e2 100644 --- a/src/gen/lib/Model/GetMessagesResponse.php +++ b/src/gen/lib/Model/GetMessagesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetModifierGroupResponse.php b/src/gen/lib/Model/GetModifierGroupResponse.php index 15f43f7a19..4a00fa21d2 100644 --- a/src/gen/lib/Model/GetModifierGroupResponse.php +++ b/src/gen/lib/Model/GetModifierGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetModifierGroupsResponse.php b/src/gen/lib/Model/GetModifierGroupsResponse.php index 243d079f30..670739d869 100644 --- a/src/gen/lib/Model/GetModifierGroupsResponse.php +++ b/src/gen/lib/Model/GetModifierGroupsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetModifierResponse.php b/src/gen/lib/Model/GetModifierResponse.php index e56381d462..417360a1f4 100644 --- a/src/gen/lib/Model/GetModifierResponse.php +++ b/src/gen/lib/Model/GetModifierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetModifiersResponse.php b/src/gen/lib/Model/GetModifiersResponse.php index 703c5f6b93..315dbad3e4 100644 --- a/src/gen/lib/Model/GetModifiersResponse.php +++ b/src/gen/lib/Model/GetModifiersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetNoteResponse.php b/src/gen/lib/Model/GetNoteResponse.php index 6fd357fb19..3c497daf51 100644 --- a/src/gen/lib/Model/GetNoteResponse.php +++ b/src/gen/lib/Model/GetNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetNotesResponse.php b/src/gen/lib/Model/GetNotesResponse.php index e41d67878d..3ecefb0ad4 100644 --- a/src/gen/lib/Model/GetNotesResponse.php +++ b/src/gen/lib/Model/GetNotesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetOpportunitiesResponse.php b/src/gen/lib/Model/GetOpportunitiesResponse.php index 9798c79e4f..73c221363e 100644 --- a/src/gen/lib/Model/GetOpportunitiesResponse.php +++ b/src/gen/lib/Model/GetOpportunitiesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetOpportunityResponse.php b/src/gen/lib/Model/GetOpportunityResponse.php index d103b27ef8..9ed2ed6e72 100644 --- a/src/gen/lib/Model/GetOpportunityResponse.php +++ b/src/gen/lib/Model/GetOpportunityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetOrderResponse.php b/src/gen/lib/Model/GetOrderResponse.php index 3086742b11..3ce4693ae2 100644 --- a/src/gen/lib/Model/GetOrderResponse.php +++ b/src/gen/lib/Model/GetOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetOrderTypeResponse.php b/src/gen/lib/Model/GetOrderTypeResponse.php index 47f2f9039b..d675c9bb3c 100644 --- a/src/gen/lib/Model/GetOrderTypeResponse.php +++ b/src/gen/lib/Model/GetOrderTypeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetOrderTypesResponse.php b/src/gen/lib/Model/GetOrderTypesResponse.php index 56fda274eb..db51632c9a 100644 --- a/src/gen/lib/Model/GetOrderTypesResponse.php +++ b/src/gen/lib/Model/GetOrderTypesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetOrdersResponse.php b/src/gen/lib/Model/GetOrdersResponse.php index 07b5c83849..6cc65aa7b8 100644 --- a/src/gen/lib/Model/GetOrdersResponse.php +++ b/src/gen/lib/Model/GetOrdersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPaymentResponse.php b/src/gen/lib/Model/GetPaymentResponse.php index 442c30ae21..47280a1d06 100644 --- a/src/gen/lib/Model/GetPaymentResponse.php +++ b/src/gen/lib/Model/GetPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPaymentsResponse.php b/src/gen/lib/Model/GetPaymentsResponse.php index 60d9b1b030..36679a86cc 100644 --- a/src/gen/lib/Model/GetPaymentsResponse.php +++ b/src/gen/lib/Model/GetPaymentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPayrollResponse.php b/src/gen/lib/Model/GetPayrollResponse.php index 7b6e4a7d61..21d7fc124f 100644 --- a/src/gen/lib/Model/GetPayrollResponse.php +++ b/src/gen/lib/Model/GetPayrollResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPayrollsResponse.php b/src/gen/lib/Model/GetPayrollsResponse.php index 45f4008b95..d9c19afaa1 100644 --- a/src/gen/lib/Model/GetPayrollsResponse.php +++ b/src/gen/lib/Model/GetPayrollsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPipelineResponse.php b/src/gen/lib/Model/GetPipelineResponse.php index 1944b2ea14..03bd385c87 100644 --- a/src/gen/lib/Model/GetPipelineResponse.php +++ b/src/gen/lib/Model/GetPipelineResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPipelinesResponse.php b/src/gen/lib/Model/GetPipelinesResponse.php index 5db60624c5..0034279776 100644 --- a/src/gen/lib/Model/GetPipelinesResponse.php +++ b/src/gen/lib/Model/GetPipelinesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPosPaymentResponse.php b/src/gen/lib/Model/GetPosPaymentResponse.php index 265995ff81..888a0b6183 100644 --- a/src/gen/lib/Model/GetPosPaymentResponse.php +++ b/src/gen/lib/Model/GetPosPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPosPaymentsResponse.php b/src/gen/lib/Model/GetPosPaymentsResponse.php index 916d0d801e..11e18d15f2 100644 --- a/src/gen/lib/Model/GetPosPaymentsResponse.php +++ b/src/gen/lib/Model/GetPosPaymentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetProductResponse.php b/src/gen/lib/Model/GetProductResponse.php index c29095d9e5..7b13b01bca 100644 --- a/src/gen/lib/Model/GetProductResponse.php +++ b/src/gen/lib/Model/GetProductResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetProductsResponse.php b/src/gen/lib/Model/GetProductsResponse.php index ead9f28769..753d2c189a 100644 --- a/src/gen/lib/Model/GetProductsResponse.php +++ b/src/gen/lib/Model/GetProductsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetProfitAndLossResponse.php b/src/gen/lib/Model/GetProfitAndLossResponse.php index ba568d009f..89bd0775af 100644 --- a/src/gen/lib/Model/GetProfitAndLossResponse.php +++ b/src/gen/lib/Model/GetProfitAndLossResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPurchaseOrderResponse.php b/src/gen/lib/Model/GetPurchaseOrderResponse.php index 85b0dcb8b9..0e13d64142 100644 --- a/src/gen/lib/Model/GetPurchaseOrderResponse.php +++ b/src/gen/lib/Model/GetPurchaseOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetPurchaseOrdersResponse.php b/src/gen/lib/Model/GetPurchaseOrdersResponse.php index d65528a2f2..0dc0abd1ed 100644 --- a/src/gen/lib/Model/GetPurchaseOrdersResponse.php +++ b/src/gen/lib/Model/GetPurchaseOrdersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetResourceExampleResponse.php b/src/gen/lib/Model/GetResourceExampleResponse.php index 3b0a1f3cd0..54faf185b8 100644 --- a/src/gen/lib/Model/GetResourceExampleResponse.php +++ b/src/gen/lib/Model/GetResourceExampleResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetResourceSchemaResponse.php b/src/gen/lib/Model/GetResourceSchemaResponse.php index 4a2cb24ea7..3df05a4bb4 100644 --- a/src/gen/lib/Model/GetResourceSchemaResponse.php +++ b/src/gen/lib/Model/GetResourceSchemaResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSharedLinkResponse.php b/src/gen/lib/Model/GetSharedLinkResponse.php index 5602dea2ee..a50b4d5c32 100644 --- a/src/gen/lib/Model/GetSharedLinkResponse.php +++ b/src/gen/lib/Model/GetSharedLinkResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSharedLinksResponse.php b/src/gen/lib/Model/GetSharedLinksResponse.php index 82edefc829..9e159dc045 100644 --- a/src/gen/lib/Model/GetSharedLinksResponse.php +++ b/src/gen/lib/Model/GetSharedLinksResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetStoreResponse.php b/src/gen/lib/Model/GetStoreResponse.php index f291ec7ada..c7e2518637 100644 --- a/src/gen/lib/Model/GetStoreResponse.php +++ b/src/gen/lib/Model/GetStoreResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetStoresResponse.php b/src/gen/lib/Model/GetStoresResponse.php index f2fb876e36..3e891f0dc7 100644 --- a/src/gen/lib/Model/GetStoresResponse.php +++ b/src/gen/lib/Model/GetStoresResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSubsidiariesResponse.php b/src/gen/lib/Model/GetSubsidiariesResponse.php index 9a3e8a2a98..5f6e121e6e 100644 --- a/src/gen/lib/Model/GetSubsidiariesResponse.php +++ b/src/gen/lib/Model/GetSubsidiariesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSubsidiaryResponse.php b/src/gen/lib/Model/GetSubsidiaryResponse.php index 440a32a643..7a0f690f24 100644 --- a/src/gen/lib/Model/GetSubsidiaryResponse.php +++ b/src/gen/lib/Model/GetSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSupplierResponse.php b/src/gen/lib/Model/GetSupplierResponse.php index 5ffa788b6b..de79adc2fd 100644 --- a/src/gen/lib/Model/GetSupplierResponse.php +++ b/src/gen/lib/Model/GetSupplierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSuppliersResponse.php b/src/gen/lib/Model/GetSuppliersResponse.php index 72597717ee..ecd9371518 100644 --- a/src/gen/lib/Model/GetSuppliersResponse.php +++ b/src/gen/lib/Model/GetSuppliersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTaxRateResponse.php b/src/gen/lib/Model/GetTaxRateResponse.php index a80c2a81b9..7993572d01 100644 --- a/src/gen/lib/Model/GetTaxRateResponse.php +++ b/src/gen/lib/Model/GetTaxRateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTaxRatesResponse.php b/src/gen/lib/Model/GetTaxRatesResponse.php index 4a4964525b..e79a40a8d2 100644 --- a/src/gen/lib/Model/GetTaxRatesResponse.php +++ b/src/gen/lib/Model/GetTaxRatesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTenderResponse.php b/src/gen/lib/Model/GetTenderResponse.php index 8eb460a759..0932e4fcdb 100644 --- a/src/gen/lib/Model/GetTenderResponse.php +++ b/src/gen/lib/Model/GetTenderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTendersResponse.php b/src/gen/lib/Model/GetTendersResponse.php index 435f5b92d3..d76e6585bd 100644 --- a/src/gen/lib/Model/GetTendersResponse.php +++ b/src/gen/lib/Model/GetTendersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTicketResponse.php b/src/gen/lib/Model/GetTicketResponse.php index bba870d724..c331b19de0 100644 --- a/src/gen/lib/Model/GetTicketResponse.php +++ b/src/gen/lib/Model/GetTicketResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTicketsResponse.php b/src/gen/lib/Model/GetTicketsResponse.php index 73d6922f21..66ca4c824d 100644 --- a/src/gen/lib/Model/GetTicketsResponse.php +++ b/src/gen/lib/Model/GetTicketsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTimeOffRequestResponse.php b/src/gen/lib/Model/GetTimeOffRequestResponse.php index 519991830d..c18d6c55db 100644 --- a/src/gen/lib/Model/GetTimeOffRequestResponse.php +++ b/src/gen/lib/Model/GetTimeOffRequestResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTimeOffRequestsResponse.php b/src/gen/lib/Model/GetTimeOffRequestsResponse.php index 7c6e6348cb..c30685e450 100644 --- a/src/gen/lib/Model/GetTimeOffRequestsResponse.php +++ b/src/gen/lib/Model/GetTimeOffRequestsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTrackingCategoriesResponse.php b/src/gen/lib/Model/GetTrackingCategoriesResponse.php index 3c12abc465..f18da75df4 100644 --- a/src/gen/lib/Model/GetTrackingCategoriesResponse.php +++ b/src/gen/lib/Model/GetTrackingCategoriesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTrackingCategoryResponse.php b/src/gen/lib/Model/GetTrackingCategoryResponse.php index cac736be63..218143cab6 100644 --- a/src/gen/lib/Model/GetTrackingCategoryResponse.php +++ b/src/gen/lib/Model/GetTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetUploadSessionResponse.php b/src/gen/lib/Model/GetUploadSessionResponse.php index de778ee747..cd46591113 100644 --- a/src/gen/lib/Model/GetUploadSessionResponse.php +++ b/src/gen/lib/Model/GetUploadSessionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetUserResponse.php b/src/gen/lib/Model/GetUserResponse.php index 901f0deb95..ea5dd94b80 100644 --- a/src/gen/lib/Model/GetUserResponse.php +++ b/src/gen/lib/Model/GetUserResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetUsersResponse.php b/src/gen/lib/Model/GetUsersResponse.php index efaa6a6a68..be92c1469a 100644 --- a/src/gen/lib/Model/GetUsersResponse.php +++ b/src/gen/lib/Model/GetUsersResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetWebhookEventLogsResponse.php b/src/gen/lib/Model/GetWebhookEventLogsResponse.php index 52224b83ca..8838593724 100644 --- a/src/gen/lib/Model/GetWebhookEventLogsResponse.php +++ b/src/gen/lib/Model/GetWebhookEventLogsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetWebhookResponse.php b/src/gen/lib/Model/GetWebhookResponse.php index 37a48fb292..959e139e93 100644 --- a/src/gen/lib/Model/GetWebhookResponse.php +++ b/src/gen/lib/Model/GetWebhookResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetWebhooksResponse.php b/src/gen/lib/Model/GetWebhooksResponse.php index 4a9fe80b70..c8e8787d93 100644 --- a/src/gen/lib/Model/GetWebhooksResponse.php +++ b/src/gen/lib/Model/GetWebhooksResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/HrisCompany.php b/src/gen/lib/Model/HrisCompany.php index 709265f2a0..3d974d9e13 100644 --- a/src/gen/lib/Model/HrisCompany.php +++ b/src/gen/lib/Model/HrisCompany.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -72,7 +72,7 @@ class HrisCompany implements ModelInterface, ArrayAccess, \JsonSerializable 'emails' => '\Apideck\Client\Model\Email[]', 'websites' => '\Apideck\Client\Model\Website[]', 'debtor_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'deleted' => 'bool', 'updated_by' => 'string', 'created_by' => 'string', @@ -682,7 +682,7 @@ public function setDebtorId($debtor_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -692,7 +692,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/HrisEventType.php b/src/gen/lib/Model/HrisEventType.php index 15bec231d5..92c480557e 100644 --- a/src/gen/lib/Model/HrisEventType.php +++ b/src/gen/lib/Model/HrisEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/HrisJob.php b/src/gen/lib/Model/HrisJob.php index f69b6bfa2f..4b9a4d2244 100644 --- a/src/gen/lib/Model/HrisJob.php +++ b/src/gen/lib/Model/HrisJob.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class HrisJob implements ModelInterface, ArrayAccess, \JsonSerializable 'department' => 'string', 'is_primary' => 'bool', 'location' => '\Apideck\Client\Model\HrisJobLocation', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -479,7 +479,7 @@ public function setLocation($location) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -489,7 +489,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/HrisJobLocation.php b/src/gen/lib/Model/HrisJobLocation.php index f8300f36d5..0c6c28da10 100644 --- a/src/gen/lib/Model/HrisJobLocation.php +++ b/src/gen/lib/Model/HrisJobLocation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/HrisJobs.php b/src/gen/lib/Model/HrisJobs.php index 650146986b..04a6d450d5 100644 --- a/src/gen/lib/Model/HrisJobs.php +++ b/src/gen/lib/Model/HrisJobs.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Income.php b/src/gen/lib/Model/Income.php index 29b9159ef2..bc6748f18c 100644 --- a/src/gen/lib/Model/Income.php +++ b/src/gen/lib/Model/Income.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/IntegrationState.php b/src/gen/lib/Model/IntegrationState.php index 7d1e3f8b4b..900287dbf7 100644 --- a/src/gen/lib/Model/IntegrationState.php +++ b/src/gen/lib/Model/IntegrationState.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Invoice.php b/src/gen/lib/Model/Invoice.php index 7996fc5b58..383f5429b1 100644 --- a/src/gen/lib/Model/Invoice.php +++ b/src/gen/lib/Model/Invoice.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -92,13 +92,14 @@ class Invoice implements ModelInterface, ArrayAccess, \JsonSerializable 'shipping_address' => '\Apideck\Client\Model\Address', 'template_id' => 'string', 'source_document_url' => 'string', + 'payment_allocations' => '\Apideck\Client\Model\InvoicePaymentAllocations[]', 'payment_method' => 'string', 'channel' => 'string', 'language' => 'string', 'accounting_by_row' => 'bool', 'bank_account' => '\Apideck\Client\Model\BankAccount', 'ledger_account' => '\Apideck\Client\Model\LinkedLedgerAccount', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -148,6 +149,7 @@ class Invoice implements ModelInterface, ArrayAccess, \JsonSerializable 'shipping_address' => null, 'template_id' => null, 'source_document_url' => null, + 'payment_allocations' => null, 'payment_method' => null, 'channel' => null, 'language' => null, @@ -223,6 +225,7 @@ public static function openAPIFormats() 'shipping_address' => 'shipping_address', 'template_id' => 'template_id', 'source_document_url' => 'source_document_url', + 'payment_allocations' => 'payment_allocations', 'payment_method' => 'payment_method', 'channel' => 'channel', 'language' => 'language', @@ -277,6 +280,7 @@ public static function openAPIFormats() 'shipping_address' => 'setShippingAddress', 'template_id' => 'setTemplateId', 'source_document_url' => 'setSourceDocumentUrl', + 'payment_allocations' => 'setPaymentAllocations', 'payment_method' => 'setPaymentMethod', 'channel' => 'setChannel', 'language' => 'setLanguage', @@ -331,6 +335,7 @@ public static function openAPIFormats() 'shipping_address' => 'getShippingAddress', 'template_id' => 'getTemplateId', 'source_document_url' => 'getSourceDocumentUrl', + 'payment_allocations' => 'getPaymentAllocations', 'payment_method' => 'getPaymentMethod', 'channel' => 'getChannel', 'language' => 'getLanguage', @@ -486,6 +491,7 @@ public function __construct(array $data = null) $this->container['shipping_address'] = $data['shipping_address'] ?? null; $this->container['template_id'] = $data['template_id'] ?? null; $this->container['source_document_url'] = $data['source_document_url'] ?? null; + $this->container['payment_allocations'] = $data['payment_allocations'] ?? null; $this->container['payment_method'] = $data['payment_method'] ?? null; $this->container['channel'] = $data['channel'] ?? null; $this->container['language'] = $data['language'] ?? null; @@ -1334,6 +1340,30 @@ public function setSourceDocumentUrl($source_document_url) return $this; } + /** + * Gets payment_allocations + * + * @return \Apideck\Client\Model\InvoicePaymentAllocations[]|null + */ + public function getPaymentAllocations() + { + return $this->container['payment_allocations']; + } + + /** + * Sets payment_allocations + * + * @param \Apideck\Client\Model\InvoicePaymentAllocations[]|null $payment_allocations IDs of payments made on the invoice + * + * @return self + */ + public function setPaymentAllocations($payment_allocations) + { + $this->container['payment_allocations'] = $payment_allocations; + + return $this; + } + /** * Gets payment_method * @@ -1481,7 +1511,7 @@ public function setLedgerAccount($ledger_account) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1491,7 +1521,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/InvoiceItem.php b/src/gen/lib/Model/InvoiceItem.php index 9476a4aca9..9352436633 100644 --- a/src/gen/lib/Model/InvoiceItem.php +++ b/src/gen/lib/Model/InvoiceItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -84,7 +84,7 @@ class InvoiceItem implements ModelInterface, ArrayAccess, \JsonSerializable 'location_id' => 'string', 'subsidiary_id' => 'string', 'tax_schedule_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -1007,7 +1007,7 @@ public function setTaxScheduleId($tax_schedule_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1017,7 +1017,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/InvoiceItemFilter.php b/src/gen/lib/Model/InvoiceItemFilter.php index 9d4c04ae06..fc4ea7e5bc 100644 --- a/src/gen/lib/Model/InvoiceItemFilter.php +++ b/src/gen/lib/Model/InvoiceItemFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/InvoiceItemSalesDetails.php b/src/gen/lib/Model/InvoiceItemSalesDetails.php index 8759ccd467..b5eb4de11d 100644 --- a/src/gen/lib/Model/InvoiceItemSalesDetails.php +++ b/src/gen/lib/Model/InvoiceItemSalesDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/InvoiceItemsFilter.php b/src/gen/lib/Model/InvoiceItemsFilter.php index 9618375f61..10b382e478 100644 --- a/src/gen/lib/Model/InvoiceItemsFilter.php +++ b/src/gen/lib/Model/InvoiceItemsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/InvoiceItemsSort.php b/src/gen/lib/Model/InvoiceItemsSort.php index 297d1fb1ea..7a9050e776 100644 --- a/src/gen/lib/Model/InvoiceItemsSort.php +++ b/src/gen/lib/Model/InvoiceItemsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/InvoiceLineItem.php b/src/gen/lib/Model/InvoiceLineItem.php index 4d9e5d9e85..ab39f914d1 100644 --- a/src/gen/lib/Model/InvoiceLineItem.php +++ b/src/gen/lib/Model/InvoiceLineItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -287,6 +287,7 @@ public function getModelName() const TYPE_DISCOUNT = 'discount'; const TYPE_INFO = 'info'; const TYPE_SUB_TOTAL = 'sub_total'; + const TYPE_SERVICE = 'service'; const TYPE_OTHER = 'other'; /** @@ -301,6 +302,7 @@ public function getTypeAllowableValues() self::TYPE_DISCOUNT, self::TYPE_INFO, self::TYPE_SUB_TOTAL, + self::TYPE_SERVICE, self::TYPE_OTHER, ]; } diff --git a/src/gen/lib/Model/InvoicePaymentAllocations.php b/src/gen/lib/Model/InvoicePaymentAllocations.php new file mode 100644 index 0000000000..86b3afa710 --- /dev/null +++ b/src/gen/lib/Model/InvoicePaymentAllocations.php @@ -0,0 +1,381 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class InvoicePaymentAllocations implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'Invoice_payment_allocations'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'allocated_amount' => 'float', + 'date' => '\DateTime' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'allocated_amount' => null, + 'date' => 'date-time' + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'allocated_amount' => 'allocated_amount', + 'date' => 'date' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'allocated_amount' => 'setAllocatedAmount', + 'date' => 'setDate' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'allocated_amount' => 'getAllocatedAmount', + 'date' => 'getDate' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['allocated_amount'] = $data['allocated_amount'] ?? null; + $this->container['date'] = $data['date'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string|null + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string|null $id ID of the payment + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets allocated_amount + * + * @return float|null + */ + public function getAllocatedAmount() + { + return $this->container['allocated_amount']; + } + + /** + * Sets allocated_amount + * + * @param float|null $allocated_amount Amount of the payment allocated to the invoice + * + * @return self + */ + public function setAllocatedAmount($allocated_amount) + { + $this->container['allocated_amount'] = $allocated_amount; + + return $this; + } + + /** + * Gets date + * + * @return \DateTime|null + */ + public function getDate() + { + return $this->container['date']; + } + + /** + * Sets date + * + * @param \DateTime|null $date Date of the payment + * + * @return self + */ + public function setDate($date) + { + $this->container['date'] = $date; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/InvoiceResponse.php b/src/gen/lib/Model/InvoiceResponse.php index b847a70128..80e2e033f7 100644 --- a/src/gen/lib/Model/InvoiceResponse.php +++ b/src/gen/lib/Model/InvoiceResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/InvoicesFilter.php b/src/gen/lib/Model/InvoicesFilter.php index 4e4420e890..73e59a99ad 100644 --- a/src/gen/lib/Model/InvoicesFilter.php +++ b/src/gen/lib/Model/InvoicesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/InvoicesSort.php b/src/gen/lib/Model/InvoicesSort.php index bc1e78bf61..7309d684ca 100644 --- a/src/gen/lib/Model/InvoicesSort.php +++ b/src/gen/lib/Model/InvoicesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/IssueTrackingEventType.php b/src/gen/lib/Model/IssueTrackingEventType.php index 8f2106202a..151db71cdb 100644 --- a/src/gen/lib/Model/IssueTrackingEventType.php +++ b/src/gen/lib/Model/IssueTrackingEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/IssuesFilter.php b/src/gen/lib/Model/IssuesFilter.php index 69187c6c76..6ea8d93fab 100644 --- a/src/gen/lib/Model/IssuesFilter.php +++ b/src/gen/lib/Model/IssuesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Item.php b/src/gen/lib/Model/Item.php index d8f78c74be..c2563a9989 100644 --- a/src/gen/lib/Model/Item.php +++ b/src/gen/lib/Model/Item.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class Item implements ModelInterface, ArrayAccess, \JsonSerializable 'available' => 'bool', 'hidden' => 'bool', 'version' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'deleted' => 'bool', 'updated_by' => 'string', 'created_by' => 'string', @@ -1108,7 +1108,7 @@ public function setVersion($version) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1118,7 +1118,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Job.php b/src/gen/lib/Model/Job.php index 6a29a4d13a..b934f4280c 100644 --- a/src/gen/lib/Model/Job.php +++ b/src/gen/lib/Model/Job.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -97,7 +97,7 @@ class Job implements ModelInterface, ArrayAccess, \JsonSerializable 'deleted' => 'bool', 'owner_id' => 'string', 'published_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1437,7 +1437,7 @@ public function setPublishedAt($published_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1447,7 +1447,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/JobLinks.php b/src/gen/lib/Model/JobLinks.php index 0d47b49f98..61e43a6666 100644 --- a/src/gen/lib/Model/JobLinks.php +++ b/src/gen/lib/Model/JobLinks.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/JobSalary.php b/src/gen/lib/Model/JobSalary.php index fe69f6edc4..55b82f817d 100644 --- a/src/gen/lib/Model/JobSalary.php +++ b/src/gen/lib/Model/JobSalary.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/JobStatus.php b/src/gen/lib/Model/JobStatus.php index f10c4560ea..bf7bc99fa1 100644 --- a/src/gen/lib/Model/JobStatus.php +++ b/src/gen/lib/Model/JobStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/JournalEntriesFilter.php b/src/gen/lib/Model/JournalEntriesFilter.php index e5f4712c23..d1208483c9 100644 --- a/src/gen/lib/Model/JournalEntriesFilter.php +++ b/src/gen/lib/Model/JournalEntriesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/JournalEntriesSort.php b/src/gen/lib/Model/JournalEntriesSort.php index 30c6efaee4..d3b8a01ce7 100644 --- a/src/gen/lib/Model/JournalEntriesSort.php +++ b/src/gen/lib/Model/JournalEntriesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/JournalEntry.php b/src/gen/lib/Model/JournalEntry.php index ab47605a1f..f929d8acb5 100644 --- a/src/gen/lib/Model/JournalEntry.php +++ b/src/gen/lib/Model/JournalEntry.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -66,6 +66,7 @@ class JournalEntry implements ModelInterface, ArrayAccess, \JsonSerializable 'currency' => '\Apideck\Client\Model\Currency', 'company_id' => 'string', 'line_items' => '\Apideck\Client\Model\JournalEntryLineItem[]', + 'status' => 'string', 'memo' => 'string', 'posted_at' => '\DateTime', 'journal_symbol' => 'string', @@ -74,7 +75,7 @@ class JournalEntry implements ModelInterface, ArrayAccess, \JsonSerializable 'number' => 'string', 'tracking_categories' => '\Apideck\Client\Model\LinkedTrackingCategory[]', 'accounting_period' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -98,6 +99,7 @@ class JournalEntry implements ModelInterface, ArrayAccess, \JsonSerializable 'currency' => null, 'company_id' => null, 'line_items' => null, + 'status' => null, 'memo' => null, 'posted_at' => 'date-time', 'journal_symbol' => null, @@ -149,6 +151,7 @@ public static function openAPIFormats() 'currency' => 'currency', 'company_id' => 'company_id', 'line_items' => 'line_items', + 'status' => 'status', 'memo' => 'memo', 'posted_at' => 'posted_at', 'journal_symbol' => 'journal_symbol', @@ -179,6 +182,7 @@ public static function openAPIFormats() 'currency' => 'setCurrency', 'company_id' => 'setCompanyId', 'line_items' => 'setLineItems', + 'status' => 'setStatus', 'memo' => 'setMemo', 'posted_at' => 'setPostedAt', 'journal_symbol' => 'setJournalSymbol', @@ -209,6 +213,7 @@ public static function openAPIFormats() 'currency' => 'getCurrency', 'company_id' => 'getCompanyId', 'line_items' => 'getLineItems', + 'status' => 'getStatus', 'memo' => 'getMemo', 'posted_at' => 'getPostedAt', 'journal_symbol' => 'getJournalSymbol', @@ -268,6 +273,31 @@ public function getModelName() return self::$openAPIModelName; } + const STATUS_DRAFT = 'draft'; + const STATUS_PENDING_APPROVAL = 'pending_approval'; + const STATUS_APPROVED = 'approved'; + const STATUS_POSTED = 'posted'; + const STATUS_VOIDED = 'voided'; + const STATUS_REJECTED = 'rejected'; + const STATUS_DELETED = 'deleted'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getStatusAllowableValues() + { + return [ + self::STATUS_DRAFT, + self::STATUS_PENDING_APPROVAL, + self::STATUS_APPROVED, + self::STATUS_POSTED, + self::STATUS_VOIDED, + self::STATUS_REJECTED, + self::STATUS_DELETED, + ]; + } /** * Associative array for storing property values @@ -290,6 +320,7 @@ public function __construct(array $data = null) $this->container['currency'] = $data['currency'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; $this->container['line_items'] = $data['line_items'] ?? null; + $this->container['status'] = $data['status'] ?? null; $this->container['memo'] = $data['memo'] ?? null; $this->container['posted_at'] = $data['posted_at'] ?? null; $this->container['journal_symbol'] = $data['journal_symbol'] ?? null; @@ -321,6 +352,15 @@ public function listInvalidProperties() $invalidProperties[] = "invalid value for 'line_items', number of items must be greater than or equal to 2."; } + $allowedValues = $this->getStatusAllowableValues(); + if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'status', must be one of '%s'", + $this->container['status'], + implode("', '", $allowedValues) + ); + } + return $invalidProperties; } @@ -485,6 +525,40 @@ public function setLineItems($line_items) return $this; } + /** + * Gets status + * + * @return string|null + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string|null $status Journal entry status + * + * @return self + */ + public function setStatus($status) + { + $allowedValues = $this->getStatusAllowableValues(); + if (!is_null($status) && !in_array($status, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'status', must be one of '%s'", + $status, + implode("', '", $allowedValues) + ) + ); + } + $this->container['status'] = $status; + + return $this; + } + /** * Gets memo * @@ -680,7 +754,7 @@ public function setAccountingPeriod($accounting_period) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -690,7 +764,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/JournalEntryLineItem.php b/src/gen/lib/Model/JournalEntryLineItem.php index 92767a1212..d6aba12f16 100644 --- a/src/gen/lib/Model/JournalEntryLineItem.php +++ b/src/gen/lib/Model/JournalEntryLineItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Lead.php b/src/gen/lib/Model/Lead.php index 72c05d9a39..f5777a7c6c 100644 --- a/src/gen/lib/Model/Lead.php +++ b/src/gen/lib/Model/Lead.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,8 +61,8 @@ class Lead implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPITypes = [ 'name' => 'string', - 'company_name' => 'string', 'id' => 'string', + 'company_name' => 'string', 'owner_id' => 'string', 'owner_name' => 'string', 'company_id' => 'string', @@ -85,7 +85,7 @@ class Lead implements ModelInterface, ArrayAccess, \JsonSerializable 'emails' => '\Apideck\Client\Model\Email[]', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'tags' => 'string[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => 'string', 'created_at' => 'string', 'pass_through' => 'object[]' @@ -100,8 +100,8 @@ class Lead implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPIFormats = [ 'name' => null, - 'company_name' => null, 'id' => null, + 'company_name' => null, 'owner_id' => null, 'owner_name' => null, 'company_id' => null, @@ -158,8 +158,8 @@ public static function openAPIFormats() */ protected static $attributeMap = [ 'name' => 'name', - 'company_name' => 'company_name', 'id' => 'id', + 'company_name' => 'company_name', 'owner_id' => 'owner_id', 'owner_name' => 'owner_name', 'company_id' => 'company_id', @@ -195,8 +195,8 @@ public static function openAPIFormats() */ protected static $setters = [ 'name' => 'setName', - 'company_name' => 'setCompanyName', 'id' => 'setId', + 'company_name' => 'setCompanyName', 'owner_id' => 'setOwnerId', 'owner_name' => 'setOwnerName', 'company_id' => 'setCompanyId', @@ -232,8 +232,8 @@ public static function openAPIFormats() */ protected static $getters = [ 'name' => 'getName', - 'company_name' => 'getCompanyName', 'id' => 'getId', + 'company_name' => 'getCompanyName', 'owner_id' => 'getOwnerId', 'owner_name' => 'getOwnerName', 'company_id' => 'getCompanyId', @@ -320,8 +320,8 @@ public function getModelName() public function __construct(array $data = null) { $this->container['name'] = $data['name'] ?? null; - $this->container['company_name'] = $data['company_name'] ?? null; $this->container['id'] = $data['id'] ?? null; + $this->container['company_name'] = $data['company_name'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['owner_name'] = $data['owner_name'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; @@ -362,9 +362,6 @@ public function listInvalidProperties() if ($this->container['name'] === null) { $invalidProperties[] = "'name' can't be null"; } - if ($this->container['company_name'] === null) { - $invalidProperties[] = "'company_name' can't be null"; - } if (!is_null($this->container['updated_at']) && !preg_match("/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z$/", $this->container['updated_at'])) { $invalidProperties[] = "invalid value for 'updated_at', must be conform to the pattern /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z$/."; } @@ -413,49 +410,49 @@ public function setName($name) } /** - * Gets company_name + * Gets id * - * @return string + * @return string|null */ - public function getCompanyName() + public function getId() { - return $this->container['company_name']; + return $this->container['id']; } /** - * Sets company_name + * Sets id * - * @param string $company_name The name of the company the lead is associated with. + * @param string|null $id Unique identifier for the contact. * * @return self */ - public function setCompanyName($company_name) + public function setId($id) { - $this->container['company_name'] = $company_name; + $this->container['id'] = $id; return $this; } /** - * Gets id + * Gets company_name * * @return string|null */ - public function getId() + public function getCompanyName() { - return $this->container['id']; + return $this->container['company_name']; } /** - * Sets id + * Sets company_name * - * @param string|null $id Unique identifier for the contact. + * @param string|null $company_name The name of the company the lead is associated with. * * @return self */ - public function setId($id) + public function setCompanyName($company_name) { - $this->container['id'] = $id; + $this->container['company_name'] = $company_name; return $this; } @@ -991,7 +988,7 @@ public function setTags($tags) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1001,7 +998,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/LeadEventType.php b/src/gen/lib/Model/LeadEventType.php index 89280ef3ed..36a9be12f1 100644 --- a/src/gen/lib/Model/LeadEventType.php +++ b/src/gen/lib/Model/LeadEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LeadsFilter.php b/src/gen/lib/Model/LeadsFilter.php index e5c7305fee..344a865297 100644 --- a/src/gen/lib/Model/LeadsFilter.php +++ b/src/gen/lib/Model/LeadsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LeadsSort.php b/src/gen/lib/Model/LeadsSort.php index c2a446b95b..6d5c6bfaab 100644 --- a/src/gen/lib/Model/LeadsSort.php +++ b/src/gen/lib/Model/LeadsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LedgerAccount.php b/src/gen/lib/Model/LedgerAccount.php index 5cce3c0316..2618ee4b6a 100644 --- a/src/gen/lib/Model/LedgerAccount.php +++ b/src/gen/lib/Model/LedgerAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class LedgerAccount implements ModelInterface, ArrayAccess, \JsonSerializable 'sub_accounts' => 'object[]', 'last_reconciliation_date' => '\DateTime', 'subsidiaries' => 'object[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -1189,7 +1189,7 @@ public function setSubsidiaries($subsidiaries) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1199,7 +1199,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/LedgerAccountCategories.php b/src/gen/lib/Model/LedgerAccountCategories.php index 0069561953..38087e6030 100644 --- a/src/gen/lib/Model/LedgerAccountCategories.php +++ b/src/gen/lib/Model/LedgerAccountCategories.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LedgerAccountParentAccount.php b/src/gen/lib/Model/LedgerAccountParentAccount.php index 302e7a2541..534e7ffb98 100644 --- a/src/gen/lib/Model/LedgerAccountParentAccount.php +++ b/src/gen/lib/Model/LedgerAccountParentAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LedgerAccountsFilter.php b/src/gen/lib/Model/LedgerAccountsFilter.php index 1df41631ef..1e0c67e284 100644 --- a/src/gen/lib/Model/LedgerAccountsFilter.php +++ b/src/gen/lib/Model/LedgerAccountsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LedgerAccountsSort.php b/src/gen/lib/Model/LedgerAccountsSort.php index dd14ff6029..fc73158256 100644 --- a/src/gen/lib/Model/LedgerAccountsSort.php +++ b/src/gen/lib/Model/LedgerAccountsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedConnectorResource.php b/src/gen/lib/Model/LinkedConnectorResource.php index 842d0d8bd2..7841cbd6ed 100644 --- a/src/gen/lib/Model/LinkedConnectorResource.php +++ b/src/gen/lib/Model/LinkedConnectorResource.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedCustomer.php b/src/gen/lib/Model/LinkedCustomer.php index 3ba3e93053..76a47d5ce5 100644 --- a/src/gen/lib/Model/LinkedCustomer.php +++ b/src/gen/lib/Model/LinkedCustomer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedEcommerceCustomer.php b/src/gen/lib/Model/LinkedEcommerceCustomer.php index 6ad8430b81..be2b9a3c45 100644 --- a/src/gen/lib/Model/LinkedEcommerceCustomer.php +++ b/src/gen/lib/Model/LinkedEcommerceCustomer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedEcommerceOrder.php b/src/gen/lib/Model/LinkedEcommerceOrder.php index 3d10f39375..8b2b5350d5 100644 --- a/src/gen/lib/Model/LinkedEcommerceOrder.php +++ b/src/gen/lib/Model/LinkedEcommerceOrder.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedFolder.php b/src/gen/lib/Model/LinkedFolder.php index 2c500cc210..d23f32ddfd 100644 --- a/src/gen/lib/Model/LinkedFolder.php +++ b/src/gen/lib/Model/LinkedFolder.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedInvoiceItem.php b/src/gen/lib/Model/LinkedInvoiceItem.php index 595bbe4014..c8ec12b71e 100644 --- a/src/gen/lib/Model/LinkedInvoiceItem.php +++ b/src/gen/lib/Model/LinkedInvoiceItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedLedgerAccount.php b/src/gen/lib/Model/LinkedLedgerAccount.php index a27dae90b6..a90c7fded1 100644 --- a/src/gen/lib/Model/LinkedLedgerAccount.php +++ b/src/gen/lib/Model/LinkedLedgerAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedParentCustomer.php b/src/gen/lib/Model/LinkedParentCustomer.php index 48828f1971..4a0d865cd6 100644 --- a/src/gen/lib/Model/LinkedParentCustomer.php +++ b/src/gen/lib/Model/LinkedParentCustomer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedSupplier.php b/src/gen/lib/Model/LinkedSupplier.php index f853bc0790..44b24274bb 100644 --- a/src/gen/lib/Model/LinkedSupplier.php +++ b/src/gen/lib/Model/LinkedSupplier.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedTaxRate.php b/src/gen/lib/Model/LinkedTaxRate.php index f04c7479dd..41ea99d002 100644 --- a/src/gen/lib/Model/LinkedTaxRate.php +++ b/src/gen/lib/Model/LinkedTaxRate.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedTrackingCategory.php b/src/gen/lib/Model/LinkedTrackingCategory.php index bb0f0f1332..c756ceafce 100644 --- a/src/gen/lib/Model/LinkedTrackingCategory.php +++ b/src/gen/lib/Model/LinkedTrackingCategory.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Links.php b/src/gen/lib/Model/Links.php index 609c5d0c49..f820e89ba1 100644 --- a/src/gen/lib/Model/Links.php +++ b/src/gen/lib/Model/Links.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Location.php b/src/gen/lib/Model/Location.php index b6f1f3579d..662b5c38c6 100644 --- a/src/gen/lib/Model/Location.php +++ b/src/gen/lib/Model/Location.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -67,7 +67,7 @@ class Location implements ModelInterface, ArrayAccess, \JsonSerializable 'status' => 'string', 'merchant_id' => 'string', 'currency' => '\Apideck\Client\Model\Currency', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -485,7 +485,7 @@ public function setCurrency($currency) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -495,7 +495,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Log.php b/src/gen/lib/Model/Log.php index ccd710c9fa..6336ce85e5 100644 --- a/src/gen/lib/Model/Log.php +++ b/src/gen/lib/Model/Log.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LogOperation.php b/src/gen/lib/Model/LogOperation.php index 1facf08bf0..6392788560 100644 --- a/src/gen/lib/Model/LogOperation.php +++ b/src/gen/lib/Model/LogOperation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LogService.php b/src/gen/lib/Model/LogService.php index 72ed66e772..13381824cc 100644 --- a/src/gen/lib/Model/LogService.php +++ b/src/gen/lib/Model/LogService.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LogsFilter.php b/src/gen/lib/Model/LogsFilter.php index 402334fb83..0ed4deee84 100644 --- a/src/gen/lib/Model/LogsFilter.php +++ b/src/gen/lib/Model/LogsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Merchant.php b/src/gen/lib/Model/Merchant.php index 67bf46e915..94607549d3 100644 --- a/src/gen/lib/Model/Merchant.php +++ b/src/gen/lib/Model/Merchant.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class Merchant implements ModelInterface, ArrayAccess, \JsonSerializable 'service_charges' => '\Apideck\Client\Model\ServiceCharge[]', 'language' => 'string', 'currency' => '\Apideck\Client\Model\Currency', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -545,7 +545,7 @@ public function setCurrency($currency) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -555,7 +555,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Message.php b/src/gen/lib/Model/Message.php index db9d3ab924..0a55be86a9 100644 --- a/src/gen/lib/Model/Message.php +++ b/src/gen/lib/Model/Message.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -77,7 +77,7 @@ class Message implements ModelInterface, ArrayAccess, \JsonSerializable 'price' => '\Apideck\Client\Model\Price', 'error' => '\Apideck\Client\Model\Error', 'messaging_service_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -894,7 +894,7 @@ public function setMessagingServiceId($messaging_service_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -904,7 +904,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Meta.php b/src/gen/lib/Model/Meta.php index 19070df5fd..dbace542c4 100644 --- a/src/gen/lib/Model/Meta.php +++ b/src/gen/lib/Model/Meta.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/MetaCursors.php b/src/gen/lib/Model/MetaCursors.php index f3cf3a285f..811496d387 100644 --- a/src/gen/lib/Model/MetaCursors.php +++ b/src/gen/lib/Model/MetaCursors.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ModelInterface.php b/src/gen/lib/Model/ModelInterface.php index 4c8f244247..1f316abeb6 100644 --- a/src/gen/lib/Model/ModelInterface.php +++ b/src/gen/lib/Model/ModelInterface.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Modifier.php b/src/gen/lib/Model/Modifier.php index 8ba6d0a65d..564ff1568f 100644 --- a/src/gen/lib/Model/Modifier.php +++ b/src/gen/lib/Model/Modifier.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Modifier implements ModelInterface, ArrayAccess, \JsonSerializable 'price_amount' => 'float', 'currency' => '\Apideck\Client\Model\Currency', 'available' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -493,7 +493,7 @@ public function setAvailable($available) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -503,7 +503,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ModifierGroup.php b/src/gen/lib/Model/ModifierGroup.php index 9ec870aef4..968ed6530b 100644 --- a/src/gen/lib/Model/ModifierGroup.php +++ b/src/gen/lib/Model/ModifierGroup.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class ModifierGroup implements ModelInterface, ArrayAccess, \JsonSerializable 'present_at_all_locations' => 'bool', 'modifiers' => 'object[]', 'deleted' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -549,7 +549,7 @@ public function setDeleted($deleted) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -559,7 +559,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ModifierGroupFilter.php b/src/gen/lib/Model/ModifierGroupFilter.php index 019d1cfa08..fb0bfa3431 100644 --- a/src/gen/lib/Model/ModifierGroupFilter.php +++ b/src/gen/lib/Model/ModifierGroupFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/NotFoundResponse.php b/src/gen/lib/Model/NotFoundResponse.php index 1e45569c54..76ee14cad4 100644 --- a/src/gen/lib/Model/NotFoundResponse.php +++ b/src/gen/lib/Model/NotFoundResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/NotImplementedResponse.php b/src/gen/lib/Model/NotImplementedResponse.php index 870ec2505a..288f5fce1b 100644 --- a/src/gen/lib/Model/NotImplementedResponse.php +++ b/src/gen/lib/Model/NotImplementedResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Note.php b/src/gen/lib/Model/Note.php index 17116db3fa..018bb8595e 100644 --- a/src/gen/lib/Model/Note.php +++ b/src/gen/lib/Model/Note.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -67,9 +67,10 @@ class Note implements ModelInterface, ArrayAccess, \JsonSerializable 'contact_id' => 'string', 'company_id' => 'string', 'opportunity_id' => 'string', + 'activity_id' => 'string', 'lead_id' => 'string', 'active' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => 'string', @@ -92,6 +93,7 @@ class Note implements ModelInterface, ArrayAccess, \JsonSerializable 'contact_id' => null, 'company_id' => null, 'opportunity_id' => null, + 'activity_id' => null, 'lead_id' => null, 'active' => null, 'custom_mappings' => null, @@ -136,6 +138,7 @@ public static function openAPIFormats() 'contact_id' => 'contact_id', 'company_id' => 'company_id', 'opportunity_id' => 'opportunity_id', + 'activity_id' => 'activity_id', 'lead_id' => 'lead_id', 'active' => 'active', 'custom_mappings' => 'custom_mappings', @@ -159,6 +162,7 @@ public static function openAPIFormats() 'contact_id' => 'setContactId', 'company_id' => 'setCompanyId', 'opportunity_id' => 'setOpportunityId', + 'activity_id' => 'setActivityId', 'lead_id' => 'setLeadId', 'active' => 'setActive', 'custom_mappings' => 'setCustomMappings', @@ -182,6 +186,7 @@ public static function openAPIFormats() 'contact_id' => 'getContactId', 'company_id' => 'getCompanyId', 'opportunity_id' => 'getOpportunityId', + 'activity_id' => 'getActivityId', 'lead_id' => 'getLeadId', 'active' => 'getActive', 'custom_mappings' => 'getCustomMappings', @@ -256,6 +261,7 @@ public function __construct(array $data = null) $this->container['contact_id'] = $data['contact_id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; $this->container['opportunity_id'] = $data['opportunity_id'] ?? null; + $this->container['activity_id'] = $data['activity_id'] ?? null; $this->container['lead_id'] = $data['lead_id'] ?? null; $this->container['active'] = $data['active'] ?? null; $this->container['custom_mappings'] = $data['custom_mappings'] ?? null; @@ -458,6 +464,30 @@ public function setOpportunityId($opportunity_id) return $this; } + /** + * Gets activity_id + * + * @return string|null + */ + public function getActivityId() + { + return $this->container['activity_id']; + } + + /** + * Sets activity_id + * + * @param string|null $activity_id The activity that is related to the note. + * + * @return self + */ + public function setActivityId($activity_id) + { + $this->container['activity_id'] = $activity_id; + + return $this; + } + /** * Gets lead_id * @@ -509,7 +539,7 @@ public function setActive($active) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -519,7 +549,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/OAuthGrantType.php b/src/gen/lib/Model/OAuthGrantType.php index 2d91627eb1..9d7d2472f4 100644 --- a/src/gen/lib/Model/OAuthGrantType.php +++ b/src/gen/lib/Model/OAuthGrantType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Offer.php b/src/gen/lib/Model/Offer.php index 4db33e3ffe..ffab40b4a5 100644 --- a/src/gen/lib/Model/Offer.php +++ b/src/gen/lib/Model/Offer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -62,7 +62,7 @@ class Offer implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'id' => 'string', 'application_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -293,7 +293,7 @@ public function setApplicationId($application_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -303,7 +303,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/OpportunitiesFilter.php b/src/gen/lib/Model/OpportunitiesFilter.php index 94573384b1..74f3ecc078 100644 --- a/src/gen/lib/Model/OpportunitiesFilter.php +++ b/src/gen/lib/Model/OpportunitiesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OpportunitiesSort.php b/src/gen/lib/Model/OpportunitiesSort.php index e906828ba8..27144d5e35 100644 --- a/src/gen/lib/Model/OpportunitiesSort.php +++ b/src/gen/lib/Model/OpportunitiesSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Opportunity.php b/src/gen/lib/Model/Opportunity.php index c6538947c0..0dc5d9f0f8 100644 --- a/src/gen/lib/Model/Opportunity.php +++ b/src/gen/lib/Model/Opportunity.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Opportunity implements ModelInterface, ArrayAccess, \JsonSerializable 'date_stage_changed' => '\DateTime', 'date_last_contacted' => '\DateTime', 'date_lead_created' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1331,7 +1331,7 @@ public function setDateLeadCreated($date_lead_created) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1341,7 +1341,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Order.php b/src/gen/lib/Model/Order.php index 329f32ba1b..2b20479dae 100644 --- a/src/gen/lib/Model/Order.php +++ b/src/gen/lib/Model/Order.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -97,7 +97,7 @@ class Order implements ModelInterface, ArrayAccess, \JsonSerializable 'source' => 'string', 'voided' => 'bool', 'voided_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -1503,7 +1503,7 @@ public function setVoidedAt($voided_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1513,7 +1513,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/OrderCustomers.php b/src/gen/lib/Model/OrderCustomers.php index f17851d588..7ad997fb60 100644 --- a/src/gen/lib/Model/OrderCustomers.php +++ b/src/gen/lib/Model/OrderCustomers.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderDiscounts.php b/src/gen/lib/Model/OrderDiscounts.php index 3731351da5..ae59b2f147 100644 --- a/src/gen/lib/Model/OrderDiscounts.php +++ b/src/gen/lib/Model/OrderDiscounts.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderFulfillments.php b/src/gen/lib/Model/OrderFulfillments.php index 2608df6506..10800c444a 100644 --- a/src/gen/lib/Model/OrderFulfillments.php +++ b/src/gen/lib/Model/OrderFulfillments.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderLineItems.php b/src/gen/lib/Model/OrderLineItems.php index 47ff2694fb..cd3dce6830 100644 --- a/src/gen/lib/Model/OrderLineItems.php +++ b/src/gen/lib/Model/OrderLineItems.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderPayments.php b/src/gen/lib/Model/OrderPayments.php index 72ae770a51..35b862b1ed 100644 --- a/src/gen/lib/Model/OrderPayments.php +++ b/src/gen/lib/Model/OrderPayments.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderPickupDetails.php b/src/gen/lib/Model/OrderPickupDetails.php index 5a7714c7f2..cbd676205f 100644 --- a/src/gen/lib/Model/OrderPickupDetails.php +++ b/src/gen/lib/Model/OrderPickupDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php b/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php index 11f596d01f..7a6d6ec216 100644 --- a/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php +++ b/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderPickupDetailsRecipient.php b/src/gen/lib/Model/OrderPickupDetailsRecipient.php index 7920f49929..9ebaacdf8d 100644 --- a/src/gen/lib/Model/OrderPickupDetailsRecipient.php +++ b/src/gen/lib/Model/OrderPickupDetailsRecipient.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderRefunds.php b/src/gen/lib/Model/OrderRefunds.php index 03b8a6d170..fc20b146bb 100644 --- a/src/gen/lib/Model/OrderRefunds.php +++ b/src/gen/lib/Model/OrderRefunds.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderTenders.php b/src/gen/lib/Model/OrderTenders.php index ad879b3466..bfd9d077fa 100644 --- a/src/gen/lib/Model/OrderTenders.php +++ b/src/gen/lib/Model/OrderTenders.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrderType.php b/src/gen/lib/Model/OrderType.php index 859e98b496..76ee5440a1 100644 --- a/src/gen/lib/Model/OrderType.php +++ b/src/gen/lib/Model/OrderType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrdersSort.php b/src/gen/lib/Model/OrdersSort.php index 42f33a3f16..564ad44acf 100644 --- a/src/gen/lib/Model/OrdersSort.php +++ b/src/gen/lib/Model/OrdersSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OtherExpenses.php b/src/gen/lib/Model/OtherExpenses.php index 6013f2f8d0..a99e2436fc 100644 --- a/src/gen/lib/Model/OtherExpenses.php +++ b/src/gen/lib/Model/OtherExpenses.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,12 +61,12 @@ class OtherExpenses implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'total' => 'float', 'records' => 'AnyOfProfitAndLossSectionProfitAndLossRecord[]', 'id' => 'string', 'code' => 'string', 'title' => 'string', - 'type' => '\Apideck\Client\Model\ProfitAndLossType' + 'type' => '\Apideck\Client\Model\ProfitAndLossType', + 'total' => 'float' ]; /** @@ -77,12 +77,12 @@ class OtherExpenses implements ModelInterface, ArrayAccess, \JsonSerializable * @psalm-var array */ protected static $openAPIFormats = [ - 'total' => null, 'records' => null, 'id' => null, 'code' => null, 'title' => null, - 'type' => null + 'type' => null, + 'total' => null ]; /** @@ -112,12 +112,12 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - 'total' => 'total', 'records' => 'records', 'id' => 'id', 'code' => 'code', 'title' => 'title', - 'type' => 'type' + 'type' => 'type', + 'total' => 'total' ]; /** @@ -126,12 +126,12 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - 'total' => 'setTotal', 'records' => 'setRecords', 'id' => 'setId', 'code' => 'setCode', 'title' => 'setTitle', - 'type' => 'setType' + 'type' => 'setType', + 'total' => 'setTotal' ]; /** @@ -140,12 +140,12 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - 'total' => 'getTotal', 'records' => 'getRecords', 'id' => 'getId', 'code' => 'getCode', 'title' => 'getTitle', - 'type' => 'getType' + 'type' => 'getType', + 'total' => 'getTotal' ]; /** @@ -205,12 +205,12 @@ public function getModelName() */ public function __construct(array $data = null) { - $this->container['total'] = $data['total'] ?? null; $this->container['records'] = $data['records'] ?? null; $this->container['id'] = $data['id'] ?? null; $this->container['code'] = $data['code'] ?? null; $this->container['title'] = $data['title'] ?? null; $this->container['type'] = $data['type'] ?? null; + $this->container['total'] = $data['total'] ?? null; } /** @@ -222,9 +222,6 @@ public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['total'] === null) { - $invalidProperties[] = "'total' can't be null"; - } if ($this->container['records'] === null) { $invalidProperties[] = "'records' can't be null"; } @@ -243,30 +240,6 @@ public function valid() } - /** - * Gets total - * - * @return float - */ - public function getTotal() - { - return $this->container['total']; - } - - /** - * Sets total - * - * @param float $total The aggregated total of all accounts within this category. - * - * @return self - */ - public function setTotal($total) - { - $this->container['total'] = $total; - - return $this; - } - /** * Gets records * @@ -386,6 +359,30 @@ public function setType($type) return $this; } + + /** + * Gets total + * + * @return float|null + */ + public function getTotal() + { + return $this->container['total']; + } + + /** + * Sets total + * + * @param float|null $total The aggregated total of all accounts within this category. + * + * @return self + */ + public function setTotal($total) + { + $this->container['total'] = $total; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/OtherIncome.php b/src/gen/lib/Model/OtherIncome.php index 8c39769f72..93c879bae9 100644 --- a/src/gen/lib/Model/OtherIncome.php +++ b/src/gen/lib/Model/OtherIncome.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,12 +61,12 @@ class OtherIncome implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'total' => 'float', 'records' => 'AnyOfProfitAndLossSectionProfitAndLossRecord[]', 'id' => 'string', 'code' => 'string', 'title' => 'string', - 'type' => '\Apideck\Client\Model\ProfitAndLossType' + 'type' => '\Apideck\Client\Model\ProfitAndLossType', + 'total' => 'float' ]; /** @@ -77,12 +77,12 @@ class OtherIncome implements ModelInterface, ArrayAccess, \JsonSerializable * @psalm-var array */ protected static $openAPIFormats = [ - 'total' => null, 'records' => null, 'id' => null, 'code' => null, 'title' => null, - 'type' => null + 'type' => null, + 'total' => null ]; /** @@ -112,12 +112,12 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - 'total' => 'total', 'records' => 'records', 'id' => 'id', 'code' => 'code', 'title' => 'title', - 'type' => 'type' + 'type' => 'type', + 'total' => 'total' ]; /** @@ -126,12 +126,12 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - 'total' => 'setTotal', 'records' => 'setRecords', 'id' => 'setId', 'code' => 'setCode', 'title' => 'setTitle', - 'type' => 'setType' + 'type' => 'setType', + 'total' => 'setTotal' ]; /** @@ -140,12 +140,12 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - 'total' => 'getTotal', 'records' => 'getRecords', 'id' => 'getId', 'code' => 'getCode', 'title' => 'getTitle', - 'type' => 'getType' + 'type' => 'getType', + 'total' => 'getTotal' ]; /** @@ -205,12 +205,12 @@ public function getModelName() */ public function __construct(array $data = null) { - $this->container['total'] = $data['total'] ?? null; $this->container['records'] = $data['records'] ?? null; $this->container['id'] = $data['id'] ?? null; $this->container['code'] = $data['code'] ?? null; $this->container['title'] = $data['title'] ?? null; $this->container['type'] = $data['type'] ?? null; + $this->container['total'] = $data['total'] ?? null; } /** @@ -222,9 +222,6 @@ public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['total'] === null) { - $invalidProperties[] = "'total' can't be null"; - } if ($this->container['records'] === null) { $invalidProperties[] = "'records' can't be null"; } @@ -243,30 +240,6 @@ public function valid() } - /** - * Gets total - * - * @return float - */ - public function getTotal() - { - return $this->container['total']; - } - - /** - * Sets total - * - * @param float $total The aggregated total of all accounts within this category. - * - * @return self - */ - public function setTotal($total) - { - $this->container['total'] = $total; - - return $this; - } - /** * Gets records * @@ -386,6 +359,30 @@ public function setType($type) return $this; } + + /** + * Gets total + * + * @return float|null + */ + public function getTotal() + { + return $this->container['total']; + } + + /** + * Sets total + * + * @param float|null $total The aggregated total of all accounts within this category. + * + * @return self + */ + public function setTotal($total) + { + $this->container['total'] = $total; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/OutstandingBalanceByCurrency.php b/src/gen/lib/Model/OutstandingBalanceByCurrency.php index bf5f4b1f2a..880b172fc8 100644 --- a/src/gen/lib/Model/OutstandingBalanceByCurrency.php +++ b/src/gen/lib/Model/OutstandingBalanceByCurrency.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OutstandingBalanceByCustomer.php b/src/gen/lib/Model/OutstandingBalanceByCustomer.php index c284218edf..64a789f3a9 100644 --- a/src/gen/lib/Model/OutstandingBalanceByCustomer.php +++ b/src/gen/lib/Model/OutstandingBalanceByCustomer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OutstandingBalanceBySupplier.php b/src/gen/lib/Model/OutstandingBalanceBySupplier.php index 115419d348..5a732987cb 100644 --- a/src/gen/lib/Model/OutstandingBalanceBySupplier.php +++ b/src/gen/lib/Model/OutstandingBalanceBySupplier.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Owner.php b/src/gen/lib/Model/Owner.php index e76815eaf4..7b7afbc8fc 100644 --- a/src/gen/lib/Model/Owner.php +++ b/src/gen/lib/Model/Owner.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaginationCoverage.php b/src/gen/lib/Model/PaginationCoverage.php index 204a40dfc2..c9f641a086 100644 --- a/src/gen/lib/Model/PaginationCoverage.php +++ b/src/gen/lib/Model/PaginationCoverage.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PassThroughQuery.php b/src/gen/lib/Model/PassThroughQuery.php index 7f3cbd0ec7..af8c9ac2c9 100644 --- a/src/gen/lib/Model/PassThroughQuery.php +++ b/src/gen/lib/Model/PassThroughQuery.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Payment.php b/src/gen/lib/Model/Payment.php index e6a51f2f1f..9e97e0a793 100644 --- a/src/gen/lib/Model/Payment.php +++ b/src/gen/lib/Model/Payment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class Payment implements ModelInterface, ArrayAccess, \JsonSerializable 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'display_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'created_at' => '\DateTime', @@ -1034,7 +1034,7 @@ public function setDisplayId($display_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1044,7 +1044,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PaymentCard.php b/src/gen/lib/Model/PaymentCard.php index d0ef9a74d0..71ef5735d6 100644 --- a/src/gen/lib/Model/PaymentCard.php +++ b/src/gen/lib/Model/PaymentCard.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentFrequency.php b/src/gen/lib/Model/PaymentFrequency.php index 1f016adfe6..63c9dddcf8 100644 --- a/src/gen/lib/Model/PaymentFrequency.php +++ b/src/gen/lib/Model/PaymentFrequency.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentRequiredResponse.php b/src/gen/lib/Model/PaymentRequiredResponse.php index 6c41e78cf3..d010183365 100644 --- a/src/gen/lib/Model/PaymentRequiredResponse.php +++ b/src/gen/lib/Model/PaymentRequiredResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentStatus.php b/src/gen/lib/Model/PaymentStatus.php index 03c506c661..4f9eb1d0c4 100644 --- a/src/gen/lib/Model/PaymentStatus.php +++ b/src/gen/lib/Model/PaymentStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentType.php b/src/gen/lib/Model/PaymentType.php index 91262c7ab9..e749a51d0b 100644 --- a/src/gen/lib/Model/PaymentType.php +++ b/src/gen/lib/Model/PaymentType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentUnit.php b/src/gen/lib/Model/PaymentUnit.php index de34daab0c..f9243be844 100644 --- a/src/gen/lib/Model/PaymentUnit.php +++ b/src/gen/lib/Model/PaymentUnit.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentsFilter.php b/src/gen/lib/Model/PaymentsFilter.php index 75f181a899..ebc0a885c5 100644 --- a/src/gen/lib/Model/PaymentsFilter.php +++ b/src/gen/lib/Model/PaymentsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -60,7 +60,8 @@ class PaymentsFilter implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'updated_since' => '\DateTime' + 'updated_since' => '\DateTime', + 'invoice_id' => 'string' ]; /** @@ -71,7 +72,8 @@ class PaymentsFilter implements ModelInterface, ArrayAccess, \JsonSerializable * @psalm-var array */ protected static $openAPIFormats = [ - 'updated_since' => 'date-time' + 'updated_since' => 'date-time', + 'invoice_id' => null ]; /** @@ -101,7 +103,8 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - 'updated_since' => 'updated_since' + 'updated_since' => 'updated_since', + 'invoice_id' => 'invoice_id' ]; /** @@ -110,7 +113,8 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - 'updated_since' => 'setUpdatedSince' + 'updated_since' => 'setUpdatedSince', + 'invoice_id' => 'setInvoiceId' ]; /** @@ -119,7 +123,8 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - 'updated_since' => 'getUpdatedSince' + 'updated_since' => 'getUpdatedSince', + 'invoice_id' => 'getInvoiceId' ]; /** @@ -180,6 +185,7 @@ public function getModelName() public function __construct(array $data = null) { $this->container['updated_since'] = $data['updated_since'] ?? null; + $this->container['invoice_id'] = $data['invoice_id'] ?? null; } /** @@ -229,6 +235,30 @@ public function setUpdatedSince($updated_since) return $this; } + + /** + * Gets invoice_id + * + * @return string|null + */ + public function getInvoiceId() + { + return $this->container['invoice_id']; + } + + /** + * Sets invoice_id + * + * @param string|null $invoice_id invoice_id + * + * @return self + */ + public function setInvoiceId($invoice_id) + { + $this->container['invoice_id'] = $invoice_id; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/PaymentsSort.php b/src/gen/lib/Model/PaymentsSort.php index f5405ca3a1..229b7fa8a3 100644 --- a/src/gen/lib/Model/PaymentsSort.php +++ b/src/gen/lib/Model/PaymentsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Payroll.php b/src/gen/lib/Model/Payroll.php index 0d0e6c0c92..a19b38ecef 100644 --- a/src/gen/lib/Model/Payroll.php +++ b/src/gen/lib/Model/Payroll.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class Payroll implements ModelInterface, ArrayAccess, \JsonSerializable 'processed_date' => 'string', 'totals' => '\Apideck\Client\Model\PayrollTotals', 'compensations' => '\Apideck\Client\Model\Compensation[]', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -530,7 +530,7 @@ public function setCompensations($compensations) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -540,7 +540,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PayrollTotals.php b/src/gen/lib/Model/PayrollTotals.php index 53b2db7ae7..741478aeb4 100644 --- a/src/gen/lib/Model/PayrollTotals.php +++ b/src/gen/lib/Model/PayrollTotals.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PayrollsFilter.php b/src/gen/lib/Model/PayrollsFilter.php index 96760aca76..c9430c0edd 100644 --- a/src/gen/lib/Model/PayrollsFilter.php +++ b/src/gen/lib/Model/PayrollsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Person.php b/src/gen/lib/Model/Person.php index 5bc2271772..3711c79c66 100644 --- a/src/gen/lib/Model/Person.php +++ b/src/gen/lib/Model/Person.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Person implements ModelInterface, ArrayAccess, \JsonSerializable 'initials' => 'string', 'birthday' => '\DateTime', 'deceased_on' => '\DateTime', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -449,7 +449,7 @@ public function setDeceasedOn($deceased_on) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -459,7 +459,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PhoneNumber.php b/src/gen/lib/Model/PhoneNumber.php index 0f583b620d..0c7ad6cffe 100644 --- a/src/gen/lib/Model/PhoneNumber.php +++ b/src/gen/lib/Model/PhoneNumber.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Pipeline.php b/src/gen/lib/Model/Pipeline.php index 16066f21b0..092c08ac80 100644 --- a/src/gen/lib/Model/Pipeline.php +++ b/src/gen/lib/Model/Pipeline.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PipelineStages.php b/src/gen/lib/Model/PipelineStages.php index 255631341e..74820f7ae2 100644 --- a/src/gen/lib/Model/PipelineStages.php +++ b/src/gen/lib/Model/PipelineStages.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PosBankAccount.php b/src/gen/lib/Model/PosBankAccount.php index 7aab17d16e..a31e235e99 100644 --- a/src/gen/lib/Model/PosBankAccount.php +++ b/src/gen/lib/Model/PosBankAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PosBankAccountAchDetails.php b/src/gen/lib/Model/PosBankAccountAchDetails.php index 29b6c29a28..dd841ee81e 100644 --- a/src/gen/lib/Model/PosBankAccountAchDetails.php +++ b/src/gen/lib/Model/PosBankAccountAchDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PosPayment.php b/src/gen/lib/Model/PosPayment.php index 1538acdde4..519ef58498 100644 --- a/src/gen/lib/Model/PosPayment.php +++ b/src/gen/lib/Model/PosPayment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -89,7 +89,7 @@ class PosPayment implements ModelInterface, ArrayAccess, \JsonSerializable 'wallet' => '\Apideck\Client\Model\WalletDetails', 'external_details' => '\Apideck\Client\Model\PosPaymentExternalDetails', 'service_charges' => '\Apideck\Client\Model\ServiceCharge[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1221,7 +1221,7 @@ public function setServiceCharges($service_charges) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1231,7 +1231,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PosPaymentCardDetails.php b/src/gen/lib/Model/PosPaymentCardDetails.php index b2a7ee1a18..d8b3982450 100644 --- a/src/gen/lib/Model/PosPaymentCardDetails.php +++ b/src/gen/lib/Model/PosPaymentCardDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PosPaymentExternalDetails.php b/src/gen/lib/Model/PosPaymentExternalDetails.php index 4134b15d5a..15322ee04f 100644 --- a/src/gen/lib/Model/PosPaymentExternalDetails.php +++ b/src/gen/lib/Model/PosPaymentExternalDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Price.php b/src/gen/lib/Model/Price.php index 56ada54784..4dbd76a683 100644 --- a/src/gen/lib/Model/Price.php +++ b/src/gen/lib/Model/Price.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProbationPeriod.php b/src/gen/lib/Model/ProbationPeriod.php index e62e3d5f97..3a95512aa6 100644 --- a/src/gen/lib/Model/ProbationPeriod.php +++ b/src/gen/lib/Model/ProbationPeriod.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProfitAndLoss.php b/src/gen/lib/Model/ProfitAndLoss.php index b30bb56873..bb47d2baeb 100644 --- a/src/gen/lib/Model/ProfitAndLoss.php +++ b/src/gen/lib/Model/ProfitAndLoss.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -74,7 +74,7 @@ class ProfitAndLoss implements ModelInterface, ArrayAccess, \JsonSerializable 'gross_profit' => '\Apideck\Client\Model\ProfitAndLossIndicator', 'net_operating_income' => '\Apideck\Client\Model\ProfitAndLossIndicator', 'net_income' => '\Apideck\Client\Model\ProfitAndLossIndicator', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'customer' => 'string' ]; @@ -665,7 +665,7 @@ public function setNetIncome($net_income) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -675,7 +675,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ProfitAndLossFilter.php b/src/gen/lib/Model/ProfitAndLossFilter.php index 765cb3b53f..697d0a03ae 100644 --- a/src/gen/lib/Model/ProfitAndLossFilter.php +++ b/src/gen/lib/Model/ProfitAndLossFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProfitAndLossIndicator.php b/src/gen/lib/Model/ProfitAndLossIndicator.php index 19c537e6ea..74cd3db100 100644 --- a/src/gen/lib/Model/ProfitAndLossIndicator.php +++ b/src/gen/lib/Model/ProfitAndLossIndicator.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProfitAndLossRecord.php b/src/gen/lib/Model/ProfitAndLossRecord.php index 62791918f0..f85b03f2d8 100644 --- a/src/gen/lib/Model/ProfitAndLossRecord.php +++ b/src/gen/lib/Model/ProfitAndLossRecord.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProfitAndLossSection.php b/src/gen/lib/Model/ProfitAndLossSection.php index cfbd81393e..254d0594d2 100644 --- a/src/gen/lib/Model/ProfitAndLossSection.php +++ b/src/gen/lib/Model/ProfitAndLossSection.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProfitAndLossType.php b/src/gen/lib/Model/ProfitAndLossType.php index 0eb05707f3..47fab8d56d 100644 --- a/src/gen/lib/Model/ProfitAndLossType.php +++ b/src/gen/lib/Model/ProfitAndLossType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PurchaseOrder.php b/src/gen/lib/Model/PurchaseOrder.php index 55ab2dbe5f..3eda233766 100644 --- a/src/gen/lib/Model/PurchaseOrder.php +++ b/src/gen/lib/Model/PurchaseOrder.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,6 +65,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'po_number' => 'string', 'reference' => 'string', 'supplier' => '\Apideck\Client\Model\LinkedSupplier', + 'subsidiary_id' => 'string', 'company_id' => 'string', 'status' => 'string', 'issued_date' => '\DateTime', @@ -89,7 +90,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'channel' => 'string', 'memo' => 'string', 'tracking_categories' => '\Apideck\Client\Model\LinkedTrackingCategory[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -112,6 +113,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'po_number' => null, 'reference' => null, 'supplier' => null, + 'subsidiary_id' => null, 'company_id' => null, 'status' => null, 'issued_date' => 'date', @@ -178,6 +180,7 @@ public static function openAPIFormats() 'po_number' => 'po_number', 'reference' => 'reference', 'supplier' => 'supplier', + 'subsidiary_id' => 'subsidiary_id', 'company_id' => 'company_id', 'status' => 'status', 'issued_date' => 'issued_date', @@ -223,6 +226,7 @@ public static function openAPIFormats() 'po_number' => 'setPoNumber', 'reference' => 'setReference', 'supplier' => 'setSupplier', + 'subsidiary_id' => 'setSubsidiaryId', 'company_id' => 'setCompanyId', 'status' => 'setStatus', 'issued_date' => 'setIssuedDate', @@ -268,6 +272,7 @@ public static function openAPIFormats() 'po_number' => 'getPoNumber', 'reference' => 'getReference', 'supplier' => 'getSupplier', + 'subsidiary_id' => 'getSubsidiaryId', 'company_id' => 'getCompanyId', 'status' => 'getStatus', 'issued_date' => 'getIssuedDate', @@ -387,6 +392,7 @@ public function __construct(array $data = null) $this->container['po_number'] = $data['po_number'] ?? null; $this->container['reference'] = $data['reference'] ?? null; $this->container['supplier'] = $data['supplier'] ?? null; + $this->container['subsidiary_id'] = $data['subsidiary_id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; $this->container['status'] = $data['status'] ?? null; $this->container['issued_date'] = $data['issued_date'] ?? null; @@ -574,6 +580,30 @@ public function setSupplier($supplier) return $this; } + /** + * Gets subsidiary_id + * + * @return string|null + */ + public function getSubsidiaryId() + { + return $this->container['subsidiary_id']; + } + + /** + * Sets subsidiary_id + * + * @param string|null $subsidiary_id The ID of the subsidiary + * + * @return self + */ + public function setSubsidiaryId($subsidiary_id) + { + $this->container['subsidiary_id'] = $subsidiary_id; + + return $this; + } + /** * Gets company_id * @@ -1163,7 +1193,7 @@ public function setTrackingCategories($tracking_categories) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1173,7 +1203,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PurchaseOrdersFilter.php b/src/gen/lib/Model/PurchaseOrdersFilter.php index f42d4eafe7..ddaaa9a62e 100644 --- a/src/gen/lib/Model/PurchaseOrdersFilter.php +++ b/src/gen/lib/Model/PurchaseOrdersFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PurchaseOrdersSort.php b/src/gen/lib/Model/PurchaseOrdersSort.php index 77349d44fb..5337116189 100644 --- a/src/gen/lib/Model/PurchaseOrdersSort.php +++ b/src/gen/lib/Model/PurchaseOrdersSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/RequestCountAllocation.php b/src/gen/lib/Model/RequestCountAllocation.php index 9bb9ba10cc..de00698778 100644 --- a/src/gen/lib/Model/RequestCountAllocation.php +++ b/src/gen/lib/Model/RequestCountAllocation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/RequestRate.php b/src/gen/lib/Model/RequestRate.php index ee39c029b2..2fad42713b 100644 --- a/src/gen/lib/Model/RequestRate.php +++ b/src/gen/lib/Model/RequestRate.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ResolveWebhookResponse.php b/src/gen/lib/Model/ResolveWebhookResponse.php index 9703024488..f2554d865d 100644 --- a/src/gen/lib/Model/ResolveWebhookResponse.php +++ b/src/gen/lib/Model/ResolveWebhookResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ResourceExample.php b/src/gen/lib/Model/ResourceExample.php index a2ffcf825b..a9ed74a27f 100644 --- a/src/gen/lib/Model/ResourceExample.php +++ b/src/gen/lib/Model/ResourceExample.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ResourceStatus.php b/src/gen/lib/Model/ResourceStatus.php index 20d0b6d5f9..5b5d2cb6aa 100644 --- a/src/gen/lib/Model/ResourceStatus.php +++ b/src/gen/lib/Model/ResourceStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Schedule.php b/src/gen/lib/Model/Schedule.php index cfa8c7e397..d16b792047 100644 --- a/src/gen/lib/Model/Schedule.php +++ b/src/gen/lib/Model/Schedule.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ScheduleWorkPattern.php b/src/gen/lib/Model/ScheduleWorkPattern.php index c97c1e56f6..8f730b158f 100644 --- a/src/gen/lib/Model/ScheduleWorkPattern.php +++ b/src/gen/lib/Model/ScheduleWorkPattern.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php b/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php index 20a43aaec6..f743271362 100644 --- a/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php +++ b/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SchemaSupport.php b/src/gen/lib/Model/SchemaSupport.php index e9272214c7..ed459ba0f7 100644 --- a/src/gen/lib/Model/SchemaSupport.php +++ b/src/gen/lib/Model/SchemaSupport.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ServiceCharge.php b/src/gen/lib/Model/ServiceCharge.php index e1c14e2465..e07b7a32d5 100644 --- a/src/gen/lib/Model/ServiceCharge.php +++ b/src/gen/lib/Model/ServiceCharge.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Session.php b/src/gen/lib/Model/Session.php index f94a19f0d1..935e8f6d3f 100644 --- a/src/gen/lib/Model/Session.php +++ b/src/gen/lib/Model/Session.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SessionSettings.php b/src/gen/lib/Model/SessionSettings.php index e6e4f5fb7a..dff2de4f0f 100644 --- a/src/gen/lib/Model/SessionSettings.php +++ b/src/gen/lib/Model/SessionSettings.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SessionTheme.php b/src/gen/lib/Model/SessionTheme.php index fcf6fe1823..36ee5dfb17 100644 --- a/src/gen/lib/Model/SessionTheme.php +++ b/src/gen/lib/Model/SessionTheme.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SharedLink.php b/src/gen/lib/Model/SharedLink.php index fb6d61467a..bda5f4ed25 100644 --- a/src/gen/lib/Model/SharedLink.php +++ b/src/gen/lib/Model/SharedLink.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SharedLinkTarget.php b/src/gen/lib/Model/SharedLinkTarget.php index 8eef67023b..31fa2083b2 100644 --- a/src/gen/lib/Model/SharedLinkTarget.php +++ b/src/gen/lib/Model/SharedLinkTarget.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SimpleFormFieldOption.php b/src/gen/lib/Model/SimpleFormFieldOption.php index 9a5f1bcf3d..7937a34cfd 100644 --- a/src/gen/lib/Model/SimpleFormFieldOption.php +++ b/src/gen/lib/Model/SimpleFormFieldOption.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SocialLink.php b/src/gen/lib/Model/SocialLink.php index 413d3fbf35..02abef5a2c 100644 --- a/src/gen/lib/Model/SocialLink.php +++ b/src/gen/lib/Model/SocialLink.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SortDirection.php b/src/gen/lib/Model/SortDirection.php index c5ae582546..2e47b7d304 100644 --- a/src/gen/lib/Model/SortDirection.php +++ b/src/gen/lib/Model/SortDirection.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Status.php b/src/gen/lib/Model/Status.php index e121bf1682..43ec8e4aa8 100644 --- a/src/gen/lib/Model/Status.php +++ b/src/gen/lib/Model/Status.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Subsidiary.php b/src/gen/lib/Model/Subsidiary.php index 35e9022a59..1c8f51b9fe 100644 --- a/src/gen/lib/Model/Subsidiary.php +++ b/src/gen/lib/Model/Subsidiary.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -64,7 +64,7 @@ class Subsidiary implements ModelInterface, ArrayAccess, \JsonSerializable 'parent_id' => 'string', 'name' => 'string', 'status' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -399,7 +399,7 @@ public function setStatus($status) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -409,7 +409,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/SubsidiaryReference.php b/src/gen/lib/Model/SubsidiaryReference.php index 1b98468eeb..d9398db416 100644 --- a/src/gen/lib/Model/SubsidiaryReference.php +++ b/src/gen/lib/Model/SubsidiaryReference.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Supplier.php b/src/gen/lib/Model/Supplier.php index 5132da5d0a..2009495c13 100644 --- a/src/gen/lib/Model/Supplier.php +++ b/src/gen/lib/Model/Supplier.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -85,7 +85,7 @@ class Supplier implements ModelInterface, ArrayAccess, \JsonSerializable 'status' => 'string', 'payment_method' => 'string', 'channel' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'updated_by' => 'string', 'created_by' => 'string', @@ -1050,7 +1050,7 @@ public function setChannel($channel) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1060,7 +1060,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/SuppliersFilter.php b/src/gen/lib/Model/SuppliersFilter.php index b146ae92d5..69a0b547bc 100644 --- a/src/gen/lib/Model/SuppliersFilter.php +++ b/src/gen/lib/Model/SuppliersFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SuppliersSort.php b/src/gen/lib/Model/SuppliersSort.php index 1c79d285f7..1b2e44dd66 100644 --- a/src/gen/lib/Model/SuppliersSort.php +++ b/src/gen/lib/Model/SuppliersSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/SupportedProperty.php b/src/gen/lib/Model/SupportedProperty.php index 8c196b85ac..8f988c9414 100644 --- a/src/gen/lib/Model/SupportedProperty.php +++ b/src/gen/lib/Model/SupportedProperty.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Tax.php b/src/gen/lib/Model/Tax.php index b793d977bc..936a0439a6 100644 --- a/src/gen/lib/Model/Tax.php +++ b/src/gen/lib/Model/Tax.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/TaxRate.php b/src/gen/lib/Model/TaxRate.php index 112b3d4f7d..529c61a432 100644 --- a/src/gen/lib/Model/TaxRate.php +++ b/src/gen/lib/Model/TaxRate.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -73,7 +73,7 @@ class TaxRate implements ModelInterface, ArrayAccess, \JsonSerializable 'report_tax_type' => 'string', 'original_tax_rate_id' => 'string', 'status' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -692,7 +692,7 @@ public function setStatus($status) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -702,7 +702,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TaxRatesFilter.php b/src/gen/lib/Model/TaxRatesFilter.php index e5b78c1764..650ec24267 100644 --- a/src/gen/lib/Model/TaxRatesFilter.php +++ b/src/gen/lib/Model/TaxRatesFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Team.php b/src/gen/lib/Model/Team.php index 13685da35b..a7a3c3e8c4 100644 --- a/src/gen/lib/Model/Team.php +++ b/src/gen/lib/Model/Team.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Tender.php b/src/gen/lib/Model/Tender.php index f856c16413..b2f962e3c3 100644 --- a/src/gen/lib/Model/Tender.php +++ b/src/gen/lib/Model/Tender.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Tender implements ModelInterface, ArrayAccess, \JsonSerializable 'editable' => 'bool', 'opens_cash_drawer' => 'bool', 'allows_tipping' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -479,7 +479,7 @@ public function setAllowsTipping($allows_tipping) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -489,7 +489,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Ticket.php b/src/gen/lib/Model/Ticket.php index cc03c56e78..e9cedca251 100644 --- a/src/gen/lib/Model/Ticket.php +++ b/src/gen/lib/Model/Ticket.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -75,7 +75,7 @@ class Ticket implements ModelInterface, ArrayAccess, \JsonSerializable 'due_date' => '\DateTime', 'completed_at' => '\DateTime', 'tags' => '\Apideck\Client\Model\CollectionTag[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'pass_through' => 'object[]' ]; @@ -706,7 +706,7 @@ public function setTags($tags) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -716,7 +716,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TicketsSort.php b/src/gen/lib/Model/TicketsSort.php index a4feaba733..1480c1d22a 100644 --- a/src/gen/lib/Model/TicketsSort.php +++ b/src/gen/lib/Model/TicketsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/TimeOffRequest.php b/src/gen/lib/Model/TimeOffRequest.php index 2c77829e93..5feccdac68 100644 --- a/src/gen/lib/Model/TimeOffRequest.php +++ b/src/gen/lib/Model/TimeOffRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -74,7 +74,7 @@ class TimeOffRequest implements ModelInterface, ArrayAccess, \JsonSerializable 'amount' => 'float', 'day_part' => 'string', 'notes' => '\Apideck\Client\Model\TimeOffRequestNotes', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -823,7 +823,7 @@ public function setNotes($notes) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -833,7 +833,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TimeOffRequestNotes.php b/src/gen/lib/Model/TimeOffRequestNotes.php index 450e8925b2..57e2ec3c4d 100644 --- a/src/gen/lib/Model/TimeOffRequestNotes.php +++ b/src/gen/lib/Model/TimeOffRequestNotes.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/TimeOffRequestsFilter.php b/src/gen/lib/Model/TimeOffRequestsFilter.php index 96b5c584ea..7285c52490 100644 --- a/src/gen/lib/Model/TimeOffRequestsFilter.php +++ b/src/gen/lib/Model/TimeOffRequestsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/TooManyRequestsResponse.php b/src/gen/lib/Model/TooManyRequestsResponse.php index 84dfa61e8f..045834b673 100644 --- a/src/gen/lib/Model/TooManyRequestsResponse.php +++ b/src/gen/lib/Model/TooManyRequestsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/TooManyRequestsResponseDetail.php b/src/gen/lib/Model/TooManyRequestsResponseDetail.php index 502041c8d9..93d59c0f89 100644 --- a/src/gen/lib/Model/TooManyRequestsResponseDetail.php +++ b/src/gen/lib/Model/TooManyRequestsResponseDetail.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/TrackingCategory.php b/src/gen/lib/Model/TrackingCategory.php index 27d9a62dae..7c87498d83 100644 --- a/src/gen/lib/Model/TrackingCategory.php +++ b/src/gen/lib/Model/TrackingCategory.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class TrackingCategory implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'code' => 'string', 'status' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -435,7 +435,7 @@ public function setStatus($status) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -445,7 +445,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TrackingItem.php b/src/gen/lib/Model/TrackingItem.php index 15e2c19f58..923ab41f93 100644 --- a/src/gen/lib/Model/TrackingItem.php +++ b/src/gen/lib/Model/TrackingItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UnauthorizedResponse.php b/src/gen/lib/Model/UnauthorizedResponse.php index 4f2a5c00c2..2dd788f23f 100644 --- a/src/gen/lib/Model/UnauthorizedResponse.php +++ b/src/gen/lib/Model/UnauthorizedResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UncategorizedAccounts.php b/src/gen/lib/Model/UncategorizedAccounts.php index 0b5b7d1e72..c02125cfaf 100644 --- a/src/gen/lib/Model/UncategorizedAccounts.php +++ b/src/gen/lib/Model/UncategorizedAccounts.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UnexpectedErrorResponse.php b/src/gen/lib/Model/UnexpectedErrorResponse.php index 92c6b4c264..3002a9e162 100644 --- a/src/gen/lib/Model/UnexpectedErrorResponse.php +++ b/src/gen/lib/Model/UnexpectedErrorResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UnifiedApiId.php b/src/gen/lib/Model/UnifiedApiId.php index 3b1fd83098..a80a7088f3 100644 --- a/src/gen/lib/Model/UnifiedApiId.php +++ b/src/gen/lib/Model/UnifiedApiId.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UnifiedFile.php b/src/gen/lib/Model/UnifiedFile.php index ab35cc9e39..829ac44287 100644 --- a/src/gen/lib/Model/UnifiedFile.php +++ b/src/gen/lib/Model/UnifiedFile.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -75,7 +75,7 @@ class UnifiedFile implements ModelInterface, ArrayAccess, \JsonSerializable 'permissions' => '\Apideck\Client\Model\UnifiedFilePermissions', 'exportable' => 'bool', 'export_formats' => 'string[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -692,7 +692,7 @@ public function setExportFormats($export_formats) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -702,7 +702,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/UnifiedFilePermissions.php b/src/gen/lib/Model/UnifiedFilePermissions.php index adc8a9b120..66aa16b8e7 100644 --- a/src/gen/lib/Model/UnifiedFilePermissions.php +++ b/src/gen/lib/Model/UnifiedFilePermissions.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UnifiedId.php b/src/gen/lib/Model/UnifiedId.php index 2ffa12c65f..19f1a8d88a 100644 --- a/src/gen/lib/Model/UnifiedId.php +++ b/src/gen/lib/Model/UnifiedId.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UnprocessableResponse.php b/src/gen/lib/Model/UnprocessableResponse.php index a5164d57a6..358d979310 100644 --- a/src/gen/lib/Model/UnprocessableResponse.php +++ b/src/gen/lib/Model/UnprocessableResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php b/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php index 8dd3010e78..f44db13a8d 100644 --- a/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateAccountingLocationResponse.php b/src/gen/lib/Model/UpdateAccountingLocationResponse.php index ab61bc5967..ed66982029 100644 --- a/src/gen/lib/Model/UpdateAccountingLocationResponse.php +++ b/src/gen/lib/Model/UpdateAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateActivityResponse.php b/src/gen/lib/Model/UpdateActivityResponse.php index 05bb62e6b5..01705e38fb 100644 --- a/src/gen/lib/Model/UpdateActivityResponse.php +++ b/src/gen/lib/Model/UpdateActivityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateApplicantResponse.php b/src/gen/lib/Model/UpdateApplicantResponse.php index 2334b2c6c8..c9ad88934e 100644 --- a/src/gen/lib/Model/UpdateApplicantResponse.php +++ b/src/gen/lib/Model/UpdateApplicantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateApplicationResponse.php b/src/gen/lib/Model/UpdateApplicationResponse.php index 1eb3c0ae22..3d87ee8a6a 100644 --- a/src/gen/lib/Model/UpdateApplicationResponse.php +++ b/src/gen/lib/Model/UpdateApplicationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateBankFeedAccountResponse.php b/src/gen/lib/Model/UpdateBankFeedAccountResponse.php new file mode 100644 index 0000000000..28bc2a926a --- /dev/null +++ b/src/gen/lib/Model/UpdateBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateBankFeedAccountResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/UpdateBankFeedStatementResponse.php b/src/gen/lib/Model/UpdateBankFeedStatementResponse.php new file mode 100644 index 0000000000..171cd9d757 --- /dev/null +++ b/src/gen/lib/Model/UpdateBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateBankFeedStatementResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/UpdateBillPaymentResponse.php b/src/gen/lib/Model/UpdateBillPaymentResponse.php index 0a736cd1e6..a34c0ae09f 100644 --- a/src/gen/lib/Model/UpdateBillPaymentResponse.php +++ b/src/gen/lib/Model/UpdateBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateBillResponse.php b/src/gen/lib/Model/UpdateBillResponse.php index 88bee8274e..167fb6e032 100644 --- a/src/gen/lib/Model/UpdateBillResponse.php +++ b/src/gen/lib/Model/UpdateBillResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateCommentResponse.php b/src/gen/lib/Model/UpdateCommentResponse.php index c1b4783b86..a4dff8f0be 100644 --- a/src/gen/lib/Model/UpdateCommentResponse.php +++ b/src/gen/lib/Model/UpdateCommentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateCompanyResponse.php b/src/gen/lib/Model/UpdateCompanyResponse.php index c6808c7328..8dacd13d65 100644 --- a/src/gen/lib/Model/UpdateCompanyResponse.php +++ b/src/gen/lib/Model/UpdateCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateConnectionResponse.php b/src/gen/lib/Model/UpdateConnectionResponse.php index a4c291e2a1..c1de4615ee 100644 --- a/src/gen/lib/Model/UpdateConnectionResponse.php +++ b/src/gen/lib/Model/UpdateConnectionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateConsumerRequest.php b/src/gen/lib/Model/UpdateConsumerRequest.php index 5fc1c6be46..0c96fded2e 100644 --- a/src/gen/lib/Model/UpdateConsumerRequest.php +++ b/src/gen/lib/Model/UpdateConsumerRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateConsumerResponse.php b/src/gen/lib/Model/UpdateConsumerResponse.php index 2aeda0c9ea..0e8ecca712 100644 --- a/src/gen/lib/Model/UpdateConsumerResponse.php +++ b/src/gen/lib/Model/UpdateConsumerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateContactResponse.php b/src/gen/lib/Model/UpdateContactResponse.php index 44ac5186a6..2f8d8929d5 100644 --- a/src/gen/lib/Model/UpdateContactResponse.php +++ b/src/gen/lib/Model/UpdateContactResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateCreditNoteResponse.php b/src/gen/lib/Model/UpdateCreditNoteResponse.php index 3b6d3a330b..470bb9e0ef 100644 --- a/src/gen/lib/Model/UpdateCreditNoteResponse.php +++ b/src/gen/lib/Model/UpdateCreditNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateCustomMappingRequest.php b/src/gen/lib/Model/UpdateCustomMappingRequest.php index 685d891a65..dbd547dba7 100644 --- a/src/gen/lib/Model/UpdateCustomMappingRequest.php +++ b/src/gen/lib/Model/UpdateCustomMappingRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateCustomMappingResponse.php b/src/gen/lib/Model/UpdateCustomMappingResponse.php index 34a42f5656..f7bf915e01 100644 --- a/src/gen/lib/Model/UpdateCustomMappingResponse.php +++ b/src/gen/lib/Model/UpdateCustomMappingResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateCustomObjectResponse.php b/src/gen/lib/Model/UpdateCustomObjectResponse.php new file mode 100644 index 0000000000..a769f19c15 --- /dev/null +++ b/src/gen/lib/Model/UpdateCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateCustomObjectResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/UpdateCustomObjectSchemaResponse.php b/src/gen/lib/Model/UpdateCustomObjectSchemaResponse.php new file mode 100644 index 0000000000..a16d7acfa4 --- /dev/null +++ b/src/gen/lib/Model/UpdateCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateCustomObjectSchemaResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'status_code' => 'int', + 'status' => 'string', + 'service' => 'string', + 'resource' => 'string', + 'operation' => 'string', + 'data' => '\Apideck\Client\Model\UnifiedId', + '_raw' => 'array' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'status_code' => null, + 'status' => null, + 'service' => null, + 'resource' => null, + 'operation' => null, + 'data' => null, + '_raw' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'status_code' => 'status_code', + 'status' => 'status', + 'service' => 'service', + 'resource' => 'resource', + 'operation' => 'operation', + 'data' => 'data', + '_raw' => '_raw' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'status_code' => 'setStatusCode', + 'status' => 'setStatus', + 'service' => 'setService', + 'resource' => 'setResource', + 'operation' => 'setOperation', + 'data' => 'setData', + '_raw' => 'setRaw' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'status_code' => 'getStatusCode', + 'status' => 'getStatus', + 'service' => 'getService', + 'resource' => 'getResource', + 'operation' => 'getOperation', + 'data' => 'getData', + '_raw' => 'getRaw' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['status_code'] = $data['status_code'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['service'] = $data['service'] ?? null; + $this->container['resource'] = $data['resource'] ?? null; + $this->container['operation'] = $data['operation'] ?? null; + $this->container['data'] = $data['data'] ?? null; + $this->container['_raw'] = $data['_raw'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['status_code'] === null) { + $invalidProperties[] = "'status_code' can't be null"; + } + if ($this->container['status'] === null) { + $invalidProperties[] = "'status' can't be null"; + } + if ($this->container['service'] === null) { + $invalidProperties[] = "'service' can't be null"; + } + if ($this->container['resource'] === null) { + $invalidProperties[] = "'resource' can't be null"; + } + if ($this->container['operation'] === null) { + $invalidProperties[] = "'operation' can't be null"; + } + if ($this->container['data'] === null) { + $invalidProperties[] = "'data' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets status_code + * + * @return int + */ + public function getStatusCode() + { + return $this->container['status_code']; + } + + /** + * Sets status_code + * + * @param int $status_code HTTP Response Status Code + * + * @return self + */ + public function setStatusCode($status_code) + { + $this->container['status_code'] = $status_code; + + return $this; + } + + /** + * Gets status + * + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string $status HTTP Response Status + * + * @return self + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets service + * + * @return string + */ + public function getService() + { + return $this->container['service']; + } + + /** + * Sets service + * + * @param string $service Apideck ID of service provider + * + * @return self + */ + public function setService($service) + { + $this->container['service'] = $service; + + return $this; + } + + /** + * Gets resource + * + * @return string + */ + public function getResource() + { + return $this->container['resource']; + } + + /** + * Sets resource + * + * @param string $resource Unified API resource name + * + * @return self + */ + public function setResource($resource) + { + $this->container['resource'] = $resource; + + return $this; + } + + /** + * Gets operation + * + * @return string + */ + public function getOperation() + { + return $this->container['operation']; + } + + /** + * Sets operation + * + * @param string $operation Operation performed + * + * @return self + */ + public function setOperation($operation) + { + $this->container['operation'] = $operation; + + return $this; + } + + /** + * Gets data + * + * @return \Apideck\Client\Model\UnifiedId + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\UnifiedId $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/gen/lib/Model/UpdateCustomerResponse.php b/src/gen/lib/Model/UpdateCustomerResponse.php index dfd8896f4a..597935aa9f 100644 --- a/src/gen/lib/Model/UpdateCustomerResponse.php +++ b/src/gen/lib/Model/UpdateCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateDepartmentResponse.php b/src/gen/lib/Model/UpdateDepartmentResponse.php index 5e656e29dd..a863bebaa3 100644 --- a/src/gen/lib/Model/UpdateDepartmentResponse.php +++ b/src/gen/lib/Model/UpdateDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateDriveGroupResponse.php b/src/gen/lib/Model/UpdateDriveGroupResponse.php index e59edc1155..0870daa160 100644 --- a/src/gen/lib/Model/UpdateDriveGroupResponse.php +++ b/src/gen/lib/Model/UpdateDriveGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateDriveResponse.php b/src/gen/lib/Model/UpdateDriveResponse.php index 058e5319cb..2c0dfc3095 100644 --- a/src/gen/lib/Model/UpdateDriveResponse.php +++ b/src/gen/lib/Model/UpdateDriveResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php b/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php index bebf0107a9..1a2c08c61e 100644 --- a/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php +++ b/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateEcommerceOrderResponse.php b/src/gen/lib/Model/UpdateEcommerceOrderResponse.php index fa41b30072..75136aa70d 100644 --- a/src/gen/lib/Model/UpdateEcommerceOrderResponse.php +++ b/src/gen/lib/Model/UpdateEcommerceOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateEmployeeResponse.php b/src/gen/lib/Model/UpdateEmployeeResponse.php index 1deebf4a8c..fb5520b591 100644 --- a/src/gen/lib/Model/UpdateEmployeeResponse.php +++ b/src/gen/lib/Model/UpdateEmployeeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateExpenseResponse.php b/src/gen/lib/Model/UpdateExpenseResponse.php index f2c8c6f0a8..87c0b8ddb4 100644 --- a/src/gen/lib/Model/UpdateExpenseResponse.php +++ b/src/gen/lib/Model/UpdateExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateFileRequest.php b/src/gen/lib/Model/UpdateFileRequest.php index abbfa19493..07636fe8e8 100644 --- a/src/gen/lib/Model/UpdateFileRequest.php +++ b/src/gen/lib/Model/UpdateFileRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateFileResponse.php b/src/gen/lib/Model/UpdateFileResponse.php index 9ba00bdf89..74ed819c00 100644 --- a/src/gen/lib/Model/UpdateFileResponse.php +++ b/src/gen/lib/Model/UpdateFileResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateFolderRequest.php b/src/gen/lib/Model/UpdateFolderRequest.php index 39805868bf..a3113dda0c 100644 --- a/src/gen/lib/Model/UpdateFolderRequest.php +++ b/src/gen/lib/Model/UpdateFolderRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateFolderResponse.php b/src/gen/lib/Model/UpdateFolderResponse.php index 28faabb69f..9a80d72aaa 100644 --- a/src/gen/lib/Model/UpdateFolderResponse.php +++ b/src/gen/lib/Model/UpdateFolderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateHrisCompanyResponse.php b/src/gen/lib/Model/UpdateHrisCompanyResponse.php index b5571f3e61..c18db4222c 100644 --- a/src/gen/lib/Model/UpdateHrisCompanyResponse.php +++ b/src/gen/lib/Model/UpdateHrisCompanyResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateInvoiceItemsResponse.php b/src/gen/lib/Model/UpdateInvoiceItemsResponse.php index f765abbb45..d23c9d0977 100644 --- a/src/gen/lib/Model/UpdateInvoiceItemsResponse.php +++ b/src/gen/lib/Model/UpdateInvoiceItemsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateInvoiceResponse.php b/src/gen/lib/Model/UpdateInvoiceResponse.php index 11b84905e9..7d9378c05b 100644 --- a/src/gen/lib/Model/UpdateInvoiceResponse.php +++ b/src/gen/lib/Model/UpdateInvoiceResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateItemResponse.php b/src/gen/lib/Model/UpdateItemResponse.php index d1d061c6cf..14b9c14eaf 100644 --- a/src/gen/lib/Model/UpdateItemResponse.php +++ b/src/gen/lib/Model/UpdateItemResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateJobResponse.php b/src/gen/lib/Model/UpdateJobResponse.php index c81e60ed2f..2e18163a5f 100644 --- a/src/gen/lib/Model/UpdateJobResponse.php +++ b/src/gen/lib/Model/UpdateJobResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateJournalEntryResponse.php b/src/gen/lib/Model/UpdateJournalEntryResponse.php index 2149ae6f37..4652181dd1 100644 --- a/src/gen/lib/Model/UpdateJournalEntryResponse.php +++ b/src/gen/lib/Model/UpdateJournalEntryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateLeadResponse.php b/src/gen/lib/Model/UpdateLeadResponse.php index 1ec08e8652..b14387a5af 100644 --- a/src/gen/lib/Model/UpdateLeadResponse.php +++ b/src/gen/lib/Model/UpdateLeadResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateLedgerAccountResponse.php b/src/gen/lib/Model/UpdateLedgerAccountResponse.php index aa35268a6b..10de44afb0 100644 --- a/src/gen/lib/Model/UpdateLedgerAccountResponse.php +++ b/src/gen/lib/Model/UpdateLedgerAccountResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateLocationResponse.php b/src/gen/lib/Model/UpdateLocationResponse.php index 823e25db1c..66d2bdf2d9 100644 --- a/src/gen/lib/Model/UpdateLocationResponse.php +++ b/src/gen/lib/Model/UpdateLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateMerchantResponse.php b/src/gen/lib/Model/UpdateMerchantResponse.php index f6a3a1678d..b8b0a04892 100644 --- a/src/gen/lib/Model/UpdateMerchantResponse.php +++ b/src/gen/lib/Model/UpdateMerchantResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateMessageResponse.php b/src/gen/lib/Model/UpdateMessageResponse.php index bcb466326a..1a39d17f88 100644 --- a/src/gen/lib/Model/UpdateMessageResponse.php +++ b/src/gen/lib/Model/UpdateMessageResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateModifierGroupResponse.php b/src/gen/lib/Model/UpdateModifierGroupResponse.php index 5f34a41887..dd3ee02e16 100644 --- a/src/gen/lib/Model/UpdateModifierGroupResponse.php +++ b/src/gen/lib/Model/UpdateModifierGroupResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateModifierResponse.php b/src/gen/lib/Model/UpdateModifierResponse.php index 8f5e0c1093..e5ad2d50a7 100644 --- a/src/gen/lib/Model/UpdateModifierResponse.php +++ b/src/gen/lib/Model/UpdateModifierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateNoteResponse.php b/src/gen/lib/Model/UpdateNoteResponse.php index 95543dea95..416fa07964 100644 --- a/src/gen/lib/Model/UpdateNoteResponse.php +++ b/src/gen/lib/Model/UpdateNoteResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateOpportunityResponse.php b/src/gen/lib/Model/UpdateOpportunityResponse.php index 7bbef91caf..558f2f687f 100644 --- a/src/gen/lib/Model/UpdateOpportunityResponse.php +++ b/src/gen/lib/Model/UpdateOpportunityResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateOrderResponse.php b/src/gen/lib/Model/UpdateOrderResponse.php index 1c7adc73c0..989dd5282c 100644 --- a/src/gen/lib/Model/UpdateOrderResponse.php +++ b/src/gen/lib/Model/UpdateOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateOrderTypeResponse.php b/src/gen/lib/Model/UpdateOrderTypeResponse.php index af063783ef..b6c265878b 100644 --- a/src/gen/lib/Model/UpdateOrderTypeResponse.php +++ b/src/gen/lib/Model/UpdateOrderTypeResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdatePaymentResponse.php b/src/gen/lib/Model/UpdatePaymentResponse.php index 0b7f1524d6..32615b1efd 100644 --- a/src/gen/lib/Model/UpdatePaymentResponse.php +++ b/src/gen/lib/Model/UpdatePaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdatePipelineResponse.php b/src/gen/lib/Model/UpdatePipelineResponse.php index 41db99cad2..739dc27364 100644 --- a/src/gen/lib/Model/UpdatePipelineResponse.php +++ b/src/gen/lib/Model/UpdatePipelineResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdatePosPaymentResponse.php b/src/gen/lib/Model/UpdatePosPaymentResponse.php index abd1b2ac9a..c22c00c153 100644 --- a/src/gen/lib/Model/UpdatePosPaymentResponse.php +++ b/src/gen/lib/Model/UpdatePosPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateProductResponse.php b/src/gen/lib/Model/UpdateProductResponse.php index e6f3c947f6..8260dca283 100644 --- a/src/gen/lib/Model/UpdateProductResponse.php +++ b/src/gen/lib/Model/UpdateProductResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdatePurchaseOrderResponse.php b/src/gen/lib/Model/UpdatePurchaseOrderResponse.php index 4d95fff074..290be6c23c 100644 --- a/src/gen/lib/Model/UpdatePurchaseOrderResponse.php +++ b/src/gen/lib/Model/UpdatePurchaseOrderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateSharedLinkResponse.php b/src/gen/lib/Model/UpdateSharedLinkResponse.php index 22914c9b84..77fb59a807 100644 --- a/src/gen/lib/Model/UpdateSharedLinkResponse.php +++ b/src/gen/lib/Model/UpdateSharedLinkResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateSubsidiaryResponse.php b/src/gen/lib/Model/UpdateSubsidiaryResponse.php index 6ba5d4acd1..0f6870bd1d 100644 --- a/src/gen/lib/Model/UpdateSubsidiaryResponse.php +++ b/src/gen/lib/Model/UpdateSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateSupplierResponse.php b/src/gen/lib/Model/UpdateSupplierResponse.php index 43c832c444..08fd0f1260 100644 --- a/src/gen/lib/Model/UpdateSupplierResponse.php +++ b/src/gen/lib/Model/UpdateSupplierResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateTaxRateResponse.php b/src/gen/lib/Model/UpdateTaxRateResponse.php index 23d90c5693..186db61bda 100644 --- a/src/gen/lib/Model/UpdateTaxRateResponse.php +++ b/src/gen/lib/Model/UpdateTaxRateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateTenderResponse.php b/src/gen/lib/Model/UpdateTenderResponse.php index 412df38ccb..6e2c5ca701 100644 --- a/src/gen/lib/Model/UpdateTenderResponse.php +++ b/src/gen/lib/Model/UpdateTenderResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateTicketResponse.php b/src/gen/lib/Model/UpdateTicketResponse.php index 7697d13a8f..00066e66d9 100644 --- a/src/gen/lib/Model/UpdateTicketResponse.php +++ b/src/gen/lib/Model/UpdateTicketResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateTimeOffRequestResponse.php b/src/gen/lib/Model/UpdateTimeOffRequestResponse.php index 05742784ab..4131cf0aa6 100644 --- a/src/gen/lib/Model/UpdateTimeOffRequestResponse.php +++ b/src/gen/lib/Model/UpdateTimeOffRequestResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateTrackingCategoryResponse.php b/src/gen/lib/Model/UpdateTrackingCategoryResponse.php index ead527398e..254e426289 100644 --- a/src/gen/lib/Model/UpdateTrackingCategoryResponse.php +++ b/src/gen/lib/Model/UpdateTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateUploadSessionResponse.php b/src/gen/lib/Model/UpdateUploadSessionResponse.php index 01ccba328d..947b371a62 100644 --- a/src/gen/lib/Model/UpdateUploadSessionResponse.php +++ b/src/gen/lib/Model/UpdateUploadSessionResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateUserResponse.php b/src/gen/lib/Model/UpdateUserResponse.php index c9e11411ec..fa1249f1fc 100644 --- a/src/gen/lib/Model/UpdateUserResponse.php +++ b/src/gen/lib/Model/UpdateUserResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateWebhookRequest.php b/src/gen/lib/Model/UpdateWebhookRequest.php index cbaa1f00b6..a03df0cd75 100644 --- a/src/gen/lib/Model/UpdateWebhookRequest.php +++ b/src/gen/lib/Model/UpdateWebhookRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateWebhookResponse.php b/src/gen/lib/Model/UpdateWebhookResponse.php index e39317007d..53e4db315e 100644 --- a/src/gen/lib/Model/UpdateWebhookResponse.php +++ b/src/gen/lib/Model/UpdateWebhookResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UploadSession.php b/src/gen/lib/Model/UploadSession.php index 9d7463b884..cbfcb5e5f7 100644 --- a/src/gen/lib/Model/UploadSession.php +++ b/src/gen/lib/Model/UploadSession.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/User.php b/src/gen/lib/Model/User.php index e28b6322ce..fc4a33b9ed 100644 --- a/src/gen/lib/Model/User.php +++ b/src/gen/lib/Model/User.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -78,7 +78,7 @@ class User implements ModelInterface, ArrayAccess, \JsonSerializable 'password' => 'string', 'addresses' => '\Apideck\Client\Model\Address[]', 'phone_numbers' => '\Apideck\Client\Model\PhoneNumber[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => 'string', 'created_at' => 'string', 'pass_through' => 'object[]' @@ -772,7 +772,7 @@ public function setPhoneNumbers($phone_numbers) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -782,7 +782,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ValidateConnectionStateResponse.php b/src/gen/lib/Model/ValidateConnectionStateResponse.php index c4fa7971c0..c169787b40 100644 --- a/src/gen/lib/Model/ValidateConnectionStateResponse.php +++ b/src/gen/lib/Model/ValidateConnectionStateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ValidateConnectionStateResponseData.php b/src/gen/lib/Model/ValidateConnectionStateResponseData.php index 22cef1ab46..6afa715176 100644 --- a/src/gen/lib/Model/ValidateConnectionStateResponseData.php +++ b/src/gen/lib/Model/ValidateConnectionStateResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/VaultEventType.php b/src/gen/lib/Model/VaultEventType.php index d31e3360e0..57e0716187 100644 --- a/src/gen/lib/Model/VaultEventType.php +++ b/src/gen/lib/Model/VaultEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/VirtualWebhooks.php b/src/gen/lib/Model/VirtualWebhooks.php index 1709dd6101..28a223f1f6 100644 --- a/src/gen/lib/Model/VirtualWebhooks.php +++ b/src/gen/lib/Model/VirtualWebhooks.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/VirtualWebhooksResources.php b/src/gen/lib/Model/VirtualWebhooksResources.php index 726420319e..ab1a4f4df5 100644 --- a/src/gen/lib/Model/VirtualWebhooksResources.php +++ b/src/gen/lib/Model/VirtualWebhooksResources.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WalletDetails.php b/src/gen/lib/Model/WalletDetails.php index 34453dd0dd..dc21a36e00 100644 --- a/src/gen/lib/Model/WalletDetails.php +++ b/src/gen/lib/Model/WalletDetails.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Webhook.php b/src/gen/lib/Model/Webhook.php index 00823fb47d..8022edf5e6 100644 --- a/src/gen/lib/Model/Webhook.php +++ b/src/gen/lib/Model/Webhook.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookEvent.php b/src/gen/lib/Model/WebhookEvent.php index de2001aea8..797d902312 100644 --- a/src/gen/lib/Model/WebhookEvent.php +++ b/src/gen/lib/Model/WebhookEvent.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookEventLog.php b/src/gen/lib/Model/WebhookEventLog.php index a941d117a9..7caa4941a0 100644 --- a/src/gen/lib/Model/WebhookEventLog.php +++ b/src/gen/lib/Model/WebhookEventLog.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookEventLogAttempts.php b/src/gen/lib/Model/WebhookEventLogAttempts.php index ff7d277fe0..939605985a 100644 --- a/src/gen/lib/Model/WebhookEventLogAttempts.php +++ b/src/gen/lib/Model/WebhookEventLogAttempts.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookEventLogService.php b/src/gen/lib/Model/WebhookEventLogService.php index e4ca1b2e8b..3b1617b768 100644 --- a/src/gen/lib/Model/WebhookEventLogService.php +++ b/src/gen/lib/Model/WebhookEventLogService.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookEventLogsFilter.php b/src/gen/lib/Model/WebhookEventLogsFilter.php index 29d34c529a..abeaab24e1 100644 --- a/src/gen/lib/Model/WebhookEventLogsFilter.php +++ b/src/gen/lib/Model/WebhookEventLogsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookEventLogsFilterService.php b/src/gen/lib/Model/WebhookEventLogsFilterService.php index dacba54c6e..0a2c2e4a5b 100644 --- a/src/gen/lib/Model/WebhookEventLogsFilterService.php +++ b/src/gen/lib/Model/WebhookEventLogsFilterService.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookEventType.php b/src/gen/lib/Model/WebhookEventType.php index 891984514f..b11e6af54c 100644 --- a/src/gen/lib/Model/WebhookEventType.php +++ b/src/gen/lib/Model/WebhookEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookSubscription.php b/src/gen/lib/Model/WebhookSubscription.php index 69cd739a04..35ffc49f77 100644 --- a/src/gen/lib/Model/WebhookSubscription.php +++ b/src/gen/lib/Model/WebhookSubscription.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/WebhookSupport.php b/src/gen/lib/Model/WebhookSupport.php index 02d3f24e05..629a6a3045 100644 --- a/src/gen/lib/Model/WebhookSupport.php +++ b/src/gen/lib/Model/WebhookSupport.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Website.php b/src/gen/lib/Model/Website.php index 97ca9f9fa0..6d306c66e6 100644 --- a/src/gen/lib/Model/Website.php +++ b/src/gen/lib/Model/Website.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/ObjectSerializer.php b/src/gen/lib/ObjectSerializer.php index d408c5a01d..0c4e2b0709 100644 --- a/src/gen/lib/ObjectSerializer.php +++ b/src/gen/lib/ObjectSerializer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/AccountingApiTest.php b/src/gen/test/Api/AccountingApiTest.php index 2d11780d50..1375d6fd5e 100644 --- a/src/gen/test/Api/AccountingApiTest.php +++ b/src/gen/test/Api/AccountingApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -156,6 +156,126 @@ public function testBalanceSheetOne() $this->markTestIncomplete('Not implemented'); } + /** + * Test case for bankFeedAccountsAdd + * + * Create Bank Feed Account. + * + */ + public function testBankFeedAccountsAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsAll + * + * List Bank Feed Accounts. + * + */ + public function testBankFeedAccountsAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsDelete + * + * Delete Bank Feed Account. + * + */ + public function testBankFeedAccountsDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsOne + * + * Get Bank Feed Account. + * + */ + public function testBankFeedAccountsOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsUpdate + * + * Update Bank Feed Account. + * + */ + public function testBankFeedAccountsUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsAdd + * + * Create Bank Feed Statement. + * + */ + public function testBankFeedStatementsAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsAll + * + * List Bank Feed Statements. + * + */ + public function testBankFeedStatementsAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsDelete + * + * Delete Bank Feed Statement. + * + */ + public function testBankFeedStatementsDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsOne + * + * Get Bank Feed Statement. + * + */ + public function testBankFeedStatementsOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsUpdate + * + * Update Bank Feed Statement. + * + */ + public function testBankFeedStatementsUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test case for billPaymentsAdd * diff --git a/src/gen/test/Api/AtsApiTest.php b/src/gen/test/Api/AtsApiTest.php index feabb4b7c6..bacf8c772f 100644 --- a/src/gen/test/Api/AtsApiTest.php +++ b/src/gen/test/Api/AtsApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/ConnectorApiTest.php b/src/gen/test/Api/ConnectorApiTest.php index a338734416..3864bc6ffd 100644 --- a/src/gen/test/Api/ConnectorApiTest.php +++ b/src/gen/test/Api/ConnectorApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/CrmApiTest.php b/src/gen/test/Api/CrmApiTest.php index a429e73651..6c96cb663d 100644 --- a/src/gen/test/Api/CrmApiTest.php +++ b/src/gen/test/Api/CrmApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -252,6 +252,126 @@ public function testContactsUpdate() $this->markTestIncomplete('Not implemented'); } + /** + * Test case for customObjectSchemasAdd + * + * Create custom object schema. + * + */ + public function testCustomObjectSchemasAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasAll + * + * List custom object schemas. + * + */ + public function testCustomObjectSchemasAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasDelete + * + * Delete custom object schema. + * + */ + public function testCustomObjectSchemasDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasOne + * + * Get custom object schema. + * + */ + public function testCustomObjectSchemasOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasUpdate + * + * Update custom object schema. + * + */ + public function testCustomObjectSchemasUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsAdd + * + * Create custom object. + * + */ + public function testCustomObjectsAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsAll + * + * List custom objects. + * + */ + public function testCustomObjectsAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsDelete + * + * Delete custom object. + * + */ + public function testCustomObjectsDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsOne + * + * Get custom object. + * + */ + public function testCustomObjectsOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsUpdate + * + * Update custom object. + * + */ + public function testCustomObjectsUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test case for leadsAdd * diff --git a/src/gen/test/Api/EcommerceApiTest.php b/src/gen/test/Api/EcommerceApiTest.php index 3c3c5b8170..5011cb5417 100644 --- a/src/gen/test/Api/EcommerceApiTest.php +++ b/src/gen/test/Api/EcommerceApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/FileStorageApiTest.php b/src/gen/test/Api/FileStorageApiTest.php index 6e891d211a..c802ed6d70 100644 --- a/src/gen/test/Api/FileStorageApiTest.php +++ b/src/gen/test/Api/FileStorageApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/HrisApiTest.php b/src/gen/test/Api/HrisApiTest.php index 1b2caa7fc0..61e35b4732 100644 --- a/src/gen/test/Api/HrisApiTest.php +++ b/src/gen/test/Api/HrisApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/IssueTrackingApiTest.php b/src/gen/test/Api/IssueTrackingApiTest.php index b05ed5a580..ef63786863 100644 --- a/src/gen/test/Api/IssueTrackingApiTest.php +++ b/src/gen/test/Api/IssueTrackingApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/LeadApiTest.php b/src/gen/test/Api/LeadApiTest.php index b005694dfe..d4ec6cc72d 100644 --- a/src/gen/test/Api/LeadApiTest.php +++ b/src/gen/test/Api/LeadApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/PosApiTest.php b/src/gen/test/Api/PosApiTest.php index f385a56383..d0847cd509 100644 --- a/src/gen/test/Api/PosApiTest.php +++ b/src/gen/test/Api/PosApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/SmsApiTest.php b/src/gen/test/Api/SmsApiTest.php index d5699fd6a4..2c213d9f3d 100644 --- a/src/gen/test/Api/SmsApiTest.php +++ b/src/gen/test/Api/SmsApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/VaultApiTest.php b/src/gen/test/Api/VaultApiTest.php index 2bf27ab229..f0135ce59c 100644 --- a/src/gen/test/Api/VaultApiTest.php +++ b/src/gen/test/Api/VaultApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Api/WebhookApiTest.php b/src/gen/test/Api/WebhookApiTest.php index d617d1da9a..eedb12eee0 100644 --- a/src/gen/test/Api/WebhookApiTest.php +++ b/src/gen/test/Api/WebhookApiTest.php @@ -14,7 +14,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AccountingDepartmentTest.php b/src/gen/test/Model/AccountingDepartmentTest.php index 8d38423be7..0a28c16aab 100644 --- a/src/gen/test/Model/AccountingDepartmentTest.php +++ b/src/gen/test/Model/AccountingDepartmentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -125,6 +125,15 @@ public function testPropertySubsidiaries() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "code" + */ + public function testPropertyCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "custom_mappings" */ diff --git a/src/gen/test/Model/AccountingDepartmentsFilterTest.php b/src/gen/test/Model/AccountingDepartmentsFilterTest.php index 0ef37ad930..1afe9a4227 100644 --- a/src/gen/test/Model/AccountingDepartmentsFilterTest.php +++ b/src/gen/test/Model/AccountingDepartmentsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AccountingEventTypeTest.php b/src/gen/test/Model/AccountingEventTypeTest.php index 0b8782781b..ddf269a53c 100644 --- a/src/gen/test/Model/AccountingEventTypeTest.php +++ b/src/gen/test/Model/AccountingEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AccountingLocationTest.php b/src/gen/test/Model/AccountingLocationTest.php index 4e228d774a..bc19d67816 100644 --- a/src/gen/test/Model/AccountingLocationTest.php +++ b/src/gen/test/Model/AccountingLocationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AccountingLocationsFilterTest.php b/src/gen/test/Model/AccountingLocationsFilterTest.php index b27e53718f..1987e6bdff 100644 --- a/src/gen/test/Model/AccountingLocationsFilterTest.php +++ b/src/gen/test/Model/AccountingLocationsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ActivitiesFilterTest.php b/src/gen/test/Model/ActivitiesFilterTest.php index 750571625c..92bf9392a2 100644 --- a/src/gen/test/Model/ActivitiesFilterTest.php +++ b/src/gen/test/Model/ActivitiesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ActivitiesSortTest.php b/src/gen/test/Model/ActivitiesSortTest.php index 9a2168aa2b..82eb2cc721 100644 --- a/src/gen/test/Model/ActivitiesSortTest.php +++ b/src/gen/test/Model/ActivitiesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ActivityAttendeeTest.php b/src/gen/test/Model/ActivityAttendeeTest.php index 743afffee3..2b13834d8d 100644 --- a/src/gen/test/Model/ActivityAttendeeTest.php +++ b/src/gen/test/Model/ActivityAttendeeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ActivityTest.php b/src/gen/test/Model/ActivityTest.php index 28e5342919..067f5aee91 100644 --- a/src/gen/test/Model/ActivityTest.php +++ b/src/gen/test/Model/ActivityTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AddressTest.php b/src/gen/test/Model/AddressTest.php index a68dbca93e..adb1ce65d6 100644 --- a/src/gen/test/Model/AddressTest.php +++ b/src/gen/test/Model/AddressTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AgedCreditorsTest.php b/src/gen/test/Model/AgedCreditorsTest.php index c28a208b28..266523b97d 100644 --- a/src/gen/test/Model/AgedCreditorsTest.php +++ b/src/gen/test/Model/AgedCreditorsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AgedDebtorsTest.php b/src/gen/test/Model/AgedDebtorsTest.php index e1b1e34705..6b60d7f1ff 100644 --- a/src/gen/test/Model/AgedDebtorsTest.php +++ b/src/gen/test/Model/AgedDebtorsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AgedReportFilterTest.php b/src/gen/test/Model/AgedReportFilterTest.php index 4406cab748..387dc1e21c 100644 --- a/src/gen/test/Model/AgedReportFilterTest.php +++ b/src/gen/test/Model/AgedReportFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AllocationTest.php b/src/gen/test/Model/AllocationTest.php index c1d0df5eae..6114b1096f 100644 --- a/src/gen/test/Model/AllocationTest.php +++ b/src/gen/test/Model/AllocationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApiResourceCoverageCoverageTest.php b/src/gen/test/Model/ApiResourceCoverageCoverageTest.php index de74215479..179c69c464 100644 --- a/src/gen/test/Model/ApiResourceCoverageCoverageTest.php +++ b/src/gen/test/Model/ApiResourceCoverageCoverageTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApiResourceCoverageTest.php b/src/gen/test/Model/ApiResourceCoverageTest.php index ef9bb0bedc..281edc1220 100644 --- a/src/gen/test/Model/ApiResourceCoverageTest.php +++ b/src/gen/test/Model/ApiResourceCoverageTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApiResourceLinkedResourcesTest.php b/src/gen/test/Model/ApiResourceLinkedResourcesTest.php index 6c5ee7c841..cf75623b25 100644 --- a/src/gen/test/Model/ApiResourceLinkedResourcesTest.php +++ b/src/gen/test/Model/ApiResourceLinkedResourcesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApiResourceTest.php b/src/gen/test/Model/ApiResourceTest.php index a2848fa50f..fd828ce645 100644 --- a/src/gen/test/Model/ApiResourceTest.php +++ b/src/gen/test/Model/ApiResourceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApiResourcesTest.php b/src/gen/test/Model/ApiResourcesTest.php index df973ab8b7..e0746e8229 100644 --- a/src/gen/test/Model/ApiResourcesTest.php +++ b/src/gen/test/Model/ApiResourcesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApiStatusTest.php b/src/gen/test/Model/ApiStatusTest.php index 0723032445..266a2a6839 100644 --- a/src/gen/test/Model/ApiStatusTest.php +++ b/src/gen/test/Model/ApiStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApiTest.php b/src/gen/test/Model/ApiTest.php index 0c6cbbd8db..73cd00afa7 100644 --- a/src/gen/test/Model/ApiTest.php +++ b/src/gen/test/Model/ApiTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApisFilterTest.php b/src/gen/test/Model/ApisFilterTest.php index 461f8dc584..d2149eded6 100644 --- a/src/gen/test/Model/ApisFilterTest.php +++ b/src/gen/test/Model/ApisFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApplicantSocialLinksTest.php b/src/gen/test/Model/ApplicantSocialLinksTest.php index 98f04caa86..65501e967d 100644 --- a/src/gen/test/Model/ApplicantSocialLinksTest.php +++ b/src/gen/test/Model/ApplicantSocialLinksTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApplicantTest.php b/src/gen/test/Model/ApplicantTest.php index 5d69dd6e00..384b3cd109 100644 --- a/src/gen/test/Model/ApplicantTest.php +++ b/src/gen/test/Model/ApplicantTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApplicantWebsitesTest.php b/src/gen/test/Model/ApplicantWebsitesTest.php index afcbf8508b..89ab2c283e 100644 --- a/src/gen/test/Model/ApplicantWebsitesTest.php +++ b/src/gen/test/Model/ApplicantWebsitesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApplicantsFilterTest.php b/src/gen/test/Model/ApplicantsFilterTest.php index 19324dd8dc..91239e44a1 100644 --- a/src/gen/test/Model/ApplicantsFilterTest.php +++ b/src/gen/test/Model/ApplicantsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApplicationStageTest.php b/src/gen/test/Model/ApplicationStageTest.php index cb25e5820e..787e3f1fd9 100644 --- a/src/gen/test/Model/ApplicationStageTest.php +++ b/src/gen/test/Model/ApplicationStageTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ApplicationTest.php b/src/gen/test/Model/ApplicationTest.php index 580ad323bd..6021600552 100644 --- a/src/gen/test/Model/ApplicationTest.php +++ b/src/gen/test/Model/ApplicationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AssigneeTest.php b/src/gen/test/Model/AssigneeTest.php index 52290e3ffe..7a938a479c 100644 --- a/src/gen/test/Model/AssigneeTest.php +++ b/src/gen/test/Model/AssigneeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AtsActivityTest.php b/src/gen/test/Model/AtsActivityTest.php index 73f9442ce1..ac75b13c77 100644 --- a/src/gen/test/Model/AtsActivityTest.php +++ b/src/gen/test/Model/AtsActivityTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AtsEventTypeTest.php b/src/gen/test/Model/AtsEventTypeTest.php index 8ade95c182..3a70f22727 100644 --- a/src/gen/test/Model/AtsEventTypeTest.php +++ b/src/gen/test/Model/AtsEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AttachmentReferenceTest.php b/src/gen/test/Model/AttachmentReferenceTest.php index 880581d9e7..cb33614715 100644 --- a/src/gen/test/Model/AttachmentReferenceTest.php +++ b/src/gen/test/Model/AttachmentReferenceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AttachmentReferenceTypeTest.php b/src/gen/test/Model/AttachmentReferenceTypeTest.php index e123fa8f72..c7c9abe4de 100644 --- a/src/gen/test/Model/AttachmentReferenceTypeTest.php +++ b/src/gen/test/Model/AttachmentReferenceTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AttachmentTest.php b/src/gen/test/Model/AttachmentTest.php index b27516b1c7..4048fd6675 100644 --- a/src/gen/test/Model/AttachmentTest.php +++ b/src/gen/test/Model/AttachmentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AuthTypeTest.php b/src/gen/test/Model/AuthTypeTest.php index 2107f25e2a..6e6e7f9399 100644 --- a/src/gen/test/Model/AuthTypeTest.php +++ b/src/gen/test/Model/AuthTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BadRequestResponseTest.php b/src/gen/test/Model/BadRequestResponseTest.php index 1140a24e03..79ca8feb05 100644 --- a/src/gen/test/Model/BadRequestResponseTest.php +++ b/src/gen/test/Model/BadRequestResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceByPeriodTest.php b/src/gen/test/Model/BalanceByPeriodTest.php index a0e56d5a03..85e97cac6e 100644 --- a/src/gen/test/Model/BalanceByPeriodTest.php +++ b/src/gen/test/Model/BalanceByPeriodTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceByTransactionTest.php b/src/gen/test/Model/BalanceByTransactionTest.php index 5a2e53945c..120e9609f2 100644 --- a/src/gen/test/Model/BalanceByTransactionTest.php +++ b/src/gen/test/Model/BalanceByTransactionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetAccountRecordTest.php b/src/gen/test/Model/BalanceSheetAccountRecordTest.php index 634c022c92..c97c298110 100644 --- a/src/gen/test/Model/BalanceSheetAccountRecordTest.php +++ b/src/gen/test/Model/BalanceSheetAccountRecordTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetAccountTest.php b/src/gen/test/Model/BalanceSheetAccountTest.php index be2f1cf4b0..1806e261fd 100644 --- a/src/gen/test/Model/BalanceSheetAccountTest.php +++ b/src/gen/test/Model/BalanceSheetAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetAssetsAccountTest.php b/src/gen/test/Model/BalanceSheetAssetsAccountTest.php index 880f4d870b..e8986d62dd 100644 --- a/src/gen/test/Model/BalanceSheetAssetsAccountTest.php +++ b/src/gen/test/Model/BalanceSheetAssetsAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetEquityAccountTest.php b/src/gen/test/Model/BalanceSheetEquityAccountTest.php index 13e23543da..1cadefe20f 100644 --- a/src/gen/test/Model/BalanceSheetEquityAccountTest.php +++ b/src/gen/test/Model/BalanceSheetEquityAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetFilterTest.php b/src/gen/test/Model/BalanceSheetFilterTest.php index bc92a8fead..4025153946 100644 --- a/src/gen/test/Model/BalanceSheetFilterTest.php +++ b/src/gen/test/Model/BalanceSheetFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php b/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php index 66d169fc66..78189c7b38 100644 --- a/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php +++ b/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetReportsTest.php b/src/gen/test/Model/BalanceSheetReportsTest.php index 323ba4be5a..078cd936a9 100644 --- a/src/gen/test/Model/BalanceSheetReportsTest.php +++ b/src/gen/test/Model/BalanceSheetReportsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetTest.php b/src/gen/test/Model/BalanceSheetTest.php index ec767ebe58..8b6d8825d5 100644 --- a/src/gen/test/Model/BalanceSheetTest.php +++ b/src/gen/test/Model/BalanceSheetTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php b/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php index 3f130a1da7..2bba0253bd 100644 --- a/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php +++ b/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BankAccountTest.php b/src/gen/test/Model/BankAccountTest.php index f8355ef5ec..10e6336194 100644 --- a/src/gen/test/Model/BankAccountTest.php +++ b/src/gen/test/Model/BankAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BankFeedAccountTest.php b/src/gen/test/Model/BankFeedAccountTest.php new file mode 100644 index 0000000000..50599d5c1e --- /dev/null +++ b/src/gen/test/Model/BankFeedAccountTest.php @@ -0,0 +1,217 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "bank_account_type" + */ + public function testPropertyBankAccountType() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "source_account_id" + */ + public function testPropertySourceAccountId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "target_account_id" + */ + public function testPropertyTargetAccountId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "target_account_name" + */ + public function testPropertyTargetAccountName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "target_account_number" + */ + public function testPropertyTargetAccountNumber() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "currency" + */ + public function testPropertyCurrency() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "feed_status" + */ + public function testPropertyFeedStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "country" + */ + public function testPropertyCountry() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "custom_fields" + */ + public function testPropertyCustomFields() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "custom_mappings" + */ + public function testPropertyCustomMappings() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_at" + */ + public function testPropertyCreatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_at" + */ + public function testPropertyUpdatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_by" + */ + public function testPropertyUpdatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_by" + */ + public function testPropertyCreatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/BankFeedStatementTest.php b/src/gen/test/Model/BankFeedStatementTest.php new file mode 100644 index 0000000000..43050f126a --- /dev/null +++ b/src/gen/test/Model/BankFeedStatementTest.php @@ -0,0 +1,208 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "bank_feed_account_id" + */ + public function testPropertyBankFeedAccountId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "start_date" + */ + public function testPropertyStartDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "end_date" + */ + public function testPropertyEndDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "start_balance" + */ + public function testPropertyStartBalance() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "start_balance_credit_or_debit" + */ + public function testPropertyStartBalanceCreditOrDebit() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "end_balance" + */ + public function testPropertyEndBalance() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "end_balance_credit_or_debit" + */ + public function testPropertyEndBalanceCreditOrDebit() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "transactions" + */ + public function testPropertyTransactions() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_at" + */ + public function testPropertyCreatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_by" + */ + public function testPropertyCreatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_at" + */ + public function testPropertyUpdatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_by" + */ + public function testPropertyUpdatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/BankFeedStatementTransactionsTest.php b/src/gen/test/Model/BankFeedStatementTransactionsTest.php new file mode 100644 index 0000000000..f5286959c4 --- /dev/null +++ b/src/gen/test/Model/BankFeedStatementTransactionsTest.php @@ -0,0 +1,154 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "posted_date" + */ + public function testPropertyPostedDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "amount" + */ + public function testPropertyAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "credit_or_debit" + */ + public function testPropertyCreditOrDebit() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "source_transaction_id" + */ + public function testPropertySourceTransactionId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "description" + */ + public function testPropertyDescription() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "counterparty" + */ + public function testPropertyCounterparty() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "reference" + */ + public function testPropertyReference() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "transaction_type" + */ + public function testPropertyTransactionType() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/BenefitTest.php b/src/gen/test/Model/BenefitTest.php index d92a85ac76..f2ed77e156 100644 --- a/src/gen/test/Model/BenefitTest.php +++ b/src/gen/test/Model/BenefitTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillLineItemTest.php b/src/gen/test/Model/BillLineItemTest.php index 1f455028a2..f6f2393899 100644 --- a/src/gen/test/Model/BillLineItemTest.php +++ b/src/gen/test/Model/BillLineItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillPaymentAllocationsTest.php b/src/gen/test/Model/BillPaymentAllocationsTest.php index fc324e3f4a..f1b2d56af2 100644 --- a/src/gen/test/Model/BillPaymentAllocationsTest.php +++ b/src/gen/test/Model/BillPaymentAllocationsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillPaymentTest.php b/src/gen/test/Model/BillPaymentTest.php index eeba2260f9..1932689e63 100644 --- a/src/gen/test/Model/BillPaymentTest.php +++ b/src/gen/test/Model/BillPaymentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillTest.php b/src/gen/test/Model/BillTest.php index d0d0a612f4..8527bd78b4 100644 --- a/src/gen/test/Model/BillTest.php +++ b/src/gen/test/Model/BillTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillsFilterTest.php b/src/gen/test/Model/BillsFilterTest.php index b9999853a4..2e085df87a 100644 --- a/src/gen/test/Model/BillsFilterTest.php +++ b/src/gen/test/Model/BillsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillsSortTest.php b/src/gen/test/Model/BillsSortTest.php index cd71340f09..f54e9d6f54 100644 --- a/src/gen/test/Model/BillsSortTest.php +++ b/src/gen/test/Model/BillsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BranchTest.php b/src/gen/test/Model/BranchTest.php index 98273cac3e..1684c65254 100644 --- a/src/gen/test/Model/BranchTest.php +++ b/src/gen/test/Model/BranchTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CashDetailsTest.php b/src/gen/test/Model/CashDetailsTest.php index c9e081de34..9a945d314b 100644 --- a/src/gen/test/Model/CashDetailsTest.php +++ b/src/gen/test/Model/CashDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CollectionTagTest.php b/src/gen/test/Model/CollectionTagTest.php index 44351b37b4..e7a0d679be 100644 --- a/src/gen/test/Model/CollectionTagTest.php +++ b/src/gen/test/Model/CollectionTagTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CollectionTest.php b/src/gen/test/Model/CollectionTest.php index c968997a4e..13fc307792 100644 --- a/src/gen/test/Model/CollectionTest.php +++ b/src/gen/test/Model/CollectionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CollectionTicketCommentTest.php b/src/gen/test/Model/CollectionTicketCommentTest.php index 6d6db257b9..f31415caf1 100644 --- a/src/gen/test/Model/CollectionTicketCommentTest.php +++ b/src/gen/test/Model/CollectionTicketCommentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CollectionUserTest.php b/src/gen/test/Model/CollectionUserTest.php index 57bf7d4027..d583b8bf4b 100644 --- a/src/gen/test/Model/CollectionUserTest.php +++ b/src/gen/test/Model/CollectionUserTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CollectionsSortTest.php b/src/gen/test/Model/CollectionsSortTest.php index 99ca986784..ee7ef52068 100644 --- a/src/gen/test/Model/CollectionsSortTest.php +++ b/src/gen/test/Model/CollectionsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CommentsSortTest.php b/src/gen/test/Model/CommentsSortTest.php index 469ef3b5b0..21e0814f17 100644 --- a/src/gen/test/Model/CommentsSortTest.php +++ b/src/gen/test/Model/CommentsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CompaniesFilterTest.php b/src/gen/test/Model/CompaniesFilterTest.php index 007d29d385..6cc38af2a2 100644 --- a/src/gen/test/Model/CompaniesFilterTest.php +++ b/src/gen/test/Model/CompaniesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CompaniesSortTest.php b/src/gen/test/Model/CompaniesSortTest.php index 72eb60b7f9..cb4a2ea701 100644 --- a/src/gen/test/Model/CompaniesSortTest.php +++ b/src/gen/test/Model/CompaniesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CompanyInfoTest.php b/src/gen/test/Model/CompanyInfoTest.php index 94e248a7ed..c0bcffdd0b 100644 --- a/src/gen/test/Model/CompanyInfoTest.php +++ b/src/gen/test/Model/CompanyInfoTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CompanyRowTypeTest.php b/src/gen/test/Model/CompanyRowTypeTest.php index 356d86f281..fcc24314d4 100644 --- a/src/gen/test/Model/CompanyRowTypeTest.php +++ b/src/gen/test/Model/CompanyRowTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CompanyTest.php b/src/gen/test/Model/CompanyTest.php index 492a91ca92..0fa2f376f2 100644 --- a/src/gen/test/Model/CompanyTest.php +++ b/src/gen/test/Model/CompanyTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CompensationTest.php b/src/gen/test/Model/CompensationTest.php index 43fb039ce6..65bc8bb5b6 100644 --- a/src/gen/test/Model/CompensationTest.php +++ b/src/gen/test/Model/CompensationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionConfigurationTest.php b/src/gen/test/Model/ConnectionConfigurationTest.php index 1c80346b4d..8c8dd0eaab 100644 --- a/src/gen/test/Model/ConnectionConfigurationTest.php +++ b/src/gen/test/Model/ConnectionConfigurationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionDefaultsTest.php b/src/gen/test/Model/ConnectionDefaultsTest.php index 1f0ef7ed85..0fb59bf60c 100644 --- a/src/gen/test/Model/ConnectionDefaultsTest.php +++ b/src/gen/test/Model/ConnectionDefaultsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionImportDataCredentialsTest.php b/src/gen/test/Model/ConnectionImportDataCredentialsTest.php index 9d4915a71d..4a63a7da13 100644 --- a/src/gen/test/Model/ConnectionImportDataCredentialsTest.php +++ b/src/gen/test/Model/ConnectionImportDataCredentialsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionImportDataTest.php b/src/gen/test/Model/ConnectionImportDataTest.php index 8334c8ec4e..163b7884fe 100644 --- a/src/gen/test/Model/ConnectionImportDataTest.php +++ b/src/gen/test/Model/ConnectionImportDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionMetadataTest.php b/src/gen/test/Model/ConnectionMetadataTest.php index 0144b090bb..4027006d83 100644 --- a/src/gen/test/Model/ConnectionMetadataTest.php +++ b/src/gen/test/Model/ConnectionMetadataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionStateTest.php b/src/gen/test/Model/ConnectionStateTest.php index 388c625e3d..cb188f2940 100644 --- a/src/gen/test/Model/ConnectionStateTest.php +++ b/src/gen/test/Model/ConnectionStateTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionTest.php b/src/gen/test/Model/ConnectionTest.php index ac483deb13..8fe3ccb282 100644 --- a/src/gen/test/Model/ConnectionTest.php +++ b/src/gen/test/Model/ConnectionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectionWebhookTest.php b/src/gen/test/Model/ConnectionWebhookTest.php index 61c0562e86..5753ae6199 100644 --- a/src/gen/test/Model/ConnectionWebhookTest.php +++ b/src/gen/test/Model/ConnectionWebhookTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorDocTest.php b/src/gen/test/Model/ConnectorDocTest.php index 94d8402f0b..cec9cb2d09 100644 --- a/src/gen/test/Model/ConnectorDocTest.php +++ b/src/gen/test/Model/ConnectorDocTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorEventTest.php b/src/gen/test/Model/ConnectorEventTest.php index 8819a8191b..bec02f94c5 100644 --- a/src/gen/test/Model/ConnectorEventTest.php +++ b/src/gen/test/Model/ConnectorEventTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorOauthScopes1Test.php b/src/gen/test/Model/ConnectorOauthScopes1Test.php index 9ab9fd5655..711713de72 100644 --- a/src/gen/test/Model/ConnectorOauthScopes1Test.php +++ b/src/gen/test/Model/ConnectorOauthScopes1Test.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorOauthScopesTest.php b/src/gen/test/Model/ConnectorOauthScopesTest.php index bf45cd2b8c..d8c1bef4ca 100644 --- a/src/gen/test/Model/ConnectorOauthScopesTest.php +++ b/src/gen/test/Model/ConnectorOauthScopesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorResourceTest.php b/src/gen/test/Model/ConnectorResourceTest.php index 2aea4f7374..3490e2c053 100644 --- a/src/gen/test/Model/ConnectorResourceTest.php +++ b/src/gen/test/Model/ConnectorResourceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorSettingTest.php b/src/gen/test/Model/ConnectorSettingTest.php index 42377db794..1bece76027 100644 --- a/src/gen/test/Model/ConnectorSettingTest.php +++ b/src/gen/test/Model/ConnectorSettingTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorStatusTest.php b/src/gen/test/Model/ConnectorStatusTest.php index 7a271a8ef7..87dd66d24a 100644 --- a/src/gen/test/Model/ConnectorStatusTest.php +++ b/src/gen/test/Model/ConnectorStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorTest.php b/src/gen/test/Model/ConnectorTest.php index f77206fca4..a57f338b0d 100644 --- a/src/gen/test/Model/ConnectorTest.php +++ b/src/gen/test/Model/ConnectorTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorTlsSupportTest.php b/src/gen/test/Model/ConnectorTlsSupportTest.php index d8fce0f345..2c6e32d0bc 100644 --- a/src/gen/test/Model/ConnectorTlsSupportTest.php +++ b/src/gen/test/Model/ConnectorTlsSupportTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorUnifiedApisTest.php b/src/gen/test/Model/ConnectorUnifiedApisTest.php index 4da9341ade..d4ca893824 100644 --- a/src/gen/test/Model/ConnectorUnifiedApisTest.php +++ b/src/gen/test/Model/ConnectorUnifiedApisTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConnectorsFilterTest.php b/src/gen/test/Model/ConnectorsFilterTest.php index 4a92bb152b..2daf14d00c 100644 --- a/src/gen/test/Model/ConnectorsFilterTest.php +++ b/src/gen/test/Model/ConnectorsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConsumerConnectionTest.php b/src/gen/test/Model/ConsumerConnectionTest.php index 68145b29aa..02c4abbb31 100644 --- a/src/gen/test/Model/ConsumerConnectionTest.php +++ b/src/gen/test/Model/ConsumerConnectionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConsumerMetadataTest.php b/src/gen/test/Model/ConsumerMetadataTest.php index 12c932051b..b7d1cb646e 100644 --- a/src/gen/test/Model/ConsumerMetadataTest.php +++ b/src/gen/test/Model/ConsumerMetadataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php index 97f6bff840..63639c2e23 100644 --- a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php +++ b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php index 5b9d4e1ad6..5d9318e2fe 100644 --- a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php +++ b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ConsumerTest.php b/src/gen/test/Model/ConsumerTest.php index 68332fe57f..3de9b45eef 100644 --- a/src/gen/test/Model/ConsumerTest.php +++ b/src/gen/test/Model/ConsumerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ContactTest.php b/src/gen/test/Model/ContactTest.php index 90f6206458..57761cb890 100644 --- a/src/gen/test/Model/ContactTest.php +++ b/src/gen/test/Model/ContactTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ContactsFilterTest.php b/src/gen/test/Model/ContactsFilterTest.php index b22437077f..27c14dd326 100644 --- a/src/gen/test/Model/ContactsFilterTest.php +++ b/src/gen/test/Model/ContactsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ContactsSortTest.php b/src/gen/test/Model/ContactsSortTest.php index c8d976f806..72679b8b7e 100644 --- a/src/gen/test/Model/ContactsSortTest.php +++ b/src/gen/test/Model/ContactsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CopyFolderRequestTest.php b/src/gen/test/Model/CopyFolderRequestTest.php index 48e8383c33..de39bbb751 100644 --- a/src/gen/test/Model/CopyFolderRequestTest.php +++ b/src/gen/test/Model/CopyFolderRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CostOfGoodsSoldTest.php b/src/gen/test/Model/CostOfGoodsSoldTest.php index 990dd05e1c..8202512999 100644 --- a/src/gen/test/Model/CostOfGoodsSoldTest.php +++ b/src/gen/test/Model/CostOfGoodsSoldTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php b/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php index 6f7f4e2178..6b3b3a6773 100644 --- a/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateAccountingLocationResponseTest.php b/src/gen/test/Model/CreateAccountingLocationResponseTest.php index eae3c2dd31..80486b692c 100644 --- a/src/gen/test/Model/CreateAccountingLocationResponseTest.php +++ b/src/gen/test/Model/CreateAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateActivityResponseTest.php b/src/gen/test/Model/CreateActivityResponseTest.php index 4e62da291f..2de232fd80 100644 --- a/src/gen/test/Model/CreateActivityResponseTest.php +++ b/src/gen/test/Model/CreateActivityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateApplicantResponseTest.php b/src/gen/test/Model/CreateApplicantResponseTest.php index 493e42cc7f..b1542b946d 100644 --- a/src/gen/test/Model/CreateApplicantResponseTest.php +++ b/src/gen/test/Model/CreateApplicantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateApplicationResponseTest.php b/src/gen/test/Model/CreateApplicationResponseTest.php index 974f7fe4d6..36b3bae792 100644 --- a/src/gen/test/Model/CreateApplicationResponseTest.php +++ b/src/gen/test/Model/CreateApplicationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateAttachmentRequestTest.php b/src/gen/test/Model/CreateAttachmentRequestTest.php index d1d3df4ac4..4cda926495 100644 --- a/src/gen/test/Model/CreateAttachmentRequestTest.php +++ b/src/gen/test/Model/CreateAttachmentRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateAttachmentResponseTest.php b/src/gen/test/Model/CreateAttachmentResponseTest.php index bf73fadc08..de8f380f58 100644 --- a/src/gen/test/Model/CreateAttachmentResponseTest.php +++ b/src/gen/test/Model/CreateAttachmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateBankFeedAccountResponseTest.php b/src/gen/test/Model/CreateBankFeedAccountResponseTest.php new file mode 100644 index 0000000000..ab7f122877 --- /dev/null +++ b/src/gen/test/Model/CreateBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateBankFeedStatementResponseTest.php b/src/gen/test/Model/CreateBankFeedStatementResponseTest.php new file mode 100644 index 0000000000..123bf104d5 --- /dev/null +++ b/src/gen/test/Model/CreateBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateBillPaymentResponseTest.php b/src/gen/test/Model/CreateBillPaymentResponseTest.php index b18b75bcee..4e0afad6b7 100644 --- a/src/gen/test/Model/CreateBillPaymentResponseTest.php +++ b/src/gen/test/Model/CreateBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateBillResponseTest.php b/src/gen/test/Model/CreateBillResponseTest.php index 52c4904154..c9bbe6ed51 100644 --- a/src/gen/test/Model/CreateBillResponseTest.php +++ b/src/gen/test/Model/CreateBillResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCallbackStateResponseDataTest.php b/src/gen/test/Model/CreateCallbackStateResponseDataTest.php index 445e61e332..e5c685b397 100644 --- a/src/gen/test/Model/CreateCallbackStateResponseDataTest.php +++ b/src/gen/test/Model/CreateCallbackStateResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCallbackStateResponseTest.php b/src/gen/test/Model/CreateCallbackStateResponseTest.php index 492d4614f3..26f278bd57 100644 --- a/src/gen/test/Model/CreateCallbackStateResponseTest.php +++ b/src/gen/test/Model/CreateCallbackStateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCallbackStateTest.php b/src/gen/test/Model/CreateCallbackStateTest.php index 92b3d89ae6..354082f899 100644 --- a/src/gen/test/Model/CreateCallbackStateTest.php +++ b/src/gen/test/Model/CreateCallbackStateTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCommentResponseTest.php b/src/gen/test/Model/CreateCommentResponseTest.php index e3c70886f4..266595f1a1 100644 --- a/src/gen/test/Model/CreateCommentResponseTest.php +++ b/src/gen/test/Model/CreateCommentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCompanyResponseTest.php b/src/gen/test/Model/CreateCompanyResponseTest.php index a6a261a673..00322fde09 100644 --- a/src/gen/test/Model/CreateCompanyResponseTest.php +++ b/src/gen/test/Model/CreateCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateConnectionResponseTest.php b/src/gen/test/Model/CreateConnectionResponseTest.php index 577aac2b4e..a8b37fcf64 100644 --- a/src/gen/test/Model/CreateConnectionResponseTest.php +++ b/src/gen/test/Model/CreateConnectionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateConsumerResponseTest.php b/src/gen/test/Model/CreateConsumerResponseTest.php index fd89b6ca6c..1a13e39b18 100644 --- a/src/gen/test/Model/CreateConsumerResponseTest.php +++ b/src/gen/test/Model/CreateConsumerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateContactResponseTest.php b/src/gen/test/Model/CreateContactResponseTest.php index 300c304284..0bb60cbbe5 100644 --- a/src/gen/test/Model/CreateContactResponseTest.php +++ b/src/gen/test/Model/CreateContactResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCreditNoteResponseTest.php b/src/gen/test/Model/CreateCreditNoteResponseTest.php index dea110018e..4ec9f4f9ae 100644 --- a/src/gen/test/Model/CreateCreditNoteResponseTest.php +++ b/src/gen/test/Model/CreateCreditNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCustomMappingRequestTest.php b/src/gen/test/Model/CreateCustomMappingRequestTest.php index e27ae81ff0..95aed2914b 100644 --- a/src/gen/test/Model/CreateCustomMappingRequestTest.php +++ b/src/gen/test/Model/CreateCustomMappingRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCustomMappingResponseTest.php b/src/gen/test/Model/CreateCustomMappingResponseTest.php index ce76d08fb2..9ccbfb798d 100644 --- a/src/gen/test/Model/CreateCustomMappingResponseTest.php +++ b/src/gen/test/Model/CreateCustomMappingResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCustomObjectResponseTest.php b/src/gen/test/Model/CreateCustomObjectResponseTest.php new file mode 100644 index 0000000000..a062934b95 --- /dev/null +++ b/src/gen/test/Model/CreateCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateCustomObjectSchemaResponseTest.php b/src/gen/test/Model/CreateCustomObjectSchemaResponseTest.php new file mode 100644 index 0000000000..56da5a31da --- /dev/null +++ b/src/gen/test/Model/CreateCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateCustomerResponseTest.php b/src/gen/test/Model/CreateCustomerResponseTest.php index 7cc672d76b..10dee015e7 100644 --- a/src/gen/test/Model/CreateCustomerResponseTest.php +++ b/src/gen/test/Model/CreateCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateDepartmentResponseTest.php b/src/gen/test/Model/CreateDepartmentResponseTest.php index c1f93cc076..a5d4dd4f23 100644 --- a/src/gen/test/Model/CreateDepartmentResponseTest.php +++ b/src/gen/test/Model/CreateDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateDriveGroupResponseTest.php b/src/gen/test/Model/CreateDriveGroupResponseTest.php index 6fb84c0fd3..f562b2a53d 100644 --- a/src/gen/test/Model/CreateDriveGroupResponseTest.php +++ b/src/gen/test/Model/CreateDriveGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateDriveResponseTest.php b/src/gen/test/Model/CreateDriveResponseTest.php index 2d5db7bf53..d4ba500c35 100644 --- a/src/gen/test/Model/CreateDriveResponseTest.php +++ b/src/gen/test/Model/CreateDriveResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php b/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php index fcb96506d6..bae66cb410 100644 --- a/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php +++ b/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateEcommerceOrderResponseTest.php b/src/gen/test/Model/CreateEcommerceOrderResponseTest.php index 75ebbac523..284df60697 100644 --- a/src/gen/test/Model/CreateEcommerceOrderResponseTest.php +++ b/src/gen/test/Model/CreateEcommerceOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateEmployeeResponseTest.php b/src/gen/test/Model/CreateEmployeeResponseTest.php index 01814a768d..c6616e50c1 100644 --- a/src/gen/test/Model/CreateEmployeeResponseTest.php +++ b/src/gen/test/Model/CreateEmployeeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateExpenseResponseTest.php b/src/gen/test/Model/CreateExpenseResponseTest.php index 899f310d1e..2e6cdfe45c 100644 --- a/src/gen/test/Model/CreateExpenseResponseTest.php +++ b/src/gen/test/Model/CreateExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateFileRequestTest.php b/src/gen/test/Model/CreateFileRequestTest.php index 7770efdb42..7ec1c9fbbc 100644 --- a/src/gen/test/Model/CreateFileRequestTest.php +++ b/src/gen/test/Model/CreateFileRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateFileResponseTest.php b/src/gen/test/Model/CreateFileResponseTest.php index 16058969e1..a15ac29d88 100644 --- a/src/gen/test/Model/CreateFileResponseTest.php +++ b/src/gen/test/Model/CreateFileResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateFolderRequestTest.php b/src/gen/test/Model/CreateFolderRequestTest.php index f0dcef3231..e9752654bd 100644 --- a/src/gen/test/Model/CreateFolderRequestTest.php +++ b/src/gen/test/Model/CreateFolderRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateFolderResponseTest.php b/src/gen/test/Model/CreateFolderResponseTest.php index 28617caad0..b9a0611816 100644 --- a/src/gen/test/Model/CreateFolderResponseTest.php +++ b/src/gen/test/Model/CreateFolderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateHrisCompanyResponseTest.php b/src/gen/test/Model/CreateHrisCompanyResponseTest.php index 7f80384aa4..0b6ac55d35 100644 --- a/src/gen/test/Model/CreateHrisCompanyResponseTest.php +++ b/src/gen/test/Model/CreateHrisCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateInvoiceItemResponseTest.php b/src/gen/test/Model/CreateInvoiceItemResponseTest.php index f26ff2b83c..828e1cc90b 100644 --- a/src/gen/test/Model/CreateInvoiceItemResponseTest.php +++ b/src/gen/test/Model/CreateInvoiceItemResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateInvoiceResponseTest.php b/src/gen/test/Model/CreateInvoiceResponseTest.php index cd4ffea8de..79aa8f3dbf 100644 --- a/src/gen/test/Model/CreateInvoiceResponseTest.php +++ b/src/gen/test/Model/CreateInvoiceResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateItemResponseTest.php b/src/gen/test/Model/CreateItemResponseTest.php index 741f3a6326..2bc6e5a926 100644 --- a/src/gen/test/Model/CreateItemResponseTest.php +++ b/src/gen/test/Model/CreateItemResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateJobResponseTest.php b/src/gen/test/Model/CreateJobResponseTest.php index c3efb571b7..ab690b771e 100644 --- a/src/gen/test/Model/CreateJobResponseTest.php +++ b/src/gen/test/Model/CreateJobResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateJournalEntryResponseTest.php b/src/gen/test/Model/CreateJournalEntryResponseTest.php index 7ea64f479c..1e3dd762f2 100644 --- a/src/gen/test/Model/CreateJournalEntryResponseTest.php +++ b/src/gen/test/Model/CreateJournalEntryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateLeadResponseTest.php b/src/gen/test/Model/CreateLeadResponseTest.php index 641ba172d4..49478f5de4 100644 --- a/src/gen/test/Model/CreateLeadResponseTest.php +++ b/src/gen/test/Model/CreateLeadResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateLedgerAccountResponseTest.php b/src/gen/test/Model/CreateLedgerAccountResponseTest.php index 37c0a5fb7a..be838549b3 100644 --- a/src/gen/test/Model/CreateLedgerAccountResponseTest.php +++ b/src/gen/test/Model/CreateLedgerAccountResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateLocationResponseTest.php b/src/gen/test/Model/CreateLocationResponseTest.php index 3ea732e9cd..c0327826d6 100644 --- a/src/gen/test/Model/CreateLocationResponseTest.php +++ b/src/gen/test/Model/CreateLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateMerchantResponseTest.php b/src/gen/test/Model/CreateMerchantResponseTest.php index 1809926cb4..42db6a01fa 100644 --- a/src/gen/test/Model/CreateMerchantResponseTest.php +++ b/src/gen/test/Model/CreateMerchantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateMessageResponseTest.php b/src/gen/test/Model/CreateMessageResponseTest.php index 382c4852fd..f859422002 100644 --- a/src/gen/test/Model/CreateMessageResponseTest.php +++ b/src/gen/test/Model/CreateMessageResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateModifierGroupResponseTest.php b/src/gen/test/Model/CreateModifierGroupResponseTest.php index b06a122b27..4e91193f8c 100644 --- a/src/gen/test/Model/CreateModifierGroupResponseTest.php +++ b/src/gen/test/Model/CreateModifierGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateModifierResponseTest.php b/src/gen/test/Model/CreateModifierResponseTest.php index f71fbfaa4a..ac25157f2f 100644 --- a/src/gen/test/Model/CreateModifierResponseTest.php +++ b/src/gen/test/Model/CreateModifierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateNoteResponseTest.php b/src/gen/test/Model/CreateNoteResponseTest.php index fc836c2665..dc09b00847 100644 --- a/src/gen/test/Model/CreateNoteResponseTest.php +++ b/src/gen/test/Model/CreateNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateOpportunityResponseTest.php b/src/gen/test/Model/CreateOpportunityResponseTest.php index 8d13b20b7f..81ec29b7af 100644 --- a/src/gen/test/Model/CreateOpportunityResponseTest.php +++ b/src/gen/test/Model/CreateOpportunityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateOrderResponseTest.php b/src/gen/test/Model/CreateOrderResponseTest.php index ecef7acfbc..7de930d910 100644 --- a/src/gen/test/Model/CreateOrderResponseTest.php +++ b/src/gen/test/Model/CreateOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateOrderTypeResponseTest.php b/src/gen/test/Model/CreateOrderTypeResponseTest.php index c7b905a209..9772d5ad39 100644 --- a/src/gen/test/Model/CreateOrderTypeResponseTest.php +++ b/src/gen/test/Model/CreateOrderTypeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreatePaymentResponseTest.php b/src/gen/test/Model/CreatePaymentResponseTest.php index f406765c38..acdaab4569 100644 --- a/src/gen/test/Model/CreatePaymentResponseTest.php +++ b/src/gen/test/Model/CreatePaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreatePipelineResponseTest.php b/src/gen/test/Model/CreatePipelineResponseTest.php index 8b9ce5ffa3..c0c9c79c7c 100644 --- a/src/gen/test/Model/CreatePipelineResponseTest.php +++ b/src/gen/test/Model/CreatePipelineResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreatePosPaymentResponseTest.php b/src/gen/test/Model/CreatePosPaymentResponseTest.php index 9537a84050..c1d62559bb 100644 --- a/src/gen/test/Model/CreatePosPaymentResponseTest.php +++ b/src/gen/test/Model/CreatePosPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateProductResponseTest.php b/src/gen/test/Model/CreateProductResponseTest.php index a8f8b24d83..b095460985 100644 --- a/src/gen/test/Model/CreateProductResponseTest.php +++ b/src/gen/test/Model/CreateProductResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreatePurchaseOrderResponseTest.php b/src/gen/test/Model/CreatePurchaseOrderResponseTest.php index e1b9159871..2f3e172c97 100644 --- a/src/gen/test/Model/CreatePurchaseOrderResponseTest.php +++ b/src/gen/test/Model/CreatePurchaseOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateSessionResponseDataTest.php b/src/gen/test/Model/CreateSessionResponseDataTest.php index bde1ab35c7..55aa4ac7fd 100644 --- a/src/gen/test/Model/CreateSessionResponseDataTest.php +++ b/src/gen/test/Model/CreateSessionResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateSessionResponseTest.php b/src/gen/test/Model/CreateSessionResponseTest.php index e889bb7e2b..a367de33c4 100644 --- a/src/gen/test/Model/CreateSessionResponseTest.php +++ b/src/gen/test/Model/CreateSessionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateSharedLinkResponseTest.php b/src/gen/test/Model/CreateSharedLinkResponseTest.php index 5d2137a1dd..d4e99c689e 100644 --- a/src/gen/test/Model/CreateSharedLinkResponseTest.php +++ b/src/gen/test/Model/CreateSharedLinkResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateSubsidiaryResponseTest.php b/src/gen/test/Model/CreateSubsidiaryResponseTest.php index e60c06a3d5..7678694552 100644 --- a/src/gen/test/Model/CreateSubsidiaryResponseTest.php +++ b/src/gen/test/Model/CreateSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateSupplierResponseTest.php b/src/gen/test/Model/CreateSupplierResponseTest.php index 64fb8c3e45..a490760f56 100644 --- a/src/gen/test/Model/CreateSupplierResponseTest.php +++ b/src/gen/test/Model/CreateSupplierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateTaxRateResponseTest.php b/src/gen/test/Model/CreateTaxRateResponseTest.php index 547455c9ac..e1cbd00d6a 100644 --- a/src/gen/test/Model/CreateTaxRateResponseTest.php +++ b/src/gen/test/Model/CreateTaxRateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateTenderResponseTest.php b/src/gen/test/Model/CreateTenderResponseTest.php index f1ae7a37a1..f9888ed171 100644 --- a/src/gen/test/Model/CreateTenderResponseTest.php +++ b/src/gen/test/Model/CreateTenderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateTicketResponseTest.php b/src/gen/test/Model/CreateTicketResponseTest.php index be57afb5a4..1b24e65aec 100644 --- a/src/gen/test/Model/CreateTicketResponseTest.php +++ b/src/gen/test/Model/CreateTicketResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateTimeOffRequestResponseTest.php b/src/gen/test/Model/CreateTimeOffRequestResponseTest.php index 7c60d6da35..fe3673b5fe 100644 --- a/src/gen/test/Model/CreateTimeOffRequestResponseTest.php +++ b/src/gen/test/Model/CreateTimeOffRequestResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateTrackingCategoryResponseTest.php b/src/gen/test/Model/CreateTrackingCategoryResponseTest.php index ff71aa5f8c..a9c0ce3540 100644 --- a/src/gen/test/Model/CreateTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/CreateTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateUploadSessionRequestTest.php b/src/gen/test/Model/CreateUploadSessionRequestTest.php index 0debf1a915..8276d9d0ca 100644 --- a/src/gen/test/Model/CreateUploadSessionRequestTest.php +++ b/src/gen/test/Model/CreateUploadSessionRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateUploadSessionResponseTest.php b/src/gen/test/Model/CreateUploadSessionResponseTest.php index 18192c3b1f..cc7867ffcb 100644 --- a/src/gen/test/Model/CreateUploadSessionResponseTest.php +++ b/src/gen/test/Model/CreateUploadSessionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateUserResponseTest.php b/src/gen/test/Model/CreateUserResponseTest.php index 5dc29c2810..44c4f1410f 100644 --- a/src/gen/test/Model/CreateUserResponseTest.php +++ b/src/gen/test/Model/CreateUserResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateWebhookRequestTest.php b/src/gen/test/Model/CreateWebhookRequestTest.php index d17290ec04..6e915d4d86 100644 --- a/src/gen/test/Model/CreateWebhookRequestTest.php +++ b/src/gen/test/Model/CreateWebhookRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateWebhookResponseTest.php b/src/gen/test/Model/CreateWebhookResponseTest.php index 9df730cde7..c63bb61d7f 100644 --- a/src/gen/test/Model/CreateWebhookResponseTest.php +++ b/src/gen/test/Model/CreateWebhookResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreditNoteTest.php b/src/gen/test/Model/CreditNoteTest.php index fbbe4c3602..7493908ea7 100644 --- a/src/gen/test/Model/CreditNoteTest.php +++ b/src/gen/test/Model/CreditNoteTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreditNotesFilterTest.php b/src/gen/test/Model/CreditNotesFilterTest.php index 5721aed9f4..17e7588cdd 100644 --- a/src/gen/test/Model/CreditNotesFilterTest.php +++ b/src/gen/test/Model/CreditNotesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreditNotesSortTest.php b/src/gen/test/Model/CreditNotesSortTest.php index ac6f571ac5..cbf9112683 100644 --- a/src/gen/test/Model/CreditNotesSortTest.php +++ b/src/gen/test/Model/CreditNotesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreditOrDebitTest.php b/src/gen/test/Model/CreditOrDebitTest.php new file mode 100644 index 0000000000..e384ca7155 --- /dev/null +++ b/src/gen/test/Model/CreditOrDebitTest.php @@ -0,0 +1,82 @@ +markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CrmEventTypeTest.php b/src/gen/test/Model/CrmEventTypeTest.php index 4abf41d2cf..27f2aef22e 100644 --- a/src/gen/test/Model/CrmEventTypeTest.php +++ b/src/gen/test/Model/CrmEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CurrencyTest.php b/src/gen/test/Model/CurrencyTest.php index 37c21e15ba..643823dc64 100644 --- a/src/gen/test/Model/CurrencyTest.php +++ b/src/gen/test/Model/CurrencyTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomFieldFinderTest.php b/src/gen/test/Model/CustomFieldFinderTest.php index 48948a03fc..97e6800f23 100644 --- a/src/gen/test/Model/CustomFieldFinderTest.php +++ b/src/gen/test/Model/CustomFieldFinderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomFieldTest.php b/src/gen/test/Model/CustomFieldTest.php index e85da5a4be..e577c8333a 100644 --- a/src/gen/test/Model/CustomFieldTest.php +++ b/src/gen/test/Model/CustomFieldTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomMappingTest.php b/src/gen/test/Model/CustomMappingTest.php index 459c503818..23ec3f4f56 100644 --- a/src/gen/test/Model/CustomMappingTest.php +++ b/src/gen/test/Model/CustomMappingTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomObjectFieldsTest.php b/src/gen/test/Model/CustomObjectFieldsTest.php new file mode 100644 index 0000000000..1e07e954a9 --- /dev/null +++ b/src/gen/test/Model/CustomObjectFieldsTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "name" + */ + public function testPropertyName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "value" + */ + public function testPropertyValue() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemaFieldsTest.php b/src/gen/test/Model/CustomObjectSchemaFieldsTest.php new file mode 100644 index 0000000000..488e006fc2 --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemaFieldsTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "name" + */ + public function testPropertyName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "description" + */ + public function testPropertyDescription() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "type" + */ + public function testPropertyType() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "required" + */ + public function testPropertyRequired() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "options" + */ + public function testPropertyOptions() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "default_value" + */ + public function testPropertyDefaultValue() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemaOptionsTest.php b/src/gen/test/Model/CustomObjectSchemaOptionsTest.php new file mode 100644 index 0000000000..8310358a41 --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemaOptionsTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "value" + */ + public function testPropertyValue() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "label" + */ + public function testPropertyLabel() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemaTest.php b/src/gen/test/Model/CustomObjectSchemaTest.php new file mode 100644 index 0000000000..a6e43740e2 --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemaTest.php @@ -0,0 +1,181 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "name" + */ + public function testPropertyName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "description" + */ + public function testPropertyDescription() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "fields" + */ + public function testPropertyFields() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "visible" + */ + public function testPropertyVisible() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "active" + */ + public function testPropertyActive() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_by" + */ + public function testPropertyCreatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_by" + */ + public function testPropertyUpdatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_at" + */ + public function testPropertyUpdatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_at" + */ + public function testPropertyCreatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "pass_through" + */ + public function testPropertyPassThrough() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemasSortTest.php b/src/gen/test/Model/CustomObjectSchemasSortTest.php new file mode 100644 index 0000000000..dba538f558 --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemasSortTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "by" + */ + public function testPropertyBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "direction" + */ + public function testPropertyDirection() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectTest.php b/src/gen/test/Model/CustomObjectTest.php new file mode 100644 index 0000000000..30ab24533e --- /dev/null +++ b/src/gen/test/Model/CustomObjectTest.php @@ -0,0 +1,163 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "owner_id" + */ + public function testPropertyOwnerId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "name" + */ + public function testPropertyName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "fields" + */ + public function testPropertyFields() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_by" + */ + public function testPropertyUpdatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_by" + */ + public function testPropertyCreatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_at" + */ + public function testPropertyUpdatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_at" + */ + public function testPropertyCreatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "pass_through" + */ + public function testPropertyPassThrough() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectsSortTest.php b/src/gen/test/Model/CustomObjectsSortTest.php new file mode 100644 index 0000000000..6b72d9b2c0 --- /dev/null +++ b/src/gen/test/Model/CustomObjectsSortTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "by" + */ + public function testPropertyBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "direction" + */ + public function testPropertyDirection() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomerTest.php b/src/gen/test/Model/CustomerTest.php index 3fb02651e5..a836eba2bf 100644 --- a/src/gen/test/Model/CustomerTest.php +++ b/src/gen/test/Model/CustomerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomersFilterTest.php b/src/gen/test/Model/CustomersFilterTest.php index 7ee6565513..a0dc4f34c0 100644 --- a/src/gen/test/Model/CustomersFilterTest.php +++ b/src/gen/test/Model/CustomersFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomersSortTest.php b/src/gen/test/Model/CustomersSortTest.php index 579a9180cb..1aa16cd923 100644 --- a/src/gen/test/Model/CustomersSortTest.php +++ b/src/gen/test/Model/CustomersSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeductionTest.php b/src/gen/test/Model/DeductionTest.php index 226118dd1b..1a574b8599 100644 --- a/src/gen/test/Model/DeductionTest.php +++ b/src/gen/test/Model/DeductionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php b/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php index 7e8b516d07..4f63772b96 100644 --- a/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteAccountingLocationResponseTest.php b/src/gen/test/Model/DeleteAccountingLocationResponseTest.php index fe59d9bd6e..abca8b14fe 100644 --- a/src/gen/test/Model/DeleteAccountingLocationResponseTest.php +++ b/src/gen/test/Model/DeleteAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteActivityResponseTest.php b/src/gen/test/Model/DeleteActivityResponseTest.php index 5bbf72c43a..5e155a2e9c 100644 --- a/src/gen/test/Model/DeleteActivityResponseTest.php +++ b/src/gen/test/Model/DeleteActivityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteApplicantResponseTest.php b/src/gen/test/Model/DeleteApplicantResponseTest.php index a6c853d551..bd68ac2582 100644 --- a/src/gen/test/Model/DeleteApplicantResponseTest.php +++ b/src/gen/test/Model/DeleteApplicantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteApplicationResponseTest.php b/src/gen/test/Model/DeleteApplicationResponseTest.php index ce83424dbb..f53e172bcd 100644 --- a/src/gen/test/Model/DeleteApplicationResponseTest.php +++ b/src/gen/test/Model/DeleteApplicationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteAttachmentResponseTest.php b/src/gen/test/Model/DeleteAttachmentResponseTest.php index 17bcbfe4c8..750debd989 100644 --- a/src/gen/test/Model/DeleteAttachmentResponseTest.php +++ b/src/gen/test/Model/DeleteAttachmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteBankFeedAccountResponseTest.php b/src/gen/test/Model/DeleteBankFeedAccountResponseTest.php new file mode 100644 index 0000000000..d64fb6b6d2 --- /dev/null +++ b/src/gen/test/Model/DeleteBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteBankFeedStatementResponseTest.php b/src/gen/test/Model/DeleteBankFeedStatementResponseTest.php new file mode 100644 index 0000000000..bed29bcebd --- /dev/null +++ b/src/gen/test/Model/DeleteBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteBillPaymentResponseTest.php b/src/gen/test/Model/DeleteBillPaymentResponseTest.php index 1310ac960e..d0ed7120c9 100644 --- a/src/gen/test/Model/DeleteBillPaymentResponseTest.php +++ b/src/gen/test/Model/DeleteBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteBillResponseTest.php b/src/gen/test/Model/DeleteBillResponseTest.php index eb986b16e6..12e7a4c994 100644 --- a/src/gen/test/Model/DeleteBillResponseTest.php +++ b/src/gen/test/Model/DeleteBillResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteCommentResponseTest.php b/src/gen/test/Model/DeleteCommentResponseTest.php index 34de21d625..0541c83766 100644 --- a/src/gen/test/Model/DeleteCommentResponseTest.php +++ b/src/gen/test/Model/DeleteCommentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteCompanyResponseTest.php b/src/gen/test/Model/DeleteCompanyResponseTest.php index f0a0ba4d99..15bb6b3ca5 100644 --- a/src/gen/test/Model/DeleteCompanyResponseTest.php +++ b/src/gen/test/Model/DeleteCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteConsumerResponseTest.php b/src/gen/test/Model/DeleteConsumerResponseTest.php index f4c334e859..b71a388e9f 100644 --- a/src/gen/test/Model/DeleteConsumerResponseTest.php +++ b/src/gen/test/Model/DeleteConsumerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteContactResponseTest.php b/src/gen/test/Model/DeleteContactResponseTest.php index dc994d2e97..c0b5debae2 100644 --- a/src/gen/test/Model/DeleteContactResponseTest.php +++ b/src/gen/test/Model/DeleteContactResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteCreditNoteResponseTest.php b/src/gen/test/Model/DeleteCreditNoteResponseTest.php index 1fc840a312..2f54cdd052 100644 --- a/src/gen/test/Model/DeleteCreditNoteResponseTest.php +++ b/src/gen/test/Model/DeleteCreditNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteCustomObjectResponseTest.php b/src/gen/test/Model/DeleteCustomObjectResponseTest.php new file mode 100644 index 0000000000..047db3bcbe --- /dev/null +++ b/src/gen/test/Model/DeleteCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteCustomObjectSchemaResponseTest.php b/src/gen/test/Model/DeleteCustomObjectSchemaResponseTest.php new file mode 100644 index 0000000000..78aca9ba26 --- /dev/null +++ b/src/gen/test/Model/DeleteCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteCustomerResponseTest.php b/src/gen/test/Model/DeleteCustomerResponseTest.php index 977114ee4b..41f46c4f7b 100644 --- a/src/gen/test/Model/DeleteCustomerResponseTest.php +++ b/src/gen/test/Model/DeleteCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteDepartmentResponseTest.php b/src/gen/test/Model/DeleteDepartmentResponseTest.php index 7401ed2791..5f098a0b3f 100644 --- a/src/gen/test/Model/DeleteDepartmentResponseTest.php +++ b/src/gen/test/Model/DeleteDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteDriveGroupResponseTest.php b/src/gen/test/Model/DeleteDriveGroupResponseTest.php index f0edf7edf0..72fe54686d 100644 --- a/src/gen/test/Model/DeleteDriveGroupResponseTest.php +++ b/src/gen/test/Model/DeleteDriveGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteDriveResponseTest.php b/src/gen/test/Model/DeleteDriveResponseTest.php index 160f09ab33..ab68a433eb 100644 --- a/src/gen/test/Model/DeleteDriveResponseTest.php +++ b/src/gen/test/Model/DeleteDriveResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php b/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php index 670018d6cb..9331219d39 100644 --- a/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php +++ b/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php b/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php index 1fd9430c7d..308626e618 100644 --- a/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php +++ b/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteEmployeeResponseTest.php b/src/gen/test/Model/DeleteEmployeeResponseTest.php index 671bbdae83..1733a7dac7 100644 --- a/src/gen/test/Model/DeleteEmployeeResponseTest.php +++ b/src/gen/test/Model/DeleteEmployeeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteExpenseResponseTest.php b/src/gen/test/Model/DeleteExpenseResponseTest.php index 7e8cc0b683..da94308cbd 100644 --- a/src/gen/test/Model/DeleteExpenseResponseTest.php +++ b/src/gen/test/Model/DeleteExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteFileResponseTest.php b/src/gen/test/Model/DeleteFileResponseTest.php index fec66c5d96..35f9eb22fe 100644 --- a/src/gen/test/Model/DeleteFileResponseTest.php +++ b/src/gen/test/Model/DeleteFileResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteFolderResponseTest.php b/src/gen/test/Model/DeleteFolderResponseTest.php index 85765cc452..b4a4ff080d 100644 --- a/src/gen/test/Model/DeleteFolderResponseTest.php +++ b/src/gen/test/Model/DeleteFolderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteHrisCompanyResponseTest.php b/src/gen/test/Model/DeleteHrisCompanyResponseTest.php index c2dc556218..08223aff60 100644 --- a/src/gen/test/Model/DeleteHrisCompanyResponseTest.php +++ b/src/gen/test/Model/DeleteHrisCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteInvoiceResponseTest.php b/src/gen/test/Model/DeleteInvoiceResponseTest.php index 74df275af0..88d73d0643 100644 --- a/src/gen/test/Model/DeleteInvoiceResponseTest.php +++ b/src/gen/test/Model/DeleteInvoiceResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteItemResponseTest.php b/src/gen/test/Model/DeleteItemResponseTest.php index d74d6f880a..63b63d5153 100644 --- a/src/gen/test/Model/DeleteItemResponseTest.php +++ b/src/gen/test/Model/DeleteItemResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteJobResponseTest.php b/src/gen/test/Model/DeleteJobResponseTest.php index 45bb20daf8..6e88293510 100644 --- a/src/gen/test/Model/DeleteJobResponseTest.php +++ b/src/gen/test/Model/DeleteJobResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteJournalEntryResponseTest.php b/src/gen/test/Model/DeleteJournalEntryResponseTest.php index 884250caf8..411e25ed5c 100644 --- a/src/gen/test/Model/DeleteJournalEntryResponseTest.php +++ b/src/gen/test/Model/DeleteJournalEntryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteLeadResponseTest.php b/src/gen/test/Model/DeleteLeadResponseTest.php index 8d6917a4f9..ae64faa210 100644 --- a/src/gen/test/Model/DeleteLeadResponseTest.php +++ b/src/gen/test/Model/DeleteLeadResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteLedgerAccountResponseTest.php b/src/gen/test/Model/DeleteLedgerAccountResponseTest.php index 3586086b00..ef116e69c8 100644 --- a/src/gen/test/Model/DeleteLedgerAccountResponseTest.php +++ b/src/gen/test/Model/DeleteLedgerAccountResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteLocationResponseTest.php b/src/gen/test/Model/DeleteLocationResponseTest.php index 943dab742f..cedee5dfd2 100644 --- a/src/gen/test/Model/DeleteLocationResponseTest.php +++ b/src/gen/test/Model/DeleteLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteMerchantResponseTest.php b/src/gen/test/Model/DeleteMerchantResponseTest.php index 903aa28971..26dfa6c9c7 100644 --- a/src/gen/test/Model/DeleteMerchantResponseTest.php +++ b/src/gen/test/Model/DeleteMerchantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteMessageResponseTest.php b/src/gen/test/Model/DeleteMessageResponseTest.php index d1fbf22570..8e70309bd6 100644 --- a/src/gen/test/Model/DeleteMessageResponseTest.php +++ b/src/gen/test/Model/DeleteMessageResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteModifierGroupResponseTest.php b/src/gen/test/Model/DeleteModifierGroupResponseTest.php index dd18960655..682384a8f3 100644 --- a/src/gen/test/Model/DeleteModifierGroupResponseTest.php +++ b/src/gen/test/Model/DeleteModifierGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteModifierResponseTest.php b/src/gen/test/Model/DeleteModifierResponseTest.php index a3d371bae4..646a74bfcd 100644 --- a/src/gen/test/Model/DeleteModifierResponseTest.php +++ b/src/gen/test/Model/DeleteModifierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteNoteResponseTest.php b/src/gen/test/Model/DeleteNoteResponseTest.php index b518e2efb2..bb02186dd0 100644 --- a/src/gen/test/Model/DeleteNoteResponseTest.php +++ b/src/gen/test/Model/DeleteNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteOpportunityResponseTest.php b/src/gen/test/Model/DeleteOpportunityResponseTest.php index 4413bf6aa5..47bda1b861 100644 --- a/src/gen/test/Model/DeleteOpportunityResponseTest.php +++ b/src/gen/test/Model/DeleteOpportunityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteOrderResponseTest.php b/src/gen/test/Model/DeleteOrderResponseTest.php index 0ab8517e01..8454ef5b16 100644 --- a/src/gen/test/Model/DeleteOrderResponseTest.php +++ b/src/gen/test/Model/DeleteOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteOrderTypeResponseTest.php b/src/gen/test/Model/DeleteOrderTypeResponseTest.php index a19c919daf..64e5edf979 100644 --- a/src/gen/test/Model/DeleteOrderTypeResponseTest.php +++ b/src/gen/test/Model/DeleteOrderTypeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeletePaymentResponseTest.php b/src/gen/test/Model/DeletePaymentResponseTest.php index 79dad666c9..fb8c61df99 100644 --- a/src/gen/test/Model/DeletePaymentResponseTest.php +++ b/src/gen/test/Model/DeletePaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeletePipelineResponseTest.php b/src/gen/test/Model/DeletePipelineResponseTest.php index f32c8339a8..d95bb7e5ae 100644 --- a/src/gen/test/Model/DeletePipelineResponseTest.php +++ b/src/gen/test/Model/DeletePipelineResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeletePosPaymentResponseTest.php b/src/gen/test/Model/DeletePosPaymentResponseTest.php index 9c1fe81214..a56a0f555c 100644 --- a/src/gen/test/Model/DeletePosPaymentResponseTest.php +++ b/src/gen/test/Model/DeletePosPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteProductResponseTest.php b/src/gen/test/Model/DeleteProductResponseTest.php index 77c324f4c5..47a6f26694 100644 --- a/src/gen/test/Model/DeleteProductResponseTest.php +++ b/src/gen/test/Model/DeleteProductResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeletePurchaseOrderResponseTest.php b/src/gen/test/Model/DeletePurchaseOrderResponseTest.php index a92ecb4a2e..3e3713d6b2 100644 --- a/src/gen/test/Model/DeletePurchaseOrderResponseTest.php +++ b/src/gen/test/Model/DeletePurchaseOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteSharedLinkResponseTest.php b/src/gen/test/Model/DeleteSharedLinkResponseTest.php index 4a888034e5..0bf947981b 100644 --- a/src/gen/test/Model/DeleteSharedLinkResponseTest.php +++ b/src/gen/test/Model/DeleteSharedLinkResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteSubsidiaryResponseTest.php b/src/gen/test/Model/DeleteSubsidiaryResponseTest.php index 4283aaced4..ad28b3a4d3 100644 --- a/src/gen/test/Model/DeleteSubsidiaryResponseTest.php +++ b/src/gen/test/Model/DeleteSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteSupplierResponseTest.php b/src/gen/test/Model/DeleteSupplierResponseTest.php index cb98540bad..2d4b180816 100644 --- a/src/gen/test/Model/DeleteSupplierResponseTest.php +++ b/src/gen/test/Model/DeleteSupplierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteTaxRateResponseTest.php b/src/gen/test/Model/DeleteTaxRateResponseTest.php index d8d9891bd7..2fa75b6df3 100644 --- a/src/gen/test/Model/DeleteTaxRateResponseTest.php +++ b/src/gen/test/Model/DeleteTaxRateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteTenderResponseTest.php b/src/gen/test/Model/DeleteTenderResponseTest.php index a916aca024..91659bb9ce 100644 --- a/src/gen/test/Model/DeleteTenderResponseTest.php +++ b/src/gen/test/Model/DeleteTenderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteTicketResponseTest.php b/src/gen/test/Model/DeleteTicketResponseTest.php index 9ace311269..1ddaafc3da 100644 --- a/src/gen/test/Model/DeleteTicketResponseTest.php +++ b/src/gen/test/Model/DeleteTicketResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php b/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php index 78f156c1f3..83441df74c 100644 --- a/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php +++ b/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php b/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php index 7f252ff657..f35e869511 100644 --- a/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteUploadSessionResponseTest.php b/src/gen/test/Model/DeleteUploadSessionResponseTest.php index 52636dad41..f8769f4982 100644 --- a/src/gen/test/Model/DeleteUploadSessionResponseTest.php +++ b/src/gen/test/Model/DeleteUploadSessionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteUserResponseTest.php b/src/gen/test/Model/DeleteUserResponseTest.php index e6e5676846..9488adb459 100644 --- a/src/gen/test/Model/DeleteUserResponseTest.php +++ b/src/gen/test/Model/DeleteUserResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteWebhookResponseTest.php b/src/gen/test/Model/DeleteWebhookResponseTest.php index ef2e00eb26..7a87472577 100644 --- a/src/gen/test/Model/DeleteWebhookResponseTest.php +++ b/src/gen/test/Model/DeleteWebhookResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DepartmentTest.php b/src/gen/test/Model/DepartmentTest.php index a997c23da5..4371cddbe3 100644 --- a/src/gen/test/Model/DepartmentTest.php +++ b/src/gen/test/Model/DepartmentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeprecatedLinkedSupplierTest.php b/src/gen/test/Model/DeprecatedLinkedSupplierTest.php index 7e3c0e5c6b..29b6e80f77 100644 --- a/src/gen/test/Model/DeprecatedLinkedSupplierTest.php +++ b/src/gen/test/Model/DeprecatedLinkedSupplierTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php b/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php index c6806101a2..9ff1f2236a 100644 --- a/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php +++ b/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DriveGroupTest.php b/src/gen/test/Model/DriveGroupTest.php index 2360ced11e..1d9e4a24d2 100644 --- a/src/gen/test/Model/DriveGroupTest.php +++ b/src/gen/test/Model/DriveGroupTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DriveGroupsFilterTest.php b/src/gen/test/Model/DriveGroupsFilterTest.php index 0f467fa441..2fcfd8db4f 100644 --- a/src/gen/test/Model/DriveGroupsFilterTest.php +++ b/src/gen/test/Model/DriveGroupsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DriveTest.php b/src/gen/test/Model/DriveTest.php index 9299c4a99a..39d0620d19 100644 --- a/src/gen/test/Model/DriveTest.php +++ b/src/gen/test/Model/DriveTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DrivesFilterTest.php b/src/gen/test/Model/DrivesFilterTest.php index 5110ccc7ab..8e00742697 100644 --- a/src/gen/test/Model/DrivesFilterTest.php +++ b/src/gen/test/Model/DrivesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceAddressTest.php b/src/gen/test/Model/EcommerceAddressTest.php index 8550906c4a..7d76253b06 100644 --- a/src/gen/test/Model/EcommerceAddressTest.php +++ b/src/gen/test/Model/EcommerceAddressTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceCustomerAddressesTest.php b/src/gen/test/Model/EcommerceCustomerAddressesTest.php index 25bbc60585..5f00a7cbfb 100644 --- a/src/gen/test/Model/EcommerceCustomerAddressesTest.php +++ b/src/gen/test/Model/EcommerceCustomerAddressesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceCustomerTest.php b/src/gen/test/Model/EcommerceCustomerTest.php index cf118655aa..e08aaf6163 100644 --- a/src/gen/test/Model/EcommerceCustomerTest.php +++ b/src/gen/test/Model/EcommerceCustomerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceCustomersFilterTest.php b/src/gen/test/Model/EcommerceCustomersFilterTest.php index 18ac30a32f..97a191bc98 100644 --- a/src/gen/test/Model/EcommerceCustomersFilterTest.php +++ b/src/gen/test/Model/EcommerceCustomersFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceDiscountTest.php b/src/gen/test/Model/EcommerceDiscountTest.php index f9d16b5f95..6e78b2942d 100644 --- a/src/gen/test/Model/EcommerceDiscountTest.php +++ b/src/gen/test/Model/EcommerceDiscountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceEventTypeTest.php b/src/gen/test/Model/EcommerceEventTypeTest.php index 2b6301f1f8..841812b7f3 100644 --- a/src/gen/test/Model/EcommerceEventTypeTest.php +++ b/src/gen/test/Model/EcommerceEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceOrderLineItemTest.php b/src/gen/test/Model/EcommerceOrderLineItemTest.php index 9d6156725e..35424aaec3 100644 --- a/src/gen/test/Model/EcommerceOrderLineItemTest.php +++ b/src/gen/test/Model/EcommerceOrderLineItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -98,15 +98,6 @@ public function testPropertyQuantity() $this->markTestIncomplete('Not implemented'); } - /** - * Test attribute "total_amount" - */ - public function testPropertyTotalAmount() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } - /** * Test attribute "id" */ @@ -224,6 +215,15 @@ public function testPropertySubTotal() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "total_amount" + */ + public function testPropertyTotalAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "discounts" */ diff --git a/src/gen/test/Model/EcommerceOrderRefundTest.php b/src/gen/test/Model/EcommerceOrderRefundTest.php new file mode 100644 index 0000000000..aaca5e641e --- /dev/null +++ b/src/gen/test/Model/EcommerceOrderRefundTest.php @@ -0,0 +1,127 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "amount" + */ + public function testPropertyAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "currency" + */ + public function testPropertyCurrency() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "reason" + */ + public function testPropertyReason() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_at" + */ + public function testPropertyCreatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/EcommerceOrderStatusTest.php b/src/gen/test/Model/EcommerceOrderStatusTest.php index 9be91f3a50..787144d6b0 100644 --- a/src/gen/test/Model/EcommerceOrderStatusTest.php +++ b/src/gen/test/Model/EcommerceOrderStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceOrderTest.php b/src/gen/test/Model/EcommerceOrderTest.php index 3fb3d35472..09246554d6 100644 --- a/src/gen/test/Model/EcommerceOrderTest.php +++ b/src/gen/test/Model/EcommerceOrderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -269,6 +269,15 @@ public function testPropertyNote() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "refunds" + */ + public function testPropertyRefunds() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "custom_mappings" */ diff --git a/src/gen/test/Model/EcommerceOrdersFilterTest.php b/src/gen/test/Model/EcommerceOrdersFilterTest.php index ee06427827..25540d9286 100644 --- a/src/gen/test/Model/EcommerceOrdersFilterTest.php +++ b/src/gen/test/Model/EcommerceOrdersFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceProductCategoriesTest.php b/src/gen/test/Model/EcommerceProductCategoriesTest.php index 62c5ec1456..0e66afbf9e 100644 --- a/src/gen/test/Model/EcommerceProductCategoriesTest.php +++ b/src/gen/test/Model/EcommerceProductCategoriesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceProductImages1Test.php b/src/gen/test/Model/EcommerceProductImages1Test.php index f720627282..1b7a4615d7 100644 --- a/src/gen/test/Model/EcommerceProductImages1Test.php +++ b/src/gen/test/Model/EcommerceProductImages1Test.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceProductImagesTest.php b/src/gen/test/Model/EcommerceProductImagesTest.php index f919ac838e..86eca272ed 100644 --- a/src/gen/test/Model/EcommerceProductImagesTest.php +++ b/src/gen/test/Model/EcommerceProductImagesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceProductOptions1Test.php b/src/gen/test/Model/EcommerceProductOptions1Test.php index 9145320708..1b056bd5e6 100644 --- a/src/gen/test/Model/EcommerceProductOptions1Test.php +++ b/src/gen/test/Model/EcommerceProductOptions1Test.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceProductOptionsTest.php b/src/gen/test/Model/EcommerceProductOptionsTest.php index e0c798e753..26fe6b35e1 100644 --- a/src/gen/test/Model/EcommerceProductOptionsTest.php +++ b/src/gen/test/Model/EcommerceProductOptionsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceProductTest.php b/src/gen/test/Model/EcommerceProductTest.php index a145b0cc26..47805ae5a2 100644 --- a/src/gen/test/Model/EcommerceProductTest.php +++ b/src/gen/test/Model/EcommerceProductTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceProductVariantsTest.php b/src/gen/test/Model/EcommerceProductVariantsTest.php index 6046777053..f4eaa27cc5 100644 --- a/src/gen/test/Model/EcommerceProductVariantsTest.php +++ b/src/gen/test/Model/EcommerceProductVariantsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceStoreTest.php b/src/gen/test/Model/EcommerceStoreTest.php index a44c8e564a..588b45ff31 100644 --- a/src/gen/test/Model/EcommerceStoreTest.php +++ b/src/gen/test/Model/EcommerceStoreTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmailTest.php b/src/gen/test/Model/EmailTest.php index 154a56abda..da41a3dd4e 100644 --- a/src/gen/test/Model/EmailTest.php +++ b/src/gen/test/Model/EmailTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeeCompensationTest.php b/src/gen/test/Model/EmployeeCompensationTest.php index c4df872f13..495810c3e6 100644 --- a/src/gen/test/Model/EmployeeCompensationTest.php +++ b/src/gen/test/Model/EmployeeCompensationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeeEmploymentRoleTest.php b/src/gen/test/Model/EmployeeEmploymentRoleTest.php index cbff5e1e67..3f597655cd 100644 --- a/src/gen/test/Model/EmployeeEmploymentRoleTest.php +++ b/src/gen/test/Model/EmployeeEmploymentRoleTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeeJobTest.php b/src/gen/test/Model/EmployeeJobTest.php index 1fe1d8bed1..fbdc0ff08b 100644 --- a/src/gen/test/Model/EmployeeJobTest.php +++ b/src/gen/test/Model/EmployeeJobTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeeListTest.php b/src/gen/test/Model/EmployeeListTest.php index 82d5e3faab..e070554f85 100644 --- a/src/gen/test/Model/EmployeeListTest.php +++ b/src/gen/test/Model/EmployeeListTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeeManagerTest.php b/src/gen/test/Model/EmployeeManagerTest.php index aade97d009..570aa78077 100644 --- a/src/gen/test/Model/EmployeeManagerTest.php +++ b/src/gen/test/Model/EmployeeManagerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeePayrollTest.php b/src/gen/test/Model/EmployeePayrollTest.php index ce1b490c92..3b26cf46da 100644 --- a/src/gen/test/Model/EmployeePayrollTest.php +++ b/src/gen/test/Model/EmployeePayrollTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeeSchedulesTest.php b/src/gen/test/Model/EmployeeSchedulesTest.php index a90496bc27..a0b8dc5cf8 100644 --- a/src/gen/test/Model/EmployeeSchedulesTest.php +++ b/src/gen/test/Model/EmployeeSchedulesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeeTest.php b/src/gen/test/Model/EmployeeTest.php index c8bea2da68..c3ae5337a3 100644 --- a/src/gen/test/Model/EmployeeTest.php +++ b/src/gen/test/Model/EmployeeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeesFilterTest.php b/src/gen/test/Model/EmployeesFilterTest.php index 1d957d701c..50bb2c3018 100644 --- a/src/gen/test/Model/EmployeesFilterTest.php +++ b/src/gen/test/Model/EmployeesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -169,4 +169,13 @@ public function testPropertyCity() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "country" + */ + public function testPropertyCountry() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/EmployeesOneFilterTest.php b/src/gen/test/Model/EmployeesOneFilterTest.php index ac38c2b69c..323c58c425 100644 --- a/src/gen/test/Model/EmployeesOneFilterTest.php +++ b/src/gen/test/Model/EmployeesOneFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmployeesSortTest.php b/src/gen/test/Model/EmployeesSortTest.php index b2e404bcb8..6db5e1a936 100644 --- a/src/gen/test/Model/EmployeesSortTest.php +++ b/src/gen/test/Model/EmployeesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EmploymentStatusTest.php b/src/gen/test/Model/EmploymentStatusTest.php index 7ffc68d1d0..d41de28496 100644 --- a/src/gen/test/Model/EmploymentStatusTest.php +++ b/src/gen/test/Model/EmploymentStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ErrorTest.php b/src/gen/test/Model/ErrorTest.php index c3b6843f79..a7510b6a3a 100644 --- a/src/gen/test/Model/ErrorTest.php +++ b/src/gen/test/Model/ErrorTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ExecuteWebhookResponseTest.php b/src/gen/test/Model/ExecuteWebhookResponseTest.php index 8b2fdb43de..c91d602910 100644 --- a/src/gen/test/Model/ExecuteWebhookResponseTest.php +++ b/src/gen/test/Model/ExecuteWebhookResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ExpenseLineItemTest.php b/src/gen/test/Model/ExpenseLineItemTest.php index 46fb10f1e6..531306e4e4 100644 --- a/src/gen/test/Model/ExpenseLineItemTest.php +++ b/src/gen/test/Model/ExpenseLineItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -178,4 +178,13 @@ public function testPropertyBillable() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "line_number" + */ + public function testPropertyLineNumber() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/ExpenseTest.php b/src/gen/test/Model/ExpenseTest.php index 5ac43c2f4d..c45a5ff97f 100644 --- a/src/gen/test/Model/ExpenseTest.php +++ b/src/gen/test/Model/ExpenseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -269,6 +269,24 @@ public function testPropertyRowVersion() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "updated_by" + */ + public function testPropertyUpdatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_by" + */ + public function testPropertyCreatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "pass_through" */ diff --git a/src/gen/test/Model/ExpensesTest.php b/src/gen/test/Model/ExpensesTest.php index 6324aeebfc..31f6196246 100644 --- a/src/gen/test/Model/ExpensesTest.php +++ b/src/gen/test/Model/ExpensesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FileStorageEventTypeTest.php b/src/gen/test/Model/FileStorageEventTypeTest.php index b954e148f4..24beb4b481 100644 --- a/src/gen/test/Model/FileStorageEventTypeTest.php +++ b/src/gen/test/Model/FileStorageEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FileTypeTest.php b/src/gen/test/Model/FileTypeTest.php index 107209899e..715b59999a 100644 --- a/src/gen/test/Model/FileTypeTest.php +++ b/src/gen/test/Model/FileTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FilesFilterTest.php b/src/gen/test/Model/FilesFilterTest.php index d4ac817945..2c86dd017c 100644 --- a/src/gen/test/Model/FilesFilterTest.php +++ b/src/gen/test/Model/FilesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FilesSearchTest.php b/src/gen/test/Model/FilesSearchTest.php index edb0c2cf00..f704e5a8a2 100644 --- a/src/gen/test/Model/FilesSearchTest.php +++ b/src/gen/test/Model/FilesSearchTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FilesSortTest.php b/src/gen/test/Model/FilesSortTest.php index c0b0c3ea8a..57ff6dc031 100644 --- a/src/gen/test/Model/FilesSortTest.php +++ b/src/gen/test/Model/FilesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FolderTest.php b/src/gen/test/Model/FolderTest.php index 9c769a315d..b412739a12 100644 --- a/src/gen/test/Model/FolderTest.php +++ b/src/gen/test/Model/FolderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FormFieldOptionGroupTest.php b/src/gen/test/Model/FormFieldOptionGroupTest.php index 4e3430cd6d..01238df7ed 100644 --- a/src/gen/test/Model/FormFieldOptionGroupTest.php +++ b/src/gen/test/Model/FormFieldOptionGroupTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FormFieldOptionTest.php b/src/gen/test/Model/FormFieldOptionTest.php index 97f4fc469e..69c29b8d75 100644 --- a/src/gen/test/Model/FormFieldOptionTest.php +++ b/src/gen/test/Model/FormFieldOptionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/FormFieldTest.php b/src/gen/test/Model/FormFieldTest.php index 4b831045e8..047e01e5df 100644 --- a/src/gen/test/Model/FormFieldTest.php +++ b/src/gen/test/Model/FormFieldTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GenderTest.php b/src/gen/test/Model/GenderTest.php index 5d8b4031a2..4f56001c66 100644 --- a/src/gen/test/Model/GenderTest.php +++ b/src/gen/test/Model/GenderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAccountingDepartmentResponseTest.php b/src/gen/test/Model/GetAccountingDepartmentResponseTest.php index e9a97fdfbf..b65198dce6 100644 --- a/src/gen/test/Model/GetAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/GetAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php b/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php index d9460376ea..32908d0329 100644 --- a/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php +++ b/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAccountingLocationResponseTest.php b/src/gen/test/Model/GetAccountingLocationResponseTest.php index 93d3ca48a3..7f39377884 100644 --- a/src/gen/test/Model/GetAccountingLocationResponseTest.php +++ b/src/gen/test/Model/GetAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAccountingLocationsResponseTest.php b/src/gen/test/Model/GetAccountingLocationsResponseTest.php index 9423f06445..715aa7f7e4 100644 --- a/src/gen/test/Model/GetAccountingLocationsResponseTest.php +++ b/src/gen/test/Model/GetAccountingLocationsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetActivitiesResponseTest.php b/src/gen/test/Model/GetActivitiesResponseTest.php index 939ae6ffd2..52be08242e 100644 --- a/src/gen/test/Model/GetActivitiesResponseTest.php +++ b/src/gen/test/Model/GetActivitiesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetActivityResponseTest.php b/src/gen/test/Model/GetActivityResponseTest.php index 94cd973b92..7e99d86523 100644 --- a/src/gen/test/Model/GetActivityResponseTest.php +++ b/src/gen/test/Model/GetActivityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAgedCreditorsResponseTest.php b/src/gen/test/Model/GetAgedCreditorsResponseTest.php index 2fda58c73e..f5c7ff62ba 100644 --- a/src/gen/test/Model/GetAgedCreditorsResponseTest.php +++ b/src/gen/test/Model/GetAgedCreditorsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAgedDebtorsResponseTest.php b/src/gen/test/Model/GetAgedDebtorsResponseTest.php index b0c4e66e38..cbcbf749a8 100644 --- a/src/gen/test/Model/GetAgedDebtorsResponseTest.php +++ b/src/gen/test/Model/GetAgedDebtorsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApiResourceCoverageResponseTest.php b/src/gen/test/Model/GetApiResourceCoverageResponseTest.php index 24e7254374..0072018629 100644 --- a/src/gen/test/Model/GetApiResourceCoverageResponseTest.php +++ b/src/gen/test/Model/GetApiResourceCoverageResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApiResourceResponseTest.php b/src/gen/test/Model/GetApiResourceResponseTest.php index 1f3fd9a958..f66b9fa81a 100644 --- a/src/gen/test/Model/GetApiResourceResponseTest.php +++ b/src/gen/test/Model/GetApiResourceResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApiResponseTest.php b/src/gen/test/Model/GetApiResponseTest.php index 367f8c3df9..2eb2e4a0bd 100644 --- a/src/gen/test/Model/GetApiResponseTest.php +++ b/src/gen/test/Model/GetApiResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApisResponseTest.php b/src/gen/test/Model/GetApisResponseTest.php index cd9750bd1a..280721846b 100644 --- a/src/gen/test/Model/GetApisResponseTest.php +++ b/src/gen/test/Model/GetApisResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApplicantResponseTest.php b/src/gen/test/Model/GetApplicantResponseTest.php index 67cd67f5a4..619f2f4e92 100644 --- a/src/gen/test/Model/GetApplicantResponseTest.php +++ b/src/gen/test/Model/GetApplicantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApplicantsResponseTest.php b/src/gen/test/Model/GetApplicantsResponseTest.php index 1d439711a8..1e8a69875f 100644 --- a/src/gen/test/Model/GetApplicantsResponseTest.php +++ b/src/gen/test/Model/GetApplicantsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApplicationResponseTest.php b/src/gen/test/Model/GetApplicationResponseTest.php index d78ddaa04d..b30c856f52 100644 --- a/src/gen/test/Model/GetApplicationResponseTest.php +++ b/src/gen/test/Model/GetApplicationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetApplicationsResponseTest.php b/src/gen/test/Model/GetApplicationsResponseTest.php index 03c2f10844..52b327a64b 100644 --- a/src/gen/test/Model/GetApplicationsResponseTest.php +++ b/src/gen/test/Model/GetApplicationsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAttachmentResponseTest.php b/src/gen/test/Model/GetAttachmentResponseTest.php index c9bc33855c..c145751bae 100644 --- a/src/gen/test/Model/GetAttachmentResponseTest.php +++ b/src/gen/test/Model/GetAttachmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAttachmentsResponseTest.php b/src/gen/test/Model/GetAttachmentsResponseTest.php index 28bbad43fd..1bc8990f2e 100644 --- a/src/gen/test/Model/GetAttachmentsResponseTest.php +++ b/src/gen/test/Model/GetAttachmentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetBalanceSheetResponseTest.php b/src/gen/test/Model/GetBalanceSheetResponseTest.php index 2ebaaf98b3..63ce00a5c8 100644 --- a/src/gen/test/Model/GetBalanceSheetResponseTest.php +++ b/src/gen/test/Model/GetBalanceSheetResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetBankFeedAccountResponseTest.php b/src/gen/test/Model/GetBankFeedAccountResponseTest.php new file mode 100644 index 0000000000..20d1dc5280 --- /dev/null +++ b/src/gen/test/Model/GetBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBankFeedAccountsResponseTest.php b/src/gen/test/Model/GetBankFeedAccountsResponseTest.php new file mode 100644 index 0000000000..634e68139b --- /dev/null +++ b/src/gen/test/Model/GetBankFeedAccountsResponseTest.php @@ -0,0 +1,163 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "meta" + */ + public function testPropertyMeta() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "links" + */ + public function testPropertyLinks() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBankFeedStatementResponseTest.php b/src/gen/test/Model/GetBankFeedStatementResponseTest.php new file mode 100644 index 0000000000..b7f3249ef4 --- /dev/null +++ b/src/gen/test/Model/GetBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBankFeedStatementsResponseTest.php b/src/gen/test/Model/GetBankFeedStatementsResponseTest.php new file mode 100644 index 0000000000..a414e20da8 --- /dev/null +++ b/src/gen/test/Model/GetBankFeedStatementsResponseTest.php @@ -0,0 +1,163 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "meta" + */ + public function testPropertyMeta() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "links" + */ + public function testPropertyLinks() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBillPaymentResponseTest.php b/src/gen/test/Model/GetBillPaymentResponseTest.php index eaf1e6430d..c0023077e5 100644 --- a/src/gen/test/Model/GetBillPaymentResponseTest.php +++ b/src/gen/test/Model/GetBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetBillPaymentsResponseTest.php b/src/gen/test/Model/GetBillPaymentsResponseTest.php index ad58a3a705..2b0976e1ca 100644 --- a/src/gen/test/Model/GetBillPaymentsResponseTest.php +++ b/src/gen/test/Model/GetBillPaymentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetBillResponseTest.php b/src/gen/test/Model/GetBillResponseTest.php index ce3896c75d..add2f014fa 100644 --- a/src/gen/test/Model/GetBillResponseTest.php +++ b/src/gen/test/Model/GetBillResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetBillsResponseTest.php b/src/gen/test/Model/GetBillsResponseTest.php index 1fddf772a5..f67e06176e 100644 --- a/src/gen/test/Model/GetBillsResponseTest.php +++ b/src/gen/test/Model/GetBillsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCollectionResponseTest.php b/src/gen/test/Model/GetCollectionResponseTest.php index efe502f409..2c98245316 100644 --- a/src/gen/test/Model/GetCollectionResponseTest.php +++ b/src/gen/test/Model/GetCollectionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCollectionTagsResponseTest.php b/src/gen/test/Model/GetCollectionTagsResponseTest.php index ac94d4e0fd..b5cce1c451 100644 --- a/src/gen/test/Model/GetCollectionTagsResponseTest.php +++ b/src/gen/test/Model/GetCollectionTagsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCollectionUserResponseTest.php b/src/gen/test/Model/GetCollectionUserResponseTest.php index 159127230f..09b31751b7 100644 --- a/src/gen/test/Model/GetCollectionUserResponseTest.php +++ b/src/gen/test/Model/GetCollectionUserResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCollectionUsersResponseTest.php b/src/gen/test/Model/GetCollectionUsersResponseTest.php index b1744ffa88..a2c77a6efb 100644 --- a/src/gen/test/Model/GetCollectionUsersResponseTest.php +++ b/src/gen/test/Model/GetCollectionUsersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCollectionsResponseTest.php b/src/gen/test/Model/GetCollectionsResponseTest.php index 2ffcfc1b38..c5bcc7094b 100644 --- a/src/gen/test/Model/GetCollectionsResponseTest.php +++ b/src/gen/test/Model/GetCollectionsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCommentResponseTest.php b/src/gen/test/Model/GetCommentResponseTest.php index 888a8b59f7..27eec2cbec 100644 --- a/src/gen/test/Model/GetCommentResponseTest.php +++ b/src/gen/test/Model/GetCommentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCommentsResponseTest.php b/src/gen/test/Model/GetCommentsResponseTest.php index 43b5463d7d..cb07a5af5c 100644 --- a/src/gen/test/Model/GetCommentsResponseTest.php +++ b/src/gen/test/Model/GetCommentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCompaniesResponseTest.php b/src/gen/test/Model/GetCompaniesResponseTest.php index 6e4291ecc0..7d20fcf8c2 100644 --- a/src/gen/test/Model/GetCompaniesResponseTest.php +++ b/src/gen/test/Model/GetCompaniesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCompanyInfoResponseTest.php b/src/gen/test/Model/GetCompanyInfoResponseTest.php index 70ef3a8eac..c2b4a95a07 100644 --- a/src/gen/test/Model/GetCompanyInfoResponseTest.php +++ b/src/gen/test/Model/GetCompanyInfoResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCompanyResponseTest.php b/src/gen/test/Model/GetCompanyResponseTest.php index c3e19a79f9..f806f50d54 100644 --- a/src/gen/test/Model/GetCompanyResponseTest.php +++ b/src/gen/test/Model/GetCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectionResponseTest.php b/src/gen/test/Model/GetConnectionResponseTest.php index 353081f5e7..645ac86a8f 100644 --- a/src/gen/test/Model/GetConnectionResponseTest.php +++ b/src/gen/test/Model/GetConnectionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectionsResponseTest.php b/src/gen/test/Model/GetConnectionsResponseTest.php index bce36dede3..3ffc42b8ef 100644 --- a/src/gen/test/Model/GetConnectionsResponseTest.php +++ b/src/gen/test/Model/GetConnectionsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php b/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php index 1d51ac7929..3026dc293c 100644 --- a/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php +++ b/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php b/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php index ee7d927d6d..6788f0ac44 100644 --- a/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php +++ b/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectorResourceResponseTest.php b/src/gen/test/Model/GetConnectorResourceResponseTest.php index 40a479c7ff..760dd3dcb4 100644 --- a/src/gen/test/Model/GetConnectorResourceResponseTest.php +++ b/src/gen/test/Model/GetConnectorResourceResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php b/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php index b415b19955..b2c5870403 100644 --- a/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php +++ b/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectorResponseTest.php b/src/gen/test/Model/GetConnectorResponseTest.php index b04465d8d6..cb63d4c90e 100644 --- a/src/gen/test/Model/GetConnectorResponseTest.php +++ b/src/gen/test/Model/GetConnectorResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConnectorsResponseTest.php b/src/gen/test/Model/GetConnectorsResponseTest.php index 40f5478cf7..f2a0d0b748 100644 --- a/src/gen/test/Model/GetConnectorsResponseTest.php +++ b/src/gen/test/Model/GetConnectorsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConsumerResponseTest.php b/src/gen/test/Model/GetConsumerResponseTest.php index 04b4d2c9fc..982cbde87f 100644 --- a/src/gen/test/Model/GetConsumerResponseTest.php +++ b/src/gen/test/Model/GetConsumerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConsumersResponseDataTest.php b/src/gen/test/Model/GetConsumersResponseDataTest.php index 936df921b2..046634c1e1 100644 --- a/src/gen/test/Model/GetConsumersResponseDataTest.php +++ b/src/gen/test/Model/GetConsumersResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetConsumersResponseTest.php b/src/gen/test/Model/GetConsumersResponseTest.php index d12442ffd5..540ea55178 100644 --- a/src/gen/test/Model/GetConsumersResponseTest.php +++ b/src/gen/test/Model/GetConsumersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetContactResponseTest.php b/src/gen/test/Model/GetContactResponseTest.php index 5016dd53b2..ee68b27f11 100644 --- a/src/gen/test/Model/GetContactResponseTest.php +++ b/src/gen/test/Model/GetContactResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetContactsResponseTest.php b/src/gen/test/Model/GetContactsResponseTest.php index cd14f299df..46ff59ab5f 100644 --- a/src/gen/test/Model/GetContactsResponseTest.php +++ b/src/gen/test/Model/GetContactsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCreditNoteResponseTest.php b/src/gen/test/Model/GetCreditNoteResponseTest.php index dafaaf17ba..e761c5c92e 100644 --- a/src/gen/test/Model/GetCreditNoteResponseTest.php +++ b/src/gen/test/Model/GetCreditNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCreditNotesResponseTest.php b/src/gen/test/Model/GetCreditNotesResponseTest.php index 194c1efec7..676b6ea3c4 100644 --- a/src/gen/test/Model/GetCreditNotesResponseTest.php +++ b/src/gen/test/Model/GetCreditNotesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCustomFieldsResponseTest.php b/src/gen/test/Model/GetCustomFieldsResponseTest.php index 77c64a7ad8..095f0900cf 100644 --- a/src/gen/test/Model/GetCustomFieldsResponseTest.php +++ b/src/gen/test/Model/GetCustomFieldsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCustomMappingResponseTest.php b/src/gen/test/Model/GetCustomMappingResponseTest.php index 1a0c797276..aef866d722 100644 --- a/src/gen/test/Model/GetCustomMappingResponseTest.php +++ b/src/gen/test/Model/GetCustomMappingResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCustomMappingsResponseTest.php b/src/gen/test/Model/GetCustomMappingsResponseTest.php index 7277be1d32..78865d2c3e 100644 --- a/src/gen/test/Model/GetCustomMappingsResponseTest.php +++ b/src/gen/test/Model/GetCustomMappingsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCustomObjectResponseTest.php b/src/gen/test/Model/GetCustomObjectResponseTest.php new file mode 100644 index 0000000000..7fbd9196e9 --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetCustomObjectSchemaResponseTest.php b/src/gen/test/Model/GetCustomObjectSchemaResponseTest.php new file mode 100644 index 0000000000..6bdc357631 --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetCustomObjectSchemasResponseTest.php b/src/gen/test/Model/GetCustomObjectSchemasResponseTest.php new file mode 100644 index 0000000000..ed2941e485 --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectSchemasResponseTest.php @@ -0,0 +1,163 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "meta" + */ + public function testPropertyMeta() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "links" + */ + public function testPropertyLinks() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetCustomObjectsResponseTest.php b/src/gen/test/Model/GetCustomObjectsResponseTest.php new file mode 100644 index 0000000000..f6689fd100 --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectsResponseTest.php @@ -0,0 +1,163 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "meta" + */ + public function testPropertyMeta() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "links" + */ + public function testPropertyLinks() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetCustomerResponseTest.php b/src/gen/test/Model/GetCustomerResponseTest.php index ab0480e191..934b6b1cf6 100644 --- a/src/gen/test/Model/GetCustomerResponseTest.php +++ b/src/gen/test/Model/GetCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCustomersResponseTest.php b/src/gen/test/Model/GetCustomersResponseTest.php index 29bf0b4de7..476c62117a 100644 --- a/src/gen/test/Model/GetCustomersResponseTest.php +++ b/src/gen/test/Model/GetCustomersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetDepartmentResponseTest.php b/src/gen/test/Model/GetDepartmentResponseTest.php index 5ac0dfe19c..8925073e3f 100644 --- a/src/gen/test/Model/GetDepartmentResponseTest.php +++ b/src/gen/test/Model/GetDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetDepartmentsResponseTest.php b/src/gen/test/Model/GetDepartmentsResponseTest.php index 2f8e77cd35..668586c8cd 100644 --- a/src/gen/test/Model/GetDepartmentsResponseTest.php +++ b/src/gen/test/Model/GetDepartmentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetDriveGroupResponseTest.php b/src/gen/test/Model/GetDriveGroupResponseTest.php index fbdf98b625..4010d969ac 100644 --- a/src/gen/test/Model/GetDriveGroupResponseTest.php +++ b/src/gen/test/Model/GetDriveGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetDriveGroupsResponseTest.php b/src/gen/test/Model/GetDriveGroupsResponseTest.php index abe1b149a1..b5d3db7986 100644 --- a/src/gen/test/Model/GetDriveGroupsResponseTest.php +++ b/src/gen/test/Model/GetDriveGroupsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetDriveResponseTest.php b/src/gen/test/Model/GetDriveResponseTest.php index 928e7e8e09..a502cf1342 100644 --- a/src/gen/test/Model/GetDriveResponseTest.php +++ b/src/gen/test/Model/GetDriveResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetDrivesResponseTest.php b/src/gen/test/Model/GetDrivesResponseTest.php index eecf1ce8f2..508dacc6da 100644 --- a/src/gen/test/Model/GetDrivesResponseTest.php +++ b/src/gen/test/Model/GetDrivesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEcommerceCustomerResponseTest.php b/src/gen/test/Model/GetEcommerceCustomerResponseTest.php index 822776069a..5735be7e1a 100644 --- a/src/gen/test/Model/GetEcommerceCustomerResponseTest.php +++ b/src/gen/test/Model/GetEcommerceCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEcommerceCustomersResponseTest.php b/src/gen/test/Model/GetEcommerceCustomersResponseTest.php index 6d42567d65..23af52175a 100644 --- a/src/gen/test/Model/GetEcommerceCustomersResponseTest.php +++ b/src/gen/test/Model/GetEcommerceCustomersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEcommerceOrderResponseTest.php b/src/gen/test/Model/GetEcommerceOrderResponseTest.php index 2286e8092d..fd665567a6 100644 --- a/src/gen/test/Model/GetEcommerceOrderResponseTest.php +++ b/src/gen/test/Model/GetEcommerceOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEcommerceOrdersResponseTest.php b/src/gen/test/Model/GetEcommerceOrdersResponseTest.php index d48df6e2ec..eccb1bde8c 100644 --- a/src/gen/test/Model/GetEcommerceOrdersResponseTest.php +++ b/src/gen/test/Model/GetEcommerceOrdersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEmployeePayrollResponseTest.php b/src/gen/test/Model/GetEmployeePayrollResponseTest.php index 9dbbee5547..04bf6b8ebf 100644 --- a/src/gen/test/Model/GetEmployeePayrollResponseTest.php +++ b/src/gen/test/Model/GetEmployeePayrollResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEmployeePayrollsResponseTest.php b/src/gen/test/Model/GetEmployeePayrollsResponseTest.php index 2b792c7d11..61d02732ce 100644 --- a/src/gen/test/Model/GetEmployeePayrollsResponseTest.php +++ b/src/gen/test/Model/GetEmployeePayrollsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEmployeeResponseTest.php b/src/gen/test/Model/GetEmployeeResponseTest.php index 9c468aea74..0c6a7b1694 100644 --- a/src/gen/test/Model/GetEmployeeResponseTest.php +++ b/src/gen/test/Model/GetEmployeeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php b/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php index 75f421f444..230b12afc1 100644 --- a/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php +++ b/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetEmployeesResponseTest.php b/src/gen/test/Model/GetEmployeesResponseTest.php index 99eced63a9..076b4e302e 100644 --- a/src/gen/test/Model/GetEmployeesResponseTest.php +++ b/src/gen/test/Model/GetEmployeesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetExpenseResponseTest.php b/src/gen/test/Model/GetExpenseResponseTest.php index d1c6214966..cfafd015b9 100644 --- a/src/gen/test/Model/GetExpenseResponseTest.php +++ b/src/gen/test/Model/GetExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetExpensesResponseTest.php b/src/gen/test/Model/GetExpensesResponseTest.php index 934cf170f1..c493c24b92 100644 --- a/src/gen/test/Model/GetExpensesResponseTest.php +++ b/src/gen/test/Model/GetExpensesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetFileResponseTest.php b/src/gen/test/Model/GetFileResponseTest.php index a581c33de2..07846fd842 100644 --- a/src/gen/test/Model/GetFileResponseTest.php +++ b/src/gen/test/Model/GetFileResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetFilesResponseTest.php b/src/gen/test/Model/GetFilesResponseTest.php index 5b39233c9a..35b4893ee4 100644 --- a/src/gen/test/Model/GetFilesResponseTest.php +++ b/src/gen/test/Model/GetFilesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetFolderResponseTest.php b/src/gen/test/Model/GetFolderResponseTest.php index 33dc3e67cd..ae0d8fd1dc 100644 --- a/src/gen/test/Model/GetFolderResponseTest.php +++ b/src/gen/test/Model/GetFolderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetFoldersResponseTest.php b/src/gen/test/Model/GetFoldersResponseTest.php index ddc7cb3b2b..db29d3f274 100644 --- a/src/gen/test/Model/GetFoldersResponseTest.php +++ b/src/gen/test/Model/GetFoldersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetHrisCompaniesResponseTest.php b/src/gen/test/Model/GetHrisCompaniesResponseTest.php index 5297324662..240e4efa3a 100644 --- a/src/gen/test/Model/GetHrisCompaniesResponseTest.php +++ b/src/gen/test/Model/GetHrisCompaniesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetHrisCompanyResponseTest.php b/src/gen/test/Model/GetHrisCompanyResponseTest.php index e4733ece2d..5c23f38b4a 100644 --- a/src/gen/test/Model/GetHrisCompanyResponseTest.php +++ b/src/gen/test/Model/GetHrisCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetHrisJobResponseTest.php b/src/gen/test/Model/GetHrisJobResponseTest.php index 09bfd012a4..abf2e93a65 100644 --- a/src/gen/test/Model/GetHrisJobResponseTest.php +++ b/src/gen/test/Model/GetHrisJobResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetHrisJobsResponseTest.php b/src/gen/test/Model/GetHrisJobsResponseTest.php index d19ed7b003..0f2cea2025 100644 --- a/src/gen/test/Model/GetHrisJobsResponseTest.php +++ b/src/gen/test/Model/GetHrisJobsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetInvoiceItemResponseTest.php b/src/gen/test/Model/GetInvoiceItemResponseTest.php index 429c90d257..c422a8eaa9 100644 --- a/src/gen/test/Model/GetInvoiceItemResponseTest.php +++ b/src/gen/test/Model/GetInvoiceItemResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetInvoiceItemsResponseTest.php b/src/gen/test/Model/GetInvoiceItemsResponseTest.php index a64e953f41..63f912e7cc 100644 --- a/src/gen/test/Model/GetInvoiceItemsResponseTest.php +++ b/src/gen/test/Model/GetInvoiceItemsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetInvoiceResponseTest.php b/src/gen/test/Model/GetInvoiceResponseTest.php index 6f10f5b682..181352ee6e 100644 --- a/src/gen/test/Model/GetInvoiceResponseTest.php +++ b/src/gen/test/Model/GetInvoiceResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetInvoicesResponseTest.php b/src/gen/test/Model/GetInvoicesResponseTest.php index 0679181d90..6f05c2cb51 100644 --- a/src/gen/test/Model/GetInvoicesResponseTest.php +++ b/src/gen/test/Model/GetInvoicesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetItemResponseTest.php b/src/gen/test/Model/GetItemResponseTest.php index 49c5b1eb54..1e97824777 100644 --- a/src/gen/test/Model/GetItemResponseTest.php +++ b/src/gen/test/Model/GetItemResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetItemsResponseTest.php b/src/gen/test/Model/GetItemsResponseTest.php index b5e92d09b7..3e8d5e573f 100644 --- a/src/gen/test/Model/GetItemsResponseTest.php +++ b/src/gen/test/Model/GetItemsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetJobResponseTest.php b/src/gen/test/Model/GetJobResponseTest.php index fe51dee940..98f4200559 100644 --- a/src/gen/test/Model/GetJobResponseTest.php +++ b/src/gen/test/Model/GetJobResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetJobsResponseTest.php b/src/gen/test/Model/GetJobsResponseTest.php index 5fb6766cc6..38b4089d1e 100644 --- a/src/gen/test/Model/GetJobsResponseTest.php +++ b/src/gen/test/Model/GetJobsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetJournalEntriesResponseTest.php b/src/gen/test/Model/GetJournalEntriesResponseTest.php index ba357a9dbe..3a1af545e0 100644 --- a/src/gen/test/Model/GetJournalEntriesResponseTest.php +++ b/src/gen/test/Model/GetJournalEntriesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetJournalEntryResponseTest.php b/src/gen/test/Model/GetJournalEntryResponseTest.php index cf676c3139..dcfcc164ba 100644 --- a/src/gen/test/Model/GetJournalEntryResponseTest.php +++ b/src/gen/test/Model/GetJournalEntryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetLeadResponseTest.php b/src/gen/test/Model/GetLeadResponseTest.php index b7ed2997a4..a9f285afe7 100644 --- a/src/gen/test/Model/GetLeadResponseTest.php +++ b/src/gen/test/Model/GetLeadResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetLeadsResponseTest.php b/src/gen/test/Model/GetLeadsResponseTest.php index 85517ec10b..7ab52d7651 100644 --- a/src/gen/test/Model/GetLeadsResponseTest.php +++ b/src/gen/test/Model/GetLeadsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetLedgerAccountResponseTest.php b/src/gen/test/Model/GetLedgerAccountResponseTest.php index ddac56dc67..b7958d38b2 100644 --- a/src/gen/test/Model/GetLedgerAccountResponseTest.php +++ b/src/gen/test/Model/GetLedgerAccountResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetLedgerAccountsResponseTest.php b/src/gen/test/Model/GetLedgerAccountsResponseTest.php index 8ca8781864..491bb9008c 100644 --- a/src/gen/test/Model/GetLedgerAccountsResponseTest.php +++ b/src/gen/test/Model/GetLedgerAccountsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetLocationResponseTest.php b/src/gen/test/Model/GetLocationResponseTest.php index 0e74e758f0..b19830440a 100644 --- a/src/gen/test/Model/GetLocationResponseTest.php +++ b/src/gen/test/Model/GetLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetLocationsResponseTest.php b/src/gen/test/Model/GetLocationsResponseTest.php index cad5af4ffd..da15ce0906 100644 --- a/src/gen/test/Model/GetLocationsResponseTest.php +++ b/src/gen/test/Model/GetLocationsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetLogsResponseTest.php b/src/gen/test/Model/GetLogsResponseTest.php index 3f8ae3cd21..bdd7dca4aa 100644 --- a/src/gen/test/Model/GetLogsResponseTest.php +++ b/src/gen/test/Model/GetLogsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetMerchantResponseTest.php b/src/gen/test/Model/GetMerchantResponseTest.php index 209ffdaf11..4f3b63cddb 100644 --- a/src/gen/test/Model/GetMerchantResponseTest.php +++ b/src/gen/test/Model/GetMerchantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetMerchantsResponseTest.php b/src/gen/test/Model/GetMerchantsResponseTest.php index 77ee3ac78b..f200021319 100644 --- a/src/gen/test/Model/GetMerchantsResponseTest.php +++ b/src/gen/test/Model/GetMerchantsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetMessageResponseTest.php b/src/gen/test/Model/GetMessageResponseTest.php index d048374355..4f0b8cf575 100644 --- a/src/gen/test/Model/GetMessageResponseTest.php +++ b/src/gen/test/Model/GetMessageResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetMessagesResponseTest.php b/src/gen/test/Model/GetMessagesResponseTest.php index c17c02dab1..2ea6480cf7 100644 --- a/src/gen/test/Model/GetMessagesResponseTest.php +++ b/src/gen/test/Model/GetMessagesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetModifierGroupResponseTest.php b/src/gen/test/Model/GetModifierGroupResponseTest.php index c7f4689c25..e07a16a512 100644 --- a/src/gen/test/Model/GetModifierGroupResponseTest.php +++ b/src/gen/test/Model/GetModifierGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetModifierGroupsResponseTest.php b/src/gen/test/Model/GetModifierGroupsResponseTest.php index cb53e42c1e..2ddea8b6d5 100644 --- a/src/gen/test/Model/GetModifierGroupsResponseTest.php +++ b/src/gen/test/Model/GetModifierGroupsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetModifierResponseTest.php b/src/gen/test/Model/GetModifierResponseTest.php index 47bfa74c4f..08e491807a 100644 --- a/src/gen/test/Model/GetModifierResponseTest.php +++ b/src/gen/test/Model/GetModifierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetModifiersResponseTest.php b/src/gen/test/Model/GetModifiersResponseTest.php index ec46e2434f..56384729ac 100644 --- a/src/gen/test/Model/GetModifiersResponseTest.php +++ b/src/gen/test/Model/GetModifiersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetNoteResponseTest.php b/src/gen/test/Model/GetNoteResponseTest.php index 6ffc34cf97..5d18eb40f7 100644 --- a/src/gen/test/Model/GetNoteResponseTest.php +++ b/src/gen/test/Model/GetNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetNotesResponseTest.php b/src/gen/test/Model/GetNotesResponseTest.php index 28a6421270..05ac155b65 100644 --- a/src/gen/test/Model/GetNotesResponseTest.php +++ b/src/gen/test/Model/GetNotesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetOpportunitiesResponseTest.php b/src/gen/test/Model/GetOpportunitiesResponseTest.php index bf02ece0dc..8ff1d1d36a 100644 --- a/src/gen/test/Model/GetOpportunitiesResponseTest.php +++ b/src/gen/test/Model/GetOpportunitiesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetOpportunityResponseTest.php b/src/gen/test/Model/GetOpportunityResponseTest.php index df20ff1ece..36777cd0a8 100644 --- a/src/gen/test/Model/GetOpportunityResponseTest.php +++ b/src/gen/test/Model/GetOpportunityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetOrderResponseTest.php b/src/gen/test/Model/GetOrderResponseTest.php index 617f39a6f9..3506b8e66d 100644 --- a/src/gen/test/Model/GetOrderResponseTest.php +++ b/src/gen/test/Model/GetOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetOrderTypeResponseTest.php b/src/gen/test/Model/GetOrderTypeResponseTest.php index 95318c8b3d..5df009b472 100644 --- a/src/gen/test/Model/GetOrderTypeResponseTest.php +++ b/src/gen/test/Model/GetOrderTypeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetOrderTypesResponseTest.php b/src/gen/test/Model/GetOrderTypesResponseTest.php index df3d1c13e6..5a9be97668 100644 --- a/src/gen/test/Model/GetOrderTypesResponseTest.php +++ b/src/gen/test/Model/GetOrderTypesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetOrdersResponseTest.php b/src/gen/test/Model/GetOrdersResponseTest.php index 5b723c8e7d..f2edc68756 100644 --- a/src/gen/test/Model/GetOrdersResponseTest.php +++ b/src/gen/test/Model/GetOrdersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPaymentResponseTest.php b/src/gen/test/Model/GetPaymentResponseTest.php index 7c275acaa3..2d864a5134 100644 --- a/src/gen/test/Model/GetPaymentResponseTest.php +++ b/src/gen/test/Model/GetPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPaymentsResponseTest.php b/src/gen/test/Model/GetPaymentsResponseTest.php index a250f8ff56..3ccd663737 100644 --- a/src/gen/test/Model/GetPaymentsResponseTest.php +++ b/src/gen/test/Model/GetPaymentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPayrollResponseTest.php b/src/gen/test/Model/GetPayrollResponseTest.php index 728c19ca9c..5deb3ce987 100644 --- a/src/gen/test/Model/GetPayrollResponseTest.php +++ b/src/gen/test/Model/GetPayrollResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPayrollsResponseTest.php b/src/gen/test/Model/GetPayrollsResponseTest.php index 6e00c992e5..6f6f463144 100644 --- a/src/gen/test/Model/GetPayrollsResponseTest.php +++ b/src/gen/test/Model/GetPayrollsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPipelineResponseTest.php b/src/gen/test/Model/GetPipelineResponseTest.php index 009fd9c5f5..530539b977 100644 --- a/src/gen/test/Model/GetPipelineResponseTest.php +++ b/src/gen/test/Model/GetPipelineResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPipelinesResponseTest.php b/src/gen/test/Model/GetPipelinesResponseTest.php index dccc224809..f54da04e7d 100644 --- a/src/gen/test/Model/GetPipelinesResponseTest.php +++ b/src/gen/test/Model/GetPipelinesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPosPaymentResponseTest.php b/src/gen/test/Model/GetPosPaymentResponseTest.php index a90403bfb5..495fbd6423 100644 --- a/src/gen/test/Model/GetPosPaymentResponseTest.php +++ b/src/gen/test/Model/GetPosPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPosPaymentsResponseTest.php b/src/gen/test/Model/GetPosPaymentsResponseTest.php index e13671dfe0..c885bf7633 100644 --- a/src/gen/test/Model/GetPosPaymentsResponseTest.php +++ b/src/gen/test/Model/GetPosPaymentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetProductResponseTest.php b/src/gen/test/Model/GetProductResponseTest.php index da1e3319a2..d31a3122ed 100644 --- a/src/gen/test/Model/GetProductResponseTest.php +++ b/src/gen/test/Model/GetProductResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetProductsResponseTest.php b/src/gen/test/Model/GetProductsResponseTest.php index d80cc6eb11..61bc5b2243 100644 --- a/src/gen/test/Model/GetProductsResponseTest.php +++ b/src/gen/test/Model/GetProductsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetProfitAndLossResponseTest.php b/src/gen/test/Model/GetProfitAndLossResponseTest.php index 05ca1aab98..e173093d68 100644 --- a/src/gen/test/Model/GetProfitAndLossResponseTest.php +++ b/src/gen/test/Model/GetProfitAndLossResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPurchaseOrderResponseTest.php b/src/gen/test/Model/GetPurchaseOrderResponseTest.php index 3ca41ed8fb..79030f1cfe 100644 --- a/src/gen/test/Model/GetPurchaseOrderResponseTest.php +++ b/src/gen/test/Model/GetPurchaseOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetPurchaseOrdersResponseTest.php b/src/gen/test/Model/GetPurchaseOrdersResponseTest.php index d276d19f1f..34a3ba591d 100644 --- a/src/gen/test/Model/GetPurchaseOrdersResponseTest.php +++ b/src/gen/test/Model/GetPurchaseOrdersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetResourceExampleResponseTest.php b/src/gen/test/Model/GetResourceExampleResponseTest.php index 0df69c7444..c0e8f0f8fb 100644 --- a/src/gen/test/Model/GetResourceExampleResponseTest.php +++ b/src/gen/test/Model/GetResourceExampleResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetResourceSchemaResponseTest.php b/src/gen/test/Model/GetResourceSchemaResponseTest.php index 8e9a5566bc..137d32b437 100644 --- a/src/gen/test/Model/GetResourceSchemaResponseTest.php +++ b/src/gen/test/Model/GetResourceSchemaResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSharedLinkResponseTest.php b/src/gen/test/Model/GetSharedLinkResponseTest.php index 0467af6454..7bac980a5e 100644 --- a/src/gen/test/Model/GetSharedLinkResponseTest.php +++ b/src/gen/test/Model/GetSharedLinkResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSharedLinksResponseTest.php b/src/gen/test/Model/GetSharedLinksResponseTest.php index 67c7f5ac27..e76ec5a408 100644 --- a/src/gen/test/Model/GetSharedLinksResponseTest.php +++ b/src/gen/test/Model/GetSharedLinksResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetStoreResponseTest.php b/src/gen/test/Model/GetStoreResponseTest.php index fe43accc45..1ccc758c24 100644 --- a/src/gen/test/Model/GetStoreResponseTest.php +++ b/src/gen/test/Model/GetStoreResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetStoresResponseTest.php b/src/gen/test/Model/GetStoresResponseTest.php index d9ef356cb9..bcc3e1ca5d 100644 --- a/src/gen/test/Model/GetStoresResponseTest.php +++ b/src/gen/test/Model/GetStoresResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSubsidiariesResponseTest.php b/src/gen/test/Model/GetSubsidiariesResponseTest.php index 8c671a362a..8afa4ab9a0 100644 --- a/src/gen/test/Model/GetSubsidiariesResponseTest.php +++ b/src/gen/test/Model/GetSubsidiariesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSubsidiaryResponseTest.php b/src/gen/test/Model/GetSubsidiaryResponseTest.php index 97034bca4e..97fecb24ff 100644 --- a/src/gen/test/Model/GetSubsidiaryResponseTest.php +++ b/src/gen/test/Model/GetSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSupplierResponseTest.php b/src/gen/test/Model/GetSupplierResponseTest.php index be1e5db7f4..0910e41569 100644 --- a/src/gen/test/Model/GetSupplierResponseTest.php +++ b/src/gen/test/Model/GetSupplierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSuppliersResponseTest.php b/src/gen/test/Model/GetSuppliersResponseTest.php index e078636a6a..5eb61d95ee 100644 --- a/src/gen/test/Model/GetSuppliersResponseTest.php +++ b/src/gen/test/Model/GetSuppliersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTaxRateResponseTest.php b/src/gen/test/Model/GetTaxRateResponseTest.php index 966efa9603..481e69a19a 100644 --- a/src/gen/test/Model/GetTaxRateResponseTest.php +++ b/src/gen/test/Model/GetTaxRateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTaxRatesResponseTest.php b/src/gen/test/Model/GetTaxRatesResponseTest.php index 4318305e40..2c2b5fdfc0 100644 --- a/src/gen/test/Model/GetTaxRatesResponseTest.php +++ b/src/gen/test/Model/GetTaxRatesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTenderResponseTest.php b/src/gen/test/Model/GetTenderResponseTest.php index d1477072fe..9112fd67bb 100644 --- a/src/gen/test/Model/GetTenderResponseTest.php +++ b/src/gen/test/Model/GetTenderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTendersResponseTest.php b/src/gen/test/Model/GetTendersResponseTest.php index 793731eded..1d41109bcf 100644 --- a/src/gen/test/Model/GetTendersResponseTest.php +++ b/src/gen/test/Model/GetTendersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTicketResponseTest.php b/src/gen/test/Model/GetTicketResponseTest.php index 52288bf14f..acce9e7255 100644 --- a/src/gen/test/Model/GetTicketResponseTest.php +++ b/src/gen/test/Model/GetTicketResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTicketsResponseTest.php b/src/gen/test/Model/GetTicketsResponseTest.php index b6e722ceb3..e4fa89e4db 100644 --- a/src/gen/test/Model/GetTicketsResponseTest.php +++ b/src/gen/test/Model/GetTicketsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTimeOffRequestResponseTest.php b/src/gen/test/Model/GetTimeOffRequestResponseTest.php index d3bb3ad0fc..d1920dbf98 100644 --- a/src/gen/test/Model/GetTimeOffRequestResponseTest.php +++ b/src/gen/test/Model/GetTimeOffRequestResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTimeOffRequestsResponseTest.php b/src/gen/test/Model/GetTimeOffRequestsResponseTest.php index 92bd21c5d7..7dcaa149fe 100644 --- a/src/gen/test/Model/GetTimeOffRequestsResponseTest.php +++ b/src/gen/test/Model/GetTimeOffRequestsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTrackingCategoriesResponseTest.php b/src/gen/test/Model/GetTrackingCategoriesResponseTest.php index 154f02a2f6..3b5d6c08b1 100644 --- a/src/gen/test/Model/GetTrackingCategoriesResponseTest.php +++ b/src/gen/test/Model/GetTrackingCategoriesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTrackingCategoryResponseTest.php b/src/gen/test/Model/GetTrackingCategoryResponseTest.php index a122f3f18e..e93dd1b7c8 100644 --- a/src/gen/test/Model/GetTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/GetTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetUploadSessionResponseTest.php b/src/gen/test/Model/GetUploadSessionResponseTest.php index 2ac62be9ac..8667fdb8cb 100644 --- a/src/gen/test/Model/GetUploadSessionResponseTest.php +++ b/src/gen/test/Model/GetUploadSessionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetUserResponseTest.php b/src/gen/test/Model/GetUserResponseTest.php index b237b1d62f..f2be1fffdb 100644 --- a/src/gen/test/Model/GetUserResponseTest.php +++ b/src/gen/test/Model/GetUserResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetUsersResponseTest.php b/src/gen/test/Model/GetUsersResponseTest.php index 02d10dad77..f8079a704f 100644 --- a/src/gen/test/Model/GetUsersResponseTest.php +++ b/src/gen/test/Model/GetUsersResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetWebhookEventLogsResponseTest.php b/src/gen/test/Model/GetWebhookEventLogsResponseTest.php index 5b6761de87..6892d776f2 100644 --- a/src/gen/test/Model/GetWebhookEventLogsResponseTest.php +++ b/src/gen/test/Model/GetWebhookEventLogsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetWebhookResponseTest.php b/src/gen/test/Model/GetWebhookResponseTest.php index 6a2cd0119d..b138ee8793 100644 --- a/src/gen/test/Model/GetWebhookResponseTest.php +++ b/src/gen/test/Model/GetWebhookResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetWebhooksResponseTest.php b/src/gen/test/Model/GetWebhooksResponseTest.php index dcc197fc04..afda643c32 100644 --- a/src/gen/test/Model/GetWebhooksResponseTest.php +++ b/src/gen/test/Model/GetWebhooksResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/HrisCompanyTest.php b/src/gen/test/Model/HrisCompanyTest.php index 385c490d3b..6d000d9afb 100644 --- a/src/gen/test/Model/HrisCompanyTest.php +++ b/src/gen/test/Model/HrisCompanyTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/HrisEventTypeTest.php b/src/gen/test/Model/HrisEventTypeTest.php index c6bc853a3f..bd3e1b7fe8 100644 --- a/src/gen/test/Model/HrisEventTypeTest.php +++ b/src/gen/test/Model/HrisEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/HrisJobLocationTest.php b/src/gen/test/Model/HrisJobLocationTest.php index b507a85e21..d5f2edc500 100644 --- a/src/gen/test/Model/HrisJobLocationTest.php +++ b/src/gen/test/Model/HrisJobLocationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/HrisJobTest.php b/src/gen/test/Model/HrisJobTest.php index eaf93d2038..b8313a50b8 100644 --- a/src/gen/test/Model/HrisJobTest.php +++ b/src/gen/test/Model/HrisJobTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/HrisJobsTest.php b/src/gen/test/Model/HrisJobsTest.php index 1f8ab857bb..eb862221da 100644 --- a/src/gen/test/Model/HrisJobsTest.php +++ b/src/gen/test/Model/HrisJobsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/IncomeTest.php b/src/gen/test/Model/IncomeTest.php index 163175dcb5..aadf2066ef 100644 --- a/src/gen/test/Model/IncomeTest.php +++ b/src/gen/test/Model/IncomeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/IntegrationStateTest.php b/src/gen/test/Model/IntegrationStateTest.php index 94216d245c..85dd3889c9 100644 --- a/src/gen/test/Model/IntegrationStateTest.php +++ b/src/gen/test/Model/IntegrationStateTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceItemFilterTest.php b/src/gen/test/Model/InvoiceItemFilterTest.php index a576848006..93cf3b8f15 100644 --- a/src/gen/test/Model/InvoiceItemFilterTest.php +++ b/src/gen/test/Model/InvoiceItemFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceItemSalesDetailsTest.php b/src/gen/test/Model/InvoiceItemSalesDetailsTest.php index 09f61e7ae4..968ea3f4fe 100644 --- a/src/gen/test/Model/InvoiceItemSalesDetailsTest.php +++ b/src/gen/test/Model/InvoiceItemSalesDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceItemTest.php b/src/gen/test/Model/InvoiceItemTest.php index 0cf1c2c526..28958fab7b 100644 --- a/src/gen/test/Model/InvoiceItemTest.php +++ b/src/gen/test/Model/InvoiceItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceItemsFilterTest.php b/src/gen/test/Model/InvoiceItemsFilterTest.php index 4c7950c081..422a93431f 100644 --- a/src/gen/test/Model/InvoiceItemsFilterTest.php +++ b/src/gen/test/Model/InvoiceItemsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceItemsSortTest.php b/src/gen/test/Model/InvoiceItemsSortTest.php index 9723c7e573..e077db41b4 100644 --- a/src/gen/test/Model/InvoiceItemsSortTest.php +++ b/src/gen/test/Model/InvoiceItemsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceLineItemTest.php b/src/gen/test/Model/InvoiceLineItemTest.php index 316d7a7894..9bf6bc19a2 100644 --- a/src/gen/test/Model/InvoiceLineItemTest.php +++ b/src/gen/test/Model/InvoiceLineItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoicePaymentAllocationsTest.php b/src/gen/test/Model/InvoicePaymentAllocationsTest.php new file mode 100644 index 0000000000..f788140b7a --- /dev/null +++ b/src/gen/test/Model/InvoicePaymentAllocationsTest.php @@ -0,0 +1,109 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "allocated_amount" + */ + public function testPropertyAllocatedAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "date" + */ + public function testPropertyDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/InvoiceResponseTest.php b/src/gen/test/Model/InvoiceResponseTest.php index 6ccef86623..e785c7ebf6 100644 --- a/src/gen/test/Model/InvoiceResponseTest.php +++ b/src/gen/test/Model/InvoiceResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceTest.php b/src/gen/test/Model/InvoiceTest.php index 54f90c620d..5609acc54e 100644 --- a/src/gen/test/Model/InvoiceTest.php +++ b/src/gen/test/Model/InvoiceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -368,6 +368,15 @@ public function testPropertySourceDocumentUrl() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "payment_allocations" + */ + public function testPropertyPaymentAllocations() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "payment_method" */ diff --git a/src/gen/test/Model/InvoicesFilterTest.php b/src/gen/test/Model/InvoicesFilterTest.php index 32e11ed9ef..cb36de89b4 100644 --- a/src/gen/test/Model/InvoicesFilterTest.php +++ b/src/gen/test/Model/InvoicesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoicesSortTest.php b/src/gen/test/Model/InvoicesSortTest.php index ca591d5142..471d416f84 100644 --- a/src/gen/test/Model/InvoicesSortTest.php +++ b/src/gen/test/Model/InvoicesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/IssueTrackingEventTypeTest.php b/src/gen/test/Model/IssueTrackingEventTypeTest.php index 7b18cf677b..180e991fd5 100644 --- a/src/gen/test/Model/IssueTrackingEventTypeTest.php +++ b/src/gen/test/Model/IssueTrackingEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/IssuesFilterTest.php b/src/gen/test/Model/IssuesFilterTest.php index 253b8bce6d..f5b7e561b9 100644 --- a/src/gen/test/Model/IssuesFilterTest.php +++ b/src/gen/test/Model/IssuesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ItemTest.php b/src/gen/test/Model/ItemTest.php index c67891bb5a..0e63b87329 100644 --- a/src/gen/test/Model/ItemTest.php +++ b/src/gen/test/Model/ItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JobLinksTest.php b/src/gen/test/Model/JobLinksTest.php index 7faff26f01..3e4804815a 100644 --- a/src/gen/test/Model/JobLinksTest.php +++ b/src/gen/test/Model/JobLinksTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JobSalaryTest.php b/src/gen/test/Model/JobSalaryTest.php index 75762eaf22..4b1fe67aad 100644 --- a/src/gen/test/Model/JobSalaryTest.php +++ b/src/gen/test/Model/JobSalaryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JobStatusTest.php b/src/gen/test/Model/JobStatusTest.php index 796ceaf516..dcd160a93c 100644 --- a/src/gen/test/Model/JobStatusTest.php +++ b/src/gen/test/Model/JobStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JobTest.php b/src/gen/test/Model/JobTest.php index 3f5dced9d6..23d21e8c6c 100644 --- a/src/gen/test/Model/JobTest.php +++ b/src/gen/test/Model/JobTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JournalEntriesFilterTest.php b/src/gen/test/Model/JournalEntriesFilterTest.php index 4d21666c79..823b702821 100644 --- a/src/gen/test/Model/JournalEntriesFilterTest.php +++ b/src/gen/test/Model/JournalEntriesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JournalEntriesSortTest.php b/src/gen/test/Model/JournalEntriesSortTest.php index 417d4ff6c8..e214eb154a 100644 --- a/src/gen/test/Model/JournalEntriesSortTest.php +++ b/src/gen/test/Model/JournalEntriesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JournalEntryLineItemTest.php b/src/gen/test/Model/JournalEntryLineItemTest.php index 68c5ef1d81..488ba3f2a5 100644 --- a/src/gen/test/Model/JournalEntryLineItemTest.php +++ b/src/gen/test/Model/JournalEntryLineItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/JournalEntryTest.php b/src/gen/test/Model/JournalEntryTest.php index 294152d460..17b9fd22c1 100644 --- a/src/gen/test/Model/JournalEntryTest.php +++ b/src/gen/test/Model/JournalEntryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -134,6 +134,15 @@ public function testPropertyLineItems() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "memo" */ diff --git a/src/gen/test/Model/LeadEventTypeTest.php b/src/gen/test/Model/LeadEventTypeTest.php index 15a55dec1c..dd31849fed 100644 --- a/src/gen/test/Model/LeadEventTypeTest.php +++ b/src/gen/test/Model/LeadEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LeadTest.php b/src/gen/test/Model/LeadTest.php index b0ad9a8b2e..5578121838 100644 --- a/src/gen/test/Model/LeadTest.php +++ b/src/gen/test/Model/LeadTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -90,18 +90,18 @@ public function testPropertyName() } /** - * Test attribute "company_name" + * Test attribute "id" */ - public function testPropertyCompanyName() + public function testPropertyId() { // TODO: implement $this->markTestIncomplete('Not implemented'); } /** - * Test attribute "id" + * Test attribute "company_name" */ - public function testPropertyId() + public function testPropertyCompanyName() { // TODO: implement $this->markTestIncomplete('Not implemented'); diff --git a/src/gen/test/Model/LeadsFilterTest.php b/src/gen/test/Model/LeadsFilterTest.php index bda6c6632f..7a27e430a8 100644 --- a/src/gen/test/Model/LeadsFilterTest.php +++ b/src/gen/test/Model/LeadsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LeadsSortTest.php b/src/gen/test/Model/LeadsSortTest.php index fd78b7396a..c00840d38e 100644 --- a/src/gen/test/Model/LeadsSortTest.php +++ b/src/gen/test/Model/LeadsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LedgerAccountCategoriesTest.php b/src/gen/test/Model/LedgerAccountCategoriesTest.php index 26838b329e..c277a4dfa6 100644 --- a/src/gen/test/Model/LedgerAccountCategoriesTest.php +++ b/src/gen/test/Model/LedgerAccountCategoriesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LedgerAccountParentAccountTest.php b/src/gen/test/Model/LedgerAccountParentAccountTest.php index 632b3f4910..91959c4118 100644 --- a/src/gen/test/Model/LedgerAccountParentAccountTest.php +++ b/src/gen/test/Model/LedgerAccountParentAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LedgerAccountTest.php b/src/gen/test/Model/LedgerAccountTest.php index e2fbf3479f..c05ca30ee2 100644 --- a/src/gen/test/Model/LedgerAccountTest.php +++ b/src/gen/test/Model/LedgerAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LedgerAccountsFilterTest.php b/src/gen/test/Model/LedgerAccountsFilterTest.php index a3db79ffc4..d803c595c3 100644 --- a/src/gen/test/Model/LedgerAccountsFilterTest.php +++ b/src/gen/test/Model/LedgerAccountsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LedgerAccountsSortTest.php b/src/gen/test/Model/LedgerAccountsSortTest.php index be71c2752f..f1f86c8da3 100644 --- a/src/gen/test/Model/LedgerAccountsSortTest.php +++ b/src/gen/test/Model/LedgerAccountsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedConnectorResourceTest.php b/src/gen/test/Model/LinkedConnectorResourceTest.php index 9e24d8777e..e1b423e172 100644 --- a/src/gen/test/Model/LinkedConnectorResourceTest.php +++ b/src/gen/test/Model/LinkedConnectorResourceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedCustomerTest.php b/src/gen/test/Model/LinkedCustomerTest.php index a9e84da699..0d6eb56cfe 100644 --- a/src/gen/test/Model/LinkedCustomerTest.php +++ b/src/gen/test/Model/LinkedCustomerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedEcommerceCustomerTest.php b/src/gen/test/Model/LinkedEcommerceCustomerTest.php index 5b05ef505a..75c76f9b85 100644 --- a/src/gen/test/Model/LinkedEcommerceCustomerTest.php +++ b/src/gen/test/Model/LinkedEcommerceCustomerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedEcommerceOrderTest.php b/src/gen/test/Model/LinkedEcommerceOrderTest.php index fd6a02ca4c..0e419625ce 100644 --- a/src/gen/test/Model/LinkedEcommerceOrderTest.php +++ b/src/gen/test/Model/LinkedEcommerceOrderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedFolderTest.php b/src/gen/test/Model/LinkedFolderTest.php index 80f296a08e..cd138677fb 100644 --- a/src/gen/test/Model/LinkedFolderTest.php +++ b/src/gen/test/Model/LinkedFolderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedInvoiceItemTest.php b/src/gen/test/Model/LinkedInvoiceItemTest.php index 2a4fd78e44..ebf5616bab 100644 --- a/src/gen/test/Model/LinkedInvoiceItemTest.php +++ b/src/gen/test/Model/LinkedInvoiceItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedLedgerAccountTest.php b/src/gen/test/Model/LinkedLedgerAccountTest.php index 89f119a806..f77fcf00f0 100644 --- a/src/gen/test/Model/LinkedLedgerAccountTest.php +++ b/src/gen/test/Model/LinkedLedgerAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedParentCustomerTest.php b/src/gen/test/Model/LinkedParentCustomerTest.php index 4b86963158..a8b668aa10 100644 --- a/src/gen/test/Model/LinkedParentCustomerTest.php +++ b/src/gen/test/Model/LinkedParentCustomerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedSupplierTest.php b/src/gen/test/Model/LinkedSupplierTest.php index e872e098d6..5f405f7f09 100644 --- a/src/gen/test/Model/LinkedSupplierTest.php +++ b/src/gen/test/Model/LinkedSupplierTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedTaxRateTest.php b/src/gen/test/Model/LinkedTaxRateTest.php index ea4bbe8532..5638f09b48 100644 --- a/src/gen/test/Model/LinkedTaxRateTest.php +++ b/src/gen/test/Model/LinkedTaxRateTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinkedTrackingCategoryTest.php b/src/gen/test/Model/LinkedTrackingCategoryTest.php index 4920187104..05c931ab9d 100644 --- a/src/gen/test/Model/LinkedTrackingCategoryTest.php +++ b/src/gen/test/Model/LinkedTrackingCategoryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LinksTest.php b/src/gen/test/Model/LinksTest.php index 3cfac964da..f9e2edf1e8 100644 --- a/src/gen/test/Model/LinksTest.php +++ b/src/gen/test/Model/LinksTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LocationTest.php b/src/gen/test/Model/LocationTest.php index dfdf8c6860..94759ed81a 100644 --- a/src/gen/test/Model/LocationTest.php +++ b/src/gen/test/Model/LocationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LogOperationTest.php b/src/gen/test/Model/LogOperationTest.php index 58a2978005..b6be1934cd 100644 --- a/src/gen/test/Model/LogOperationTest.php +++ b/src/gen/test/Model/LogOperationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LogServiceTest.php b/src/gen/test/Model/LogServiceTest.php index 493bf8d07a..7a89de83be 100644 --- a/src/gen/test/Model/LogServiceTest.php +++ b/src/gen/test/Model/LogServiceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LogTest.php b/src/gen/test/Model/LogTest.php index 01ac497a54..12f24866a0 100644 --- a/src/gen/test/Model/LogTest.php +++ b/src/gen/test/Model/LogTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/LogsFilterTest.php b/src/gen/test/Model/LogsFilterTest.php index 0bcc765f49..e58969d918 100644 --- a/src/gen/test/Model/LogsFilterTest.php +++ b/src/gen/test/Model/LogsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/MerchantTest.php b/src/gen/test/Model/MerchantTest.php index dec2c2bf28..ccf188fb5d 100644 --- a/src/gen/test/Model/MerchantTest.php +++ b/src/gen/test/Model/MerchantTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/MessageTest.php b/src/gen/test/Model/MessageTest.php index c5c8038709..56f10cec5b 100644 --- a/src/gen/test/Model/MessageTest.php +++ b/src/gen/test/Model/MessageTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/MetaCursorsTest.php b/src/gen/test/Model/MetaCursorsTest.php index 29535243cf..f454c54de6 100644 --- a/src/gen/test/Model/MetaCursorsTest.php +++ b/src/gen/test/Model/MetaCursorsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/MetaTest.php b/src/gen/test/Model/MetaTest.php index 6df36aac03..a4d633cfbe 100644 --- a/src/gen/test/Model/MetaTest.php +++ b/src/gen/test/Model/MetaTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ModifierGroupFilterTest.php b/src/gen/test/Model/ModifierGroupFilterTest.php index f2c5794ef4..51d035f42f 100644 --- a/src/gen/test/Model/ModifierGroupFilterTest.php +++ b/src/gen/test/Model/ModifierGroupFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ModifierGroupTest.php b/src/gen/test/Model/ModifierGroupTest.php index 3f5bf70d42..b9fe129b20 100644 --- a/src/gen/test/Model/ModifierGroupTest.php +++ b/src/gen/test/Model/ModifierGroupTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ModifierTest.php b/src/gen/test/Model/ModifierTest.php index 9a059b5bcb..406a2c01c2 100644 --- a/src/gen/test/Model/ModifierTest.php +++ b/src/gen/test/Model/ModifierTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/NotFoundResponseTest.php b/src/gen/test/Model/NotFoundResponseTest.php index 2e1671097d..a5b3d97b22 100644 --- a/src/gen/test/Model/NotFoundResponseTest.php +++ b/src/gen/test/Model/NotFoundResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/NotImplementedResponseTest.php b/src/gen/test/Model/NotImplementedResponseTest.php index f07546dab5..6318834387 100644 --- a/src/gen/test/Model/NotImplementedResponseTest.php +++ b/src/gen/test/Model/NotImplementedResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/NoteTest.php b/src/gen/test/Model/NoteTest.php index 64f858d9dd..8ba133f126 100644 --- a/src/gen/test/Model/NoteTest.php +++ b/src/gen/test/Model/NoteTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -143,6 +143,15 @@ public function testPropertyOpportunityId() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "activity_id" + */ + public function testPropertyActivityId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "lead_id" */ diff --git a/src/gen/test/Model/OAuthGrantTypeTest.php b/src/gen/test/Model/OAuthGrantTypeTest.php index cd0f02a6c6..7a86ba623f 100644 --- a/src/gen/test/Model/OAuthGrantTypeTest.php +++ b/src/gen/test/Model/OAuthGrantTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OfferTest.php b/src/gen/test/Model/OfferTest.php index d1b30e5f28..4002e2c17f 100644 --- a/src/gen/test/Model/OfferTest.php +++ b/src/gen/test/Model/OfferTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OpportunitiesFilterTest.php b/src/gen/test/Model/OpportunitiesFilterTest.php index dbec34a0f7..10581530f3 100644 --- a/src/gen/test/Model/OpportunitiesFilterTest.php +++ b/src/gen/test/Model/OpportunitiesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OpportunitiesSortTest.php b/src/gen/test/Model/OpportunitiesSortTest.php index 292a7393ac..6dfbf737db 100644 --- a/src/gen/test/Model/OpportunitiesSortTest.php +++ b/src/gen/test/Model/OpportunitiesSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OpportunityTest.php b/src/gen/test/Model/OpportunityTest.php index 275c779d23..5df96e83e8 100644 --- a/src/gen/test/Model/OpportunityTest.php +++ b/src/gen/test/Model/OpportunityTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderCustomersTest.php b/src/gen/test/Model/OrderCustomersTest.php index a09cdd4d0e..47f095c2cd 100644 --- a/src/gen/test/Model/OrderCustomersTest.php +++ b/src/gen/test/Model/OrderCustomersTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderDiscountsTest.php b/src/gen/test/Model/OrderDiscountsTest.php index 37088f31f4..857f96dd9b 100644 --- a/src/gen/test/Model/OrderDiscountsTest.php +++ b/src/gen/test/Model/OrderDiscountsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderFulfillmentsTest.php b/src/gen/test/Model/OrderFulfillmentsTest.php index 3877f141d2..16f371fc4c 100644 --- a/src/gen/test/Model/OrderFulfillmentsTest.php +++ b/src/gen/test/Model/OrderFulfillmentsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderLineItemsTest.php b/src/gen/test/Model/OrderLineItemsTest.php index 8a65b3cc62..747fcd6ca4 100644 --- a/src/gen/test/Model/OrderLineItemsTest.php +++ b/src/gen/test/Model/OrderLineItemsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderPaymentsTest.php b/src/gen/test/Model/OrderPaymentsTest.php index cb035503de..5409549bf6 100644 --- a/src/gen/test/Model/OrderPaymentsTest.php +++ b/src/gen/test/Model/OrderPaymentsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php b/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php index fcdf5e8938..81b81035e1 100644 --- a/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php +++ b/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderPickupDetailsRecipientTest.php b/src/gen/test/Model/OrderPickupDetailsRecipientTest.php index a4d0b2a12c..6af6494e7f 100644 --- a/src/gen/test/Model/OrderPickupDetailsRecipientTest.php +++ b/src/gen/test/Model/OrderPickupDetailsRecipientTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderPickupDetailsTest.php b/src/gen/test/Model/OrderPickupDetailsTest.php index c6a971f576..e29b5a7118 100644 --- a/src/gen/test/Model/OrderPickupDetailsTest.php +++ b/src/gen/test/Model/OrderPickupDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderRefundsTest.php b/src/gen/test/Model/OrderRefundsTest.php index ce5e44db61..8a6097c9b9 100644 --- a/src/gen/test/Model/OrderRefundsTest.php +++ b/src/gen/test/Model/OrderRefundsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderTendersTest.php b/src/gen/test/Model/OrderTendersTest.php index cff59214eb..e36bc9a89a 100644 --- a/src/gen/test/Model/OrderTendersTest.php +++ b/src/gen/test/Model/OrderTendersTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderTest.php b/src/gen/test/Model/OrderTest.php index b493c21f58..12e851abe0 100644 --- a/src/gen/test/Model/OrderTest.php +++ b/src/gen/test/Model/OrderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrderTypeTest.php b/src/gen/test/Model/OrderTypeTest.php index 377ecbbd32..a1cc3127e0 100644 --- a/src/gen/test/Model/OrderTypeTest.php +++ b/src/gen/test/Model/OrderTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrdersSortTest.php b/src/gen/test/Model/OrdersSortTest.php index e39655b7a0..3f9292e560 100644 --- a/src/gen/test/Model/OrdersSortTest.php +++ b/src/gen/test/Model/OrdersSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OtherExpensesTest.php b/src/gen/test/Model/OtherExpensesTest.php index 495f5dbcb5..9fc3cb784f 100644 --- a/src/gen/test/Model/OtherExpensesTest.php +++ b/src/gen/test/Model/OtherExpensesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -80,15 +80,6 @@ public function testOtherExpenses() $this->markTestIncomplete('Not implemented'); } - /** - * Test attribute "total" - */ - public function testPropertyTotal() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } - /** * Test attribute "records" */ @@ -133,4 +124,13 @@ public function testPropertyType() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "total" + */ + public function testPropertyTotal() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/OtherIncomeTest.php b/src/gen/test/Model/OtherIncomeTest.php index e8432e7ec4..90894b1f3a 100644 --- a/src/gen/test/Model/OtherIncomeTest.php +++ b/src/gen/test/Model/OtherIncomeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -80,15 +80,6 @@ public function testOtherIncome() $this->markTestIncomplete('Not implemented'); } - /** - * Test attribute "total" - */ - public function testPropertyTotal() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } - /** * Test attribute "records" */ @@ -133,4 +124,13 @@ public function testPropertyType() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "total" + */ + public function testPropertyTotal() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php b/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php index 7101d2853f..25070136c6 100644 --- a/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php +++ b/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OutstandingBalanceByCustomerTest.php b/src/gen/test/Model/OutstandingBalanceByCustomerTest.php index 7be0842e07..894e91f4dc 100644 --- a/src/gen/test/Model/OutstandingBalanceByCustomerTest.php +++ b/src/gen/test/Model/OutstandingBalanceByCustomerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OutstandingBalanceBySupplierTest.php b/src/gen/test/Model/OutstandingBalanceBySupplierTest.php index b265d71a03..f10c62c43e 100644 --- a/src/gen/test/Model/OutstandingBalanceBySupplierTest.php +++ b/src/gen/test/Model/OutstandingBalanceBySupplierTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OwnerTest.php b/src/gen/test/Model/OwnerTest.php index 61ceff14ee..964a867281 100644 --- a/src/gen/test/Model/OwnerTest.php +++ b/src/gen/test/Model/OwnerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaginationCoverageTest.php b/src/gen/test/Model/PaginationCoverageTest.php index ab433fc7eb..a77a4ea40b 100644 --- a/src/gen/test/Model/PaginationCoverageTest.php +++ b/src/gen/test/Model/PaginationCoverageTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PassThroughQueryTest.php b/src/gen/test/Model/PassThroughQueryTest.php index c200d3db28..90ad71eefd 100644 --- a/src/gen/test/Model/PassThroughQueryTest.php +++ b/src/gen/test/Model/PassThroughQueryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentCardTest.php b/src/gen/test/Model/PaymentCardTest.php index 4b44622898..88ac4bbca3 100644 --- a/src/gen/test/Model/PaymentCardTest.php +++ b/src/gen/test/Model/PaymentCardTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentFrequencyTest.php b/src/gen/test/Model/PaymentFrequencyTest.php index b474dac4ad..ae14a52d8e 100644 --- a/src/gen/test/Model/PaymentFrequencyTest.php +++ b/src/gen/test/Model/PaymentFrequencyTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentRequiredResponseTest.php b/src/gen/test/Model/PaymentRequiredResponseTest.php index 3fc8ae14cd..8cf88dca16 100644 --- a/src/gen/test/Model/PaymentRequiredResponseTest.php +++ b/src/gen/test/Model/PaymentRequiredResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentStatusTest.php b/src/gen/test/Model/PaymentStatusTest.php index f09b1416da..e220d637a8 100644 --- a/src/gen/test/Model/PaymentStatusTest.php +++ b/src/gen/test/Model/PaymentStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentTest.php b/src/gen/test/Model/PaymentTest.php index bca44ae590..fa9f8c3ece 100644 --- a/src/gen/test/Model/PaymentTest.php +++ b/src/gen/test/Model/PaymentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentTypeTest.php b/src/gen/test/Model/PaymentTypeTest.php index 8c486e3d20..09039b8d5a 100644 --- a/src/gen/test/Model/PaymentTypeTest.php +++ b/src/gen/test/Model/PaymentTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentUnitTest.php b/src/gen/test/Model/PaymentUnitTest.php index dc8f732568..d8b1c7aca6 100644 --- a/src/gen/test/Model/PaymentUnitTest.php +++ b/src/gen/test/Model/PaymentUnitTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentsFilterTest.php b/src/gen/test/Model/PaymentsFilterTest.php index ca9e09ca22..799ea3c23d 100644 --- a/src/gen/test/Model/PaymentsFilterTest.php +++ b/src/gen/test/Model/PaymentsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -88,4 +88,13 @@ public function testPropertyUpdatedSince() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "invoice_id" + */ + public function testPropertyInvoiceId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/PaymentsSortTest.php b/src/gen/test/Model/PaymentsSortTest.php index bc46a7a99a..13b609b30b 100644 --- a/src/gen/test/Model/PaymentsSortTest.php +++ b/src/gen/test/Model/PaymentsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PayrollTest.php b/src/gen/test/Model/PayrollTest.php index cfd6fe990f..cf969d4c45 100644 --- a/src/gen/test/Model/PayrollTest.php +++ b/src/gen/test/Model/PayrollTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PayrollTotalsTest.php b/src/gen/test/Model/PayrollTotalsTest.php index 26714f085d..1359011b16 100644 --- a/src/gen/test/Model/PayrollTotalsTest.php +++ b/src/gen/test/Model/PayrollTotalsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PayrollsFilterTest.php b/src/gen/test/Model/PayrollsFilterTest.php index 98806082f2..d2418dbdfd 100644 --- a/src/gen/test/Model/PayrollsFilterTest.php +++ b/src/gen/test/Model/PayrollsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PersonTest.php b/src/gen/test/Model/PersonTest.php index d7830dd48e..5d3b509f7a 100644 --- a/src/gen/test/Model/PersonTest.php +++ b/src/gen/test/Model/PersonTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PhoneNumberTest.php b/src/gen/test/Model/PhoneNumberTest.php index abf10be740..ca12262917 100644 --- a/src/gen/test/Model/PhoneNumberTest.php +++ b/src/gen/test/Model/PhoneNumberTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PipelineStagesTest.php b/src/gen/test/Model/PipelineStagesTest.php index 37e3d88b93..1b190e3f36 100644 --- a/src/gen/test/Model/PipelineStagesTest.php +++ b/src/gen/test/Model/PipelineStagesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PipelineTest.php b/src/gen/test/Model/PipelineTest.php index 60ae089bcb..a95ed0b4d3 100644 --- a/src/gen/test/Model/PipelineTest.php +++ b/src/gen/test/Model/PipelineTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PosBankAccountAchDetailsTest.php b/src/gen/test/Model/PosBankAccountAchDetailsTest.php index 6c127be00e..72011f3efd 100644 --- a/src/gen/test/Model/PosBankAccountAchDetailsTest.php +++ b/src/gen/test/Model/PosBankAccountAchDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PosBankAccountTest.php b/src/gen/test/Model/PosBankAccountTest.php index 3335a7f141..32f5871eaf 100644 --- a/src/gen/test/Model/PosBankAccountTest.php +++ b/src/gen/test/Model/PosBankAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PosPaymentCardDetailsTest.php b/src/gen/test/Model/PosPaymentCardDetailsTest.php index d0ad04f330..acd6518faa 100644 --- a/src/gen/test/Model/PosPaymentCardDetailsTest.php +++ b/src/gen/test/Model/PosPaymentCardDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PosPaymentExternalDetailsTest.php b/src/gen/test/Model/PosPaymentExternalDetailsTest.php index 0aa835e637..c78ff3bd03 100644 --- a/src/gen/test/Model/PosPaymentExternalDetailsTest.php +++ b/src/gen/test/Model/PosPaymentExternalDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PosPaymentTest.php b/src/gen/test/Model/PosPaymentTest.php index 4bd3a9589a..1a09a8db4a 100644 --- a/src/gen/test/Model/PosPaymentTest.php +++ b/src/gen/test/Model/PosPaymentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PriceTest.php b/src/gen/test/Model/PriceTest.php index ebdc4decb0..26d2705134 100644 --- a/src/gen/test/Model/PriceTest.php +++ b/src/gen/test/Model/PriceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProbationPeriodTest.php b/src/gen/test/Model/ProbationPeriodTest.php index f845430a85..3d55eee304 100644 --- a/src/gen/test/Model/ProbationPeriodTest.php +++ b/src/gen/test/Model/ProbationPeriodTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossFilterTest.php b/src/gen/test/Model/ProfitAndLossFilterTest.php index 714a4b22f4..1a596c2bc7 100644 --- a/src/gen/test/Model/ProfitAndLossFilterTest.php +++ b/src/gen/test/Model/ProfitAndLossFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossIndicatorTest.php b/src/gen/test/Model/ProfitAndLossIndicatorTest.php index 49e8d39200..d83651ef6f 100644 --- a/src/gen/test/Model/ProfitAndLossIndicatorTest.php +++ b/src/gen/test/Model/ProfitAndLossIndicatorTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossRecordTest.php b/src/gen/test/Model/ProfitAndLossRecordTest.php index 037547191e..9d08440010 100644 --- a/src/gen/test/Model/ProfitAndLossRecordTest.php +++ b/src/gen/test/Model/ProfitAndLossRecordTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossSectionTest.php b/src/gen/test/Model/ProfitAndLossSectionTest.php index 75d92d34ce..5e05815f11 100644 --- a/src/gen/test/Model/ProfitAndLossSectionTest.php +++ b/src/gen/test/Model/ProfitAndLossSectionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossTest.php b/src/gen/test/Model/ProfitAndLossTest.php index 0c33b49851..a6b0405548 100644 --- a/src/gen/test/Model/ProfitAndLossTest.php +++ b/src/gen/test/Model/ProfitAndLossTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossTypeTest.php b/src/gen/test/Model/ProfitAndLossTypeTest.php index 3f55702fb6..b2bec19088 100644 --- a/src/gen/test/Model/ProfitAndLossTypeTest.php +++ b/src/gen/test/Model/ProfitAndLossTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PurchaseOrderTest.php b/src/gen/test/Model/PurchaseOrderTest.php index e19b97c131..66152746c3 100644 --- a/src/gen/test/Model/PurchaseOrderTest.php +++ b/src/gen/test/Model/PurchaseOrderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -125,6 +125,15 @@ public function testPropertySupplier() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "subsidiary_id" + */ + public function testPropertySubsidiaryId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "company_id" */ diff --git a/src/gen/test/Model/PurchaseOrdersFilterTest.php b/src/gen/test/Model/PurchaseOrdersFilterTest.php index 73a2a512a8..55aeb1375b 100644 --- a/src/gen/test/Model/PurchaseOrdersFilterTest.php +++ b/src/gen/test/Model/PurchaseOrdersFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PurchaseOrdersSortTest.php b/src/gen/test/Model/PurchaseOrdersSortTest.php index 9e8c9acdea..ccc433de07 100644 --- a/src/gen/test/Model/PurchaseOrdersSortTest.php +++ b/src/gen/test/Model/PurchaseOrdersSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/RequestCountAllocationTest.php b/src/gen/test/Model/RequestCountAllocationTest.php index ac48294048..eae87a41d7 100644 --- a/src/gen/test/Model/RequestCountAllocationTest.php +++ b/src/gen/test/Model/RequestCountAllocationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/RequestRateTest.php b/src/gen/test/Model/RequestRateTest.php index 0fe09820af..ae444b7817 100644 --- a/src/gen/test/Model/RequestRateTest.php +++ b/src/gen/test/Model/RequestRateTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ResolveWebhookResponseTest.php b/src/gen/test/Model/ResolveWebhookResponseTest.php index 2ae82217a9..c968ee4ece 100644 --- a/src/gen/test/Model/ResolveWebhookResponseTest.php +++ b/src/gen/test/Model/ResolveWebhookResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ResourceExampleTest.php b/src/gen/test/Model/ResourceExampleTest.php index 06f1fb3e04..d2ace7161b 100644 --- a/src/gen/test/Model/ResourceExampleTest.php +++ b/src/gen/test/Model/ResourceExampleTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ResourceStatusTest.php b/src/gen/test/Model/ResourceStatusTest.php index 31ab90657b..6589f864a9 100644 --- a/src/gen/test/Model/ResourceStatusTest.php +++ b/src/gen/test/Model/ResourceStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ScheduleTest.php b/src/gen/test/Model/ScheduleTest.php index 1f6229f457..7c8d3ea4ed 100644 --- a/src/gen/test/Model/ScheduleTest.php +++ b/src/gen/test/Model/ScheduleTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php b/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php index e0e4405d89..8e4bde4295 100644 --- a/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php +++ b/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ScheduleWorkPatternTest.php b/src/gen/test/Model/ScheduleWorkPatternTest.php index 6f673cca30..d402b46ffd 100644 --- a/src/gen/test/Model/ScheduleWorkPatternTest.php +++ b/src/gen/test/Model/ScheduleWorkPatternTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SchemaSupportTest.php b/src/gen/test/Model/SchemaSupportTest.php index 1bcc78a1d6..130053850f 100644 --- a/src/gen/test/Model/SchemaSupportTest.php +++ b/src/gen/test/Model/SchemaSupportTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ServiceChargeTest.php b/src/gen/test/Model/ServiceChargeTest.php index db22664919..f007f8e4ea 100644 --- a/src/gen/test/Model/ServiceChargeTest.php +++ b/src/gen/test/Model/ServiceChargeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SessionSettingsTest.php b/src/gen/test/Model/SessionSettingsTest.php index b8c22616a2..702cdfc5e1 100644 --- a/src/gen/test/Model/SessionSettingsTest.php +++ b/src/gen/test/Model/SessionSettingsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SessionTest.php b/src/gen/test/Model/SessionTest.php index e336fe5418..7c77ef8e07 100644 --- a/src/gen/test/Model/SessionTest.php +++ b/src/gen/test/Model/SessionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SessionThemeTest.php b/src/gen/test/Model/SessionThemeTest.php index c2bd589066..25fc6f0a23 100644 --- a/src/gen/test/Model/SessionThemeTest.php +++ b/src/gen/test/Model/SessionThemeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SharedLinkTargetTest.php b/src/gen/test/Model/SharedLinkTargetTest.php index 5a07f7ffae..492819d188 100644 --- a/src/gen/test/Model/SharedLinkTargetTest.php +++ b/src/gen/test/Model/SharedLinkTargetTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SharedLinkTest.php b/src/gen/test/Model/SharedLinkTest.php index 4db604a90a..fc3874ec9c 100644 --- a/src/gen/test/Model/SharedLinkTest.php +++ b/src/gen/test/Model/SharedLinkTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SimpleFormFieldOptionTest.php b/src/gen/test/Model/SimpleFormFieldOptionTest.php index dd822c5c4d..63e0ef0fc5 100644 --- a/src/gen/test/Model/SimpleFormFieldOptionTest.php +++ b/src/gen/test/Model/SimpleFormFieldOptionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SocialLinkTest.php b/src/gen/test/Model/SocialLinkTest.php index 500b9616e4..f0e8e63458 100644 --- a/src/gen/test/Model/SocialLinkTest.php +++ b/src/gen/test/Model/SocialLinkTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SortDirectionTest.php b/src/gen/test/Model/SortDirectionTest.php index ba3b903bbd..24cfb55aea 100644 --- a/src/gen/test/Model/SortDirectionTest.php +++ b/src/gen/test/Model/SortDirectionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/StatusTest.php b/src/gen/test/Model/StatusTest.php index 9042db1361..5e633c052a 100644 --- a/src/gen/test/Model/StatusTest.php +++ b/src/gen/test/Model/StatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SubsidiaryReferenceTest.php b/src/gen/test/Model/SubsidiaryReferenceTest.php index 133eaff021..ff652e9876 100644 --- a/src/gen/test/Model/SubsidiaryReferenceTest.php +++ b/src/gen/test/Model/SubsidiaryReferenceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SubsidiaryTest.php b/src/gen/test/Model/SubsidiaryTest.php index c6eb6938d4..988d832aa2 100644 --- a/src/gen/test/Model/SubsidiaryTest.php +++ b/src/gen/test/Model/SubsidiaryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SupplierTest.php b/src/gen/test/Model/SupplierTest.php index 4e4457bfec..47f2c4fde9 100644 --- a/src/gen/test/Model/SupplierTest.php +++ b/src/gen/test/Model/SupplierTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SuppliersFilterTest.php b/src/gen/test/Model/SuppliersFilterTest.php index 60b9ecf0e2..3c39ddc4a9 100644 --- a/src/gen/test/Model/SuppliersFilterTest.php +++ b/src/gen/test/Model/SuppliersFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SuppliersSortTest.php b/src/gen/test/Model/SuppliersSortTest.php index 6668050b8d..da4d468114 100644 --- a/src/gen/test/Model/SuppliersSortTest.php +++ b/src/gen/test/Model/SuppliersSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SupportedPropertyTest.php b/src/gen/test/Model/SupportedPropertyTest.php index f24a013269..4cb786dec9 100644 --- a/src/gen/test/Model/SupportedPropertyTest.php +++ b/src/gen/test/Model/SupportedPropertyTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TaxRateTest.php b/src/gen/test/Model/TaxRateTest.php index 0bbbf8f684..dcb4a69093 100644 --- a/src/gen/test/Model/TaxRateTest.php +++ b/src/gen/test/Model/TaxRateTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TaxRatesFilterTest.php b/src/gen/test/Model/TaxRatesFilterTest.php index 3491bc7e63..1bc2c79c34 100644 --- a/src/gen/test/Model/TaxRatesFilterTest.php +++ b/src/gen/test/Model/TaxRatesFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TaxTest.php b/src/gen/test/Model/TaxTest.php index f50e899b34..6c3dafbdc5 100644 --- a/src/gen/test/Model/TaxTest.php +++ b/src/gen/test/Model/TaxTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TeamTest.php b/src/gen/test/Model/TeamTest.php index 67406bdd7b..2d4295c548 100644 --- a/src/gen/test/Model/TeamTest.php +++ b/src/gen/test/Model/TeamTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TenderTest.php b/src/gen/test/Model/TenderTest.php index 296db499a0..36baee719b 100644 --- a/src/gen/test/Model/TenderTest.php +++ b/src/gen/test/Model/TenderTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TicketTest.php b/src/gen/test/Model/TicketTest.php index b2b85f0ae9..80fb7ad332 100644 --- a/src/gen/test/Model/TicketTest.php +++ b/src/gen/test/Model/TicketTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TicketsSortTest.php b/src/gen/test/Model/TicketsSortTest.php index cc109fe6ef..7eaad65112 100644 --- a/src/gen/test/Model/TicketsSortTest.php +++ b/src/gen/test/Model/TicketsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TimeOffRequestNotesTest.php b/src/gen/test/Model/TimeOffRequestNotesTest.php index b8796fe6d2..bbe91b77f9 100644 --- a/src/gen/test/Model/TimeOffRequestNotesTest.php +++ b/src/gen/test/Model/TimeOffRequestNotesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TimeOffRequestTest.php b/src/gen/test/Model/TimeOffRequestTest.php index d19fff073b..6398c51b89 100644 --- a/src/gen/test/Model/TimeOffRequestTest.php +++ b/src/gen/test/Model/TimeOffRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TimeOffRequestsFilterTest.php b/src/gen/test/Model/TimeOffRequestsFilterTest.php index d3b9f24bfc..3fe297c3fd 100644 --- a/src/gen/test/Model/TimeOffRequestsFilterTest.php +++ b/src/gen/test/Model/TimeOffRequestsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TooManyRequestsResponseDetailTest.php b/src/gen/test/Model/TooManyRequestsResponseDetailTest.php index 756272daee..620a836683 100644 --- a/src/gen/test/Model/TooManyRequestsResponseDetailTest.php +++ b/src/gen/test/Model/TooManyRequestsResponseDetailTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TooManyRequestsResponseTest.php b/src/gen/test/Model/TooManyRequestsResponseTest.php index 7af0073dad..56c25cc3a1 100644 --- a/src/gen/test/Model/TooManyRequestsResponseTest.php +++ b/src/gen/test/Model/TooManyRequestsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TrackingCategoryTest.php b/src/gen/test/Model/TrackingCategoryTest.php index 527859f684..e63c8a7480 100644 --- a/src/gen/test/Model/TrackingCategoryTest.php +++ b/src/gen/test/Model/TrackingCategoryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TrackingItemTest.php b/src/gen/test/Model/TrackingItemTest.php index 03773bf243..90e135bde7 100644 --- a/src/gen/test/Model/TrackingItemTest.php +++ b/src/gen/test/Model/TrackingItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UnauthorizedResponseTest.php b/src/gen/test/Model/UnauthorizedResponseTest.php index c8091a317b..345574d770 100644 --- a/src/gen/test/Model/UnauthorizedResponseTest.php +++ b/src/gen/test/Model/UnauthorizedResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UncategorizedAccountsTest.php b/src/gen/test/Model/UncategorizedAccountsTest.php index 92b89100e0..d1f157542b 100644 --- a/src/gen/test/Model/UncategorizedAccountsTest.php +++ b/src/gen/test/Model/UncategorizedAccountsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UnexpectedErrorResponseTest.php b/src/gen/test/Model/UnexpectedErrorResponseTest.php index 3e015c9746..4c0f0c92a4 100644 --- a/src/gen/test/Model/UnexpectedErrorResponseTest.php +++ b/src/gen/test/Model/UnexpectedErrorResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UnifiedApiIdTest.php b/src/gen/test/Model/UnifiedApiIdTest.php index fc3825f2a9..c8f5ee3ebc 100644 --- a/src/gen/test/Model/UnifiedApiIdTest.php +++ b/src/gen/test/Model/UnifiedApiIdTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UnifiedFilePermissionsTest.php b/src/gen/test/Model/UnifiedFilePermissionsTest.php index 302d0b0ba5..c01ad46d24 100644 --- a/src/gen/test/Model/UnifiedFilePermissionsTest.php +++ b/src/gen/test/Model/UnifiedFilePermissionsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UnifiedFileTest.php b/src/gen/test/Model/UnifiedFileTest.php index 010106cbb1..9096f2c453 100644 --- a/src/gen/test/Model/UnifiedFileTest.php +++ b/src/gen/test/Model/UnifiedFileTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UnifiedIdTest.php b/src/gen/test/Model/UnifiedIdTest.php index f73ed21eee..6fb3b26681 100644 --- a/src/gen/test/Model/UnifiedIdTest.php +++ b/src/gen/test/Model/UnifiedIdTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UnprocessableResponseTest.php b/src/gen/test/Model/UnprocessableResponseTest.php index d0f33d762b..c6f8ed1f8a 100644 --- a/src/gen/test/Model/UnprocessableResponseTest.php +++ b/src/gen/test/Model/UnprocessableResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php b/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php index 1e39fc627f..9a1ca9fc8b 100644 --- a/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateAccountingLocationResponseTest.php b/src/gen/test/Model/UpdateAccountingLocationResponseTest.php index 49c1356db2..66f4532074 100644 --- a/src/gen/test/Model/UpdateAccountingLocationResponseTest.php +++ b/src/gen/test/Model/UpdateAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateActivityResponseTest.php b/src/gen/test/Model/UpdateActivityResponseTest.php index 06c168257e..fe33636a90 100644 --- a/src/gen/test/Model/UpdateActivityResponseTest.php +++ b/src/gen/test/Model/UpdateActivityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateApplicantResponseTest.php b/src/gen/test/Model/UpdateApplicantResponseTest.php index a7d6e229e6..d87e5e7f81 100644 --- a/src/gen/test/Model/UpdateApplicantResponseTest.php +++ b/src/gen/test/Model/UpdateApplicantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateApplicationResponseTest.php b/src/gen/test/Model/UpdateApplicationResponseTest.php index 2278e95997..59dd181969 100644 --- a/src/gen/test/Model/UpdateApplicationResponseTest.php +++ b/src/gen/test/Model/UpdateApplicationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateBankFeedAccountResponseTest.php b/src/gen/test/Model/UpdateBankFeedAccountResponseTest.php new file mode 100644 index 0000000000..2d4ca429c6 --- /dev/null +++ b/src/gen/test/Model/UpdateBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateBankFeedStatementResponseTest.php b/src/gen/test/Model/UpdateBankFeedStatementResponseTest.php new file mode 100644 index 0000000000..aa12672b86 --- /dev/null +++ b/src/gen/test/Model/UpdateBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateBillPaymentResponseTest.php b/src/gen/test/Model/UpdateBillPaymentResponseTest.php index e362a4e5c0..51ce76abfe 100644 --- a/src/gen/test/Model/UpdateBillPaymentResponseTest.php +++ b/src/gen/test/Model/UpdateBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateBillResponseTest.php b/src/gen/test/Model/UpdateBillResponseTest.php index 9edae1207e..4345e70f95 100644 --- a/src/gen/test/Model/UpdateBillResponseTest.php +++ b/src/gen/test/Model/UpdateBillResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateCommentResponseTest.php b/src/gen/test/Model/UpdateCommentResponseTest.php index 14bea3f915..32d204742d 100644 --- a/src/gen/test/Model/UpdateCommentResponseTest.php +++ b/src/gen/test/Model/UpdateCommentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateCompanyResponseTest.php b/src/gen/test/Model/UpdateCompanyResponseTest.php index a84449cbb4..15a1d09ceb 100644 --- a/src/gen/test/Model/UpdateCompanyResponseTest.php +++ b/src/gen/test/Model/UpdateCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateConnectionResponseTest.php b/src/gen/test/Model/UpdateConnectionResponseTest.php index 9bc9d58969..65a4dcab19 100644 --- a/src/gen/test/Model/UpdateConnectionResponseTest.php +++ b/src/gen/test/Model/UpdateConnectionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateConsumerRequestTest.php b/src/gen/test/Model/UpdateConsumerRequestTest.php index 530a489010..1c51569acc 100644 --- a/src/gen/test/Model/UpdateConsumerRequestTest.php +++ b/src/gen/test/Model/UpdateConsumerRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateConsumerResponseTest.php b/src/gen/test/Model/UpdateConsumerResponseTest.php index d912b37226..c3b2cc8c35 100644 --- a/src/gen/test/Model/UpdateConsumerResponseTest.php +++ b/src/gen/test/Model/UpdateConsumerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateContactResponseTest.php b/src/gen/test/Model/UpdateContactResponseTest.php index b0c6258989..e000e96c4f 100644 --- a/src/gen/test/Model/UpdateContactResponseTest.php +++ b/src/gen/test/Model/UpdateContactResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateCreditNoteResponseTest.php b/src/gen/test/Model/UpdateCreditNoteResponseTest.php index caf221f166..e0b6b5be91 100644 --- a/src/gen/test/Model/UpdateCreditNoteResponseTest.php +++ b/src/gen/test/Model/UpdateCreditNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateCustomMappingRequestTest.php b/src/gen/test/Model/UpdateCustomMappingRequestTest.php index 4664ebf60b..9f404c949f 100644 --- a/src/gen/test/Model/UpdateCustomMappingRequestTest.php +++ b/src/gen/test/Model/UpdateCustomMappingRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateCustomMappingResponseTest.php b/src/gen/test/Model/UpdateCustomMappingResponseTest.php index de134e3469..45e22f4c59 100644 --- a/src/gen/test/Model/UpdateCustomMappingResponseTest.php +++ b/src/gen/test/Model/UpdateCustomMappingResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateCustomObjectResponseTest.php b/src/gen/test/Model/UpdateCustomObjectResponseTest.php new file mode 100644 index 0000000000..8dc9d45180 --- /dev/null +++ b/src/gen/test/Model/UpdateCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateCustomObjectSchemaResponseTest.php b/src/gen/test/Model/UpdateCustomObjectSchemaResponseTest.php new file mode 100644 index 0000000000..07c8022a64 --- /dev/null +++ b/src/gen/test/Model/UpdateCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status_code" + */ + public function testPropertyStatusCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "service" + */ + public function testPropertyService() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "resource" + */ + public function testPropertyResource() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "operation" + */ + public function testPropertyOperation() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "data" + */ + public function testPropertyData() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateCustomerResponseTest.php b/src/gen/test/Model/UpdateCustomerResponseTest.php index 056fe67414..44aee8ee45 100644 --- a/src/gen/test/Model/UpdateCustomerResponseTest.php +++ b/src/gen/test/Model/UpdateCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateDepartmentResponseTest.php b/src/gen/test/Model/UpdateDepartmentResponseTest.php index 3b567d012e..b23fa3b8e6 100644 --- a/src/gen/test/Model/UpdateDepartmentResponseTest.php +++ b/src/gen/test/Model/UpdateDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateDriveGroupResponseTest.php b/src/gen/test/Model/UpdateDriveGroupResponseTest.php index ee6c78bcf6..46a57caedd 100644 --- a/src/gen/test/Model/UpdateDriveGroupResponseTest.php +++ b/src/gen/test/Model/UpdateDriveGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateDriveResponseTest.php b/src/gen/test/Model/UpdateDriveResponseTest.php index 0f4b0a8e27..933597dbaf 100644 --- a/src/gen/test/Model/UpdateDriveResponseTest.php +++ b/src/gen/test/Model/UpdateDriveResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php b/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php index c78d6b74f2..79a16365ae 100644 --- a/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php +++ b/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php b/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php index 062e888912..1688997be6 100644 --- a/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php +++ b/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateEmployeeResponseTest.php b/src/gen/test/Model/UpdateEmployeeResponseTest.php index 6d12f19809..3123141f18 100644 --- a/src/gen/test/Model/UpdateEmployeeResponseTest.php +++ b/src/gen/test/Model/UpdateEmployeeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateExpenseResponseTest.php b/src/gen/test/Model/UpdateExpenseResponseTest.php index 3b495cf109..4353afbfca 100644 --- a/src/gen/test/Model/UpdateExpenseResponseTest.php +++ b/src/gen/test/Model/UpdateExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateFileRequestTest.php b/src/gen/test/Model/UpdateFileRequestTest.php index 981ee89dfc..d5698340a5 100644 --- a/src/gen/test/Model/UpdateFileRequestTest.php +++ b/src/gen/test/Model/UpdateFileRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateFileResponseTest.php b/src/gen/test/Model/UpdateFileResponseTest.php index 046879e824..20230a03e8 100644 --- a/src/gen/test/Model/UpdateFileResponseTest.php +++ b/src/gen/test/Model/UpdateFileResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateFolderRequestTest.php b/src/gen/test/Model/UpdateFolderRequestTest.php index e1f1c07552..c322e6849e 100644 --- a/src/gen/test/Model/UpdateFolderRequestTest.php +++ b/src/gen/test/Model/UpdateFolderRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateFolderResponseTest.php b/src/gen/test/Model/UpdateFolderResponseTest.php index 6178def145..970e89f370 100644 --- a/src/gen/test/Model/UpdateFolderResponseTest.php +++ b/src/gen/test/Model/UpdateFolderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateHrisCompanyResponseTest.php b/src/gen/test/Model/UpdateHrisCompanyResponseTest.php index 65f61e8c31..01bdeba7cb 100644 --- a/src/gen/test/Model/UpdateHrisCompanyResponseTest.php +++ b/src/gen/test/Model/UpdateHrisCompanyResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php b/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php index ac49a3d478..938624c93a 100644 --- a/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php +++ b/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateInvoiceResponseTest.php b/src/gen/test/Model/UpdateInvoiceResponseTest.php index 8db912fff4..be52180a82 100644 --- a/src/gen/test/Model/UpdateInvoiceResponseTest.php +++ b/src/gen/test/Model/UpdateInvoiceResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateItemResponseTest.php b/src/gen/test/Model/UpdateItemResponseTest.php index 6216b6825d..a236eb8160 100644 --- a/src/gen/test/Model/UpdateItemResponseTest.php +++ b/src/gen/test/Model/UpdateItemResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateJobResponseTest.php b/src/gen/test/Model/UpdateJobResponseTest.php index d7987b13d7..453cb827d0 100644 --- a/src/gen/test/Model/UpdateJobResponseTest.php +++ b/src/gen/test/Model/UpdateJobResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateJournalEntryResponseTest.php b/src/gen/test/Model/UpdateJournalEntryResponseTest.php index 9bebfad623..d363d4e894 100644 --- a/src/gen/test/Model/UpdateJournalEntryResponseTest.php +++ b/src/gen/test/Model/UpdateJournalEntryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateLeadResponseTest.php b/src/gen/test/Model/UpdateLeadResponseTest.php index 4db6508220..976840d609 100644 --- a/src/gen/test/Model/UpdateLeadResponseTest.php +++ b/src/gen/test/Model/UpdateLeadResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateLedgerAccountResponseTest.php b/src/gen/test/Model/UpdateLedgerAccountResponseTest.php index b0c4007f50..9b0979db05 100644 --- a/src/gen/test/Model/UpdateLedgerAccountResponseTest.php +++ b/src/gen/test/Model/UpdateLedgerAccountResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateLocationResponseTest.php b/src/gen/test/Model/UpdateLocationResponseTest.php index f9088fa19a..e76c2bfc77 100644 --- a/src/gen/test/Model/UpdateLocationResponseTest.php +++ b/src/gen/test/Model/UpdateLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateMerchantResponseTest.php b/src/gen/test/Model/UpdateMerchantResponseTest.php index 15c311baff..4ecfd64052 100644 --- a/src/gen/test/Model/UpdateMerchantResponseTest.php +++ b/src/gen/test/Model/UpdateMerchantResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateMessageResponseTest.php b/src/gen/test/Model/UpdateMessageResponseTest.php index 96215b2218..47a4232446 100644 --- a/src/gen/test/Model/UpdateMessageResponseTest.php +++ b/src/gen/test/Model/UpdateMessageResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateModifierGroupResponseTest.php b/src/gen/test/Model/UpdateModifierGroupResponseTest.php index 23825e064a..bf0a2b5b6d 100644 --- a/src/gen/test/Model/UpdateModifierGroupResponseTest.php +++ b/src/gen/test/Model/UpdateModifierGroupResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateModifierResponseTest.php b/src/gen/test/Model/UpdateModifierResponseTest.php index b65eeca7e3..73e6d506d4 100644 --- a/src/gen/test/Model/UpdateModifierResponseTest.php +++ b/src/gen/test/Model/UpdateModifierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateNoteResponseTest.php b/src/gen/test/Model/UpdateNoteResponseTest.php index bc20c92023..e1d0817159 100644 --- a/src/gen/test/Model/UpdateNoteResponseTest.php +++ b/src/gen/test/Model/UpdateNoteResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateOpportunityResponseTest.php b/src/gen/test/Model/UpdateOpportunityResponseTest.php index 4d6bd24837..e9a9512b91 100644 --- a/src/gen/test/Model/UpdateOpportunityResponseTest.php +++ b/src/gen/test/Model/UpdateOpportunityResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateOrderResponseTest.php b/src/gen/test/Model/UpdateOrderResponseTest.php index ce5c1618bd..628b518c78 100644 --- a/src/gen/test/Model/UpdateOrderResponseTest.php +++ b/src/gen/test/Model/UpdateOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateOrderTypeResponseTest.php b/src/gen/test/Model/UpdateOrderTypeResponseTest.php index 22c64d8b04..51d0478e9d 100644 --- a/src/gen/test/Model/UpdateOrderTypeResponseTest.php +++ b/src/gen/test/Model/UpdateOrderTypeResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdatePaymentResponseTest.php b/src/gen/test/Model/UpdatePaymentResponseTest.php index b88960a40f..383bd159ed 100644 --- a/src/gen/test/Model/UpdatePaymentResponseTest.php +++ b/src/gen/test/Model/UpdatePaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdatePipelineResponseTest.php b/src/gen/test/Model/UpdatePipelineResponseTest.php index 749ce2e606..1f7846de52 100644 --- a/src/gen/test/Model/UpdatePipelineResponseTest.php +++ b/src/gen/test/Model/UpdatePipelineResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdatePosPaymentResponseTest.php b/src/gen/test/Model/UpdatePosPaymentResponseTest.php index cd9a53a506..33a601b1af 100644 --- a/src/gen/test/Model/UpdatePosPaymentResponseTest.php +++ b/src/gen/test/Model/UpdatePosPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateProductResponseTest.php b/src/gen/test/Model/UpdateProductResponseTest.php index 23fc0cdbbb..c83b41a12b 100644 --- a/src/gen/test/Model/UpdateProductResponseTest.php +++ b/src/gen/test/Model/UpdateProductResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php b/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php index 920590f292..91e555da3b 100644 --- a/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php +++ b/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateSharedLinkResponseTest.php b/src/gen/test/Model/UpdateSharedLinkResponseTest.php index 866b015a90..edbbd3ab2b 100644 --- a/src/gen/test/Model/UpdateSharedLinkResponseTest.php +++ b/src/gen/test/Model/UpdateSharedLinkResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateSubsidiaryResponseTest.php b/src/gen/test/Model/UpdateSubsidiaryResponseTest.php index f2cd7b621b..2c65935a2f 100644 --- a/src/gen/test/Model/UpdateSubsidiaryResponseTest.php +++ b/src/gen/test/Model/UpdateSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateSupplierResponseTest.php b/src/gen/test/Model/UpdateSupplierResponseTest.php index 302d94c5f2..b737549e81 100644 --- a/src/gen/test/Model/UpdateSupplierResponseTest.php +++ b/src/gen/test/Model/UpdateSupplierResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateTaxRateResponseTest.php b/src/gen/test/Model/UpdateTaxRateResponseTest.php index 0222af82cf..a3917fb593 100644 --- a/src/gen/test/Model/UpdateTaxRateResponseTest.php +++ b/src/gen/test/Model/UpdateTaxRateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateTenderResponseTest.php b/src/gen/test/Model/UpdateTenderResponseTest.php index 408cd5e136..fc3c8681f8 100644 --- a/src/gen/test/Model/UpdateTenderResponseTest.php +++ b/src/gen/test/Model/UpdateTenderResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateTicketResponseTest.php b/src/gen/test/Model/UpdateTicketResponseTest.php index 2a8da83bd6..3fe545dc16 100644 --- a/src/gen/test/Model/UpdateTicketResponseTest.php +++ b/src/gen/test/Model/UpdateTicketResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php b/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php index afed2e96c7..0f2611d37a 100644 --- a/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php +++ b/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php b/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php index b598b4ea43..64764ab8c1 100644 --- a/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateUploadSessionResponseTest.php b/src/gen/test/Model/UpdateUploadSessionResponseTest.php index c3b2aa773a..df2cd5c4f0 100644 --- a/src/gen/test/Model/UpdateUploadSessionResponseTest.php +++ b/src/gen/test/Model/UpdateUploadSessionResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateUserResponseTest.php b/src/gen/test/Model/UpdateUserResponseTest.php index 064ff2bd45..cf1be0f985 100644 --- a/src/gen/test/Model/UpdateUserResponseTest.php +++ b/src/gen/test/Model/UpdateUserResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateWebhookRequestTest.php b/src/gen/test/Model/UpdateWebhookRequestTest.php index 2bc3ef170a..ac129fffa3 100644 --- a/src/gen/test/Model/UpdateWebhookRequestTest.php +++ b/src/gen/test/Model/UpdateWebhookRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateWebhookResponseTest.php b/src/gen/test/Model/UpdateWebhookResponseTest.php index f75635c984..eebbf8353a 100644 --- a/src/gen/test/Model/UpdateWebhookResponseTest.php +++ b/src/gen/test/Model/UpdateWebhookResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UploadSessionTest.php b/src/gen/test/Model/UploadSessionTest.php index 2c6ac23848..bd320c455e 100644 --- a/src/gen/test/Model/UploadSessionTest.php +++ b/src/gen/test/Model/UploadSessionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UserTest.php b/src/gen/test/Model/UserTest.php index 2ed2187097..caa3c2b2a8 100644 --- a/src/gen/test/Model/UserTest.php +++ b/src/gen/test/Model/UserTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php b/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php index ba08c5343d..06126e5d42 100644 --- a/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php +++ b/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ValidateConnectionStateResponseTest.php b/src/gen/test/Model/ValidateConnectionStateResponseTest.php index 0e91ed89de..bebb0277ef 100644 --- a/src/gen/test/Model/ValidateConnectionStateResponseTest.php +++ b/src/gen/test/Model/ValidateConnectionStateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/VaultEventTypeTest.php b/src/gen/test/Model/VaultEventTypeTest.php index 423494e1a1..bd3411b773 100644 --- a/src/gen/test/Model/VaultEventTypeTest.php +++ b/src/gen/test/Model/VaultEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/VirtualWebhooksResourcesTest.php b/src/gen/test/Model/VirtualWebhooksResourcesTest.php index 08615c79c7..7278de0994 100644 --- a/src/gen/test/Model/VirtualWebhooksResourcesTest.php +++ b/src/gen/test/Model/VirtualWebhooksResourcesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/VirtualWebhooksTest.php b/src/gen/test/Model/VirtualWebhooksTest.php index 3cc82a33ad..c575583707 100644 --- a/src/gen/test/Model/VirtualWebhooksTest.php +++ b/src/gen/test/Model/VirtualWebhooksTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WalletDetailsTest.php b/src/gen/test/Model/WalletDetailsTest.php index 98652eac25..c9db601c36 100644 --- a/src/gen/test/Model/WalletDetailsTest.php +++ b/src/gen/test/Model/WalletDetailsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookEventLogAttemptsTest.php b/src/gen/test/Model/WebhookEventLogAttemptsTest.php index 57cca68383..97fa591974 100644 --- a/src/gen/test/Model/WebhookEventLogAttemptsTest.php +++ b/src/gen/test/Model/WebhookEventLogAttemptsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookEventLogServiceTest.php b/src/gen/test/Model/WebhookEventLogServiceTest.php index 81d5eb4614..11acd281b5 100644 --- a/src/gen/test/Model/WebhookEventLogServiceTest.php +++ b/src/gen/test/Model/WebhookEventLogServiceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookEventLogTest.php b/src/gen/test/Model/WebhookEventLogTest.php index 48fc0016d7..317fa1f817 100644 --- a/src/gen/test/Model/WebhookEventLogTest.php +++ b/src/gen/test/Model/WebhookEventLogTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php b/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php index 463310babd..0878b2748f 100644 --- a/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php +++ b/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookEventLogsFilterTest.php b/src/gen/test/Model/WebhookEventLogsFilterTest.php index 487acb7d9e..1c5cc11151 100644 --- a/src/gen/test/Model/WebhookEventLogsFilterTest.php +++ b/src/gen/test/Model/WebhookEventLogsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookEventTest.php b/src/gen/test/Model/WebhookEventTest.php index f813a50910..a01853d1aa 100644 --- a/src/gen/test/Model/WebhookEventTest.php +++ b/src/gen/test/Model/WebhookEventTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookEventTypeTest.php b/src/gen/test/Model/WebhookEventTypeTest.php index 1826811cae..b6ca4b2602 100644 --- a/src/gen/test/Model/WebhookEventTypeTest.php +++ b/src/gen/test/Model/WebhookEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookSubscriptionTest.php b/src/gen/test/Model/WebhookSubscriptionTest.php index 1a8552ca76..7569d348b9 100644 --- a/src/gen/test/Model/WebhookSubscriptionTest.php +++ b/src/gen/test/Model/WebhookSubscriptionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookSupportTest.php b/src/gen/test/Model/WebhookSupportTest.php index a137f7cff8..30f7af90df 100644 --- a/src/gen/test/Model/WebhookSupportTest.php +++ b/src/gen/test/Model/WebhookSupportTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebhookTest.php b/src/gen/test/Model/WebhookTest.php index 30143d2a02..b7703c5eea 100644 --- a/src/gen/test/Model/WebhookTest.php +++ b/src/gen/test/Model/WebhookTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/WebsiteTest.php b/src/gen/test/Model/WebsiteTest.php index 449d0776ab..0f39ee3cc1 100644 --- a/src/gen/test/Model/WebsiteTest.php +++ b/src/gen/test/Model/WebsiteTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0