From 9cd92e7e15a7d086998d41d70e407eaed2f3a08d Mon Sep 17 00:00:00 2001 From: Nick Lloyd Date: Wed, 18 Sep 2024 19:12:49 +0200 Subject: [PATCH] Automated update by SDK Generator (#170) --- package.json | 2 +- src/Apideck.ts | 3 +- src/gen/.openapi-generator/FILES | 32 + src/gen/apis/AccountingApi.ts | 1557 +++++-- src/gen/apis/AtsApi.ts | 2 +- src/gen/apis/ConnectorApi.ts | 2 +- src/gen/apis/CrmApi.ts | 2 +- src/gen/apis/EcommerceApi.ts | 2 +- src/gen/apis/FileStorageApi.ts | 2 +- src/gen/apis/HrisApi.ts | 7 +- src/gen/apis/IssueTrackingApi.ts | 2 +- src/gen/apis/LeadApi.ts | 2 +- src/gen/apis/PosApi.ts | 2 +- src/gen/apis/SmsApi.ts | 2 +- src/gen/apis/VaultApi.ts | 2 +- src/gen/apis/WebhookApi.ts | 2 +- src/gen/docs/apis/AccountingApi.md | 2425 +++++++---- src/gen/docs/apis/CrmApi.md | 2 + src/gen/docs/apis/HrisApi.md | 5 + src/gen/docs/apis/LeadApi.md | 2 + src/gen/docs/models/AccountingEventType.md | 6 + src/gen/docs/models/ActivitiesFilter.md | 1 + src/gen/docs/models/Allocation.md | 2 + src/gen/docs/models/Attachment.md | 2 + .../docs/models/AttachmentReferenceType.md | 2 + src/gen/docs/models/Bill.md | 2 + src/gen/docs/models/BillPayment.md | 77 + src/gen/docs/models/ConnectionWebhook.md | 6 + .../docs/models/CreateAttachmentRequest.md | 2 + .../docs/models/CreateBillPaymentResponse.md | 31 + src/gen/docs/models/CreateExpenseResponse.md | 31 + .../docs/models/DeleteBillPaymentResponse.md | 31 + src/gen/docs/models/DeleteExpenseResponse.md | 31 + .../docs/models/DeprecatedLinkedSupplier.md | 31 + src/gen/docs/models/Employee.md | 2 +- src/gen/docs/models/Expense.md | 72 + src/gen/docs/models/ExpenseLineItem.md | 39 + src/gen/docs/models/GetBillPaymentResponse.md | 31 + .../docs/models/GetBillPaymentsResponse.md | 35 + src/gen/docs/models/GetExpenseResponse.md | 31 + src/gen/docs/models/GetExpensesResponse.md | 35 + src/gen/docs/models/InvoiceLineItem.md | 2 +- src/gen/docs/models/InvoicesFilter.md | 1 + src/gen/docs/models/JournalEntry.md | 2 + src/gen/docs/models/JournalEntryLineItem.md | 2 + src/gen/docs/models/Lead.md | 2 + src/gen/docs/models/LeadsFilter.md | 1 + src/gen/docs/models/LedgerAccount.md | 2 + src/gen/docs/models/Payment.md | 70 +- src/gen/docs/models/PaymentStatus.md | 19 + src/gen/docs/models/PaymentType.md | 27 + src/gen/docs/models/PurchaseOrdersFilter.md | 1 + src/gen/docs/models/TimeOffRequest.md | 2 + src/gen/docs/models/TimeOffRequestsFilter.md | 1 + src/gen/docs/models/TrackingCategory.md | 2 + .../docs/models/UpdateBillPaymentResponse.md | 31 + src/gen/docs/models/UpdateExpenseResponse.md | 31 + src/gen/docs/models/WebhookEventType.md | 6 + src/gen/models/AccountingDepartment.ts | 2 +- src/gen/models/AccountingDepartmentsFilter.ts | 2 +- src/gen/models/AccountingEventType.ts | 7 +- src/gen/models/AccountingLocation.ts | 2 +- src/gen/models/AccountingLocationsFilter.ts | 2 +- src/gen/models/ActivitiesFilter.ts | 14 +- src/gen/models/ActivitiesSort.ts | 2 +- src/gen/models/Activity.ts | 2 +- src/gen/models/ActivityAttendee.ts | 2 +- src/gen/models/Address.ts | 2 +- src/gen/models/Allocation.ts | 5 +- src/gen/models/Api.ts | 2 +- src/gen/models/ApiResource.ts | 2 +- src/gen/models/ApiResourceCoverage.ts | 2 +- src/gen/models/ApiResourceCoverageCoverage.ts | 2 +- src/gen/models/ApiResourceLinkedResources.ts | 2 +- src/gen/models/ApiResources.ts | 2 +- src/gen/models/ApiStatus.ts | 2 +- src/gen/models/ApisFilter.ts | 2 +- src/gen/models/Applicant.ts | 2 +- src/gen/models/ApplicantSocialLinks.ts | 2 +- src/gen/models/ApplicantWebsites.ts | 2 +- src/gen/models/ApplicantsFilter.ts | 2 +- src/gen/models/Application.ts | 2 +- src/gen/models/ApplicationStage.ts | 2 +- src/gen/models/Assignee.ts | 2 +- src/gen/models/AtsActivity.ts | 2 +- src/gen/models/AtsEventType.ts | 2 +- src/gen/models/Attachment.ts | 10 +- src/gen/models/AttachmentReference.ts | 2 +- src/gen/models/AttachmentReferenceType.ts | 5 +- src/gen/models/AuthType.ts | 2 +- src/gen/models/BadRequestResponse.ts | 2 +- src/gen/models/BalanceSheet.ts | 2 +- src/gen/models/BalanceSheetAccount.ts | 2 +- src/gen/models/BalanceSheetAccountRecord.ts | 2 +- src/gen/models/BalanceSheetAccounts.ts | 2 +- src/gen/models/BalanceSheetFilter.ts | 2 +- src/gen/models/BalanceSheetReports.ts | 2 +- src/gen/models/BankAccount.ts | 2 +- src/gen/models/Benefit.ts | 2 +- src/gen/models/Bill.ts | 14 +- src/gen/models/BillLineItem.ts | 2 +- src/gen/models/BillPayment.ts | 313 ++ src/gen/models/BillsFilter.ts | 2 +- src/gen/models/BillsSort.ts | 2 +- src/gen/models/Branch.ts | 2 +- src/gen/models/CashDetails.ts | 2 +- src/gen/models/Collection.ts | 2 +- src/gen/models/CollectionTag.ts | 2 +- src/gen/models/CollectionTicketComment.ts | 2 +- src/gen/models/CollectionUser.ts | 2 +- src/gen/models/CollectionsSort.ts | 2 +- src/gen/models/CommentsSort.ts | 2 +- src/gen/models/CompaniesFilter.ts | 2 +- src/gen/models/CompaniesSort.ts | 2 +- src/gen/models/Company.ts | 2 +- src/gen/models/CompanyInfo.ts | 2 +- src/gen/models/CompanyRowType.ts | 2 +- src/gen/models/Compensation.ts | 2 +- src/gen/models/Connection.ts | 2 +- src/gen/models/ConnectionConfiguration.ts | 2 +- src/gen/models/ConnectionDefaults.ts | 2 +- src/gen/models/ConnectionImportData.ts | 2 +- .../models/ConnectionImportDataCredentials.ts | 2 +- src/gen/models/ConnectionMetadata.ts | 2 +- src/gen/models/ConnectionState.ts | 2 +- src/gen/models/ConnectionWebhook.ts | 7 +- src/gen/models/Connector.ts | 2 +- src/gen/models/ConnectorDoc.ts | 2 +- src/gen/models/ConnectorEvent.ts | 2 +- src/gen/models/ConnectorOauthScopes.ts | 2 +- src/gen/models/ConnectorOauthScopes1.ts | 2 +- src/gen/models/ConnectorResource.ts | 2 +- src/gen/models/ConnectorSetting.ts | 2 +- src/gen/models/ConnectorStatus.ts | 2 +- src/gen/models/ConnectorTlsSupport.ts | 2 +- src/gen/models/ConnectorUnifiedApis.ts | 2 +- src/gen/models/ConnectorsFilter.ts | 2 +- src/gen/models/Consumer.ts | 2 +- src/gen/models/ConsumerConnection.ts | 2 +- src/gen/models/ConsumerMetadata.ts | 2 +- ...onsumerRequestCountsInDateRangeResponse.ts | 2 +- ...merRequestCountsInDateRangeResponseData.ts | 2 +- src/gen/models/Contact.ts | 2 +- src/gen/models/ContactsFilter.ts | 2 +- src/gen/models/ContactsSort.ts | 2 +- src/gen/models/CopyFolderRequest.ts | 2 +- .../CreateAccountingDepartmentResponse.ts | 2 +- .../CreateAccountingLocationResponse.ts | 2 +- src/gen/models/CreateActivityResponse.ts | 2 +- src/gen/models/CreateApplicantResponse.ts | 2 +- src/gen/models/CreateApplicationResponse.ts | 2 +- src/gen/models/CreateAttachmentRequest.ts | 10 +- src/gen/models/CreateAttachmentResponse.ts | 2 +- src/gen/models/CreateBillPaymentResponse.ts | 97 + src/gen/models/CreateBillResponse.ts | 2 +- src/gen/models/CreateCommentResponse.ts | 2 +- src/gen/models/CreateCompanyResponse.ts | 2 +- src/gen/models/CreateConnectionResponse.ts | 2 +- src/gen/models/CreateConsumerResponse.ts | 2 +- src/gen/models/CreateContactResponse.ts | 2 +- src/gen/models/CreateCreditNoteResponse.ts | 2 +- src/gen/models/CreateCustomMappingResponse.ts | 2 +- src/gen/models/CreateCustomerResponse.ts | 2 +- src/gen/models/CreateDepartmentResponse.ts | 2 +- src/gen/models/CreateDriveGroupResponse.ts | 2 +- src/gen/models/CreateDriveResponse.ts | 2 +- .../models/CreateEcommerceCustomerResponse.ts | 2 +- .../models/CreateEcommerceOrderResponse.ts | 2 +- src/gen/models/CreateEmployeeResponse.ts | 2 +- src/gen/models/CreateExpenseResponse.ts | 97 + src/gen/models/CreateFileRequest.ts | 2 +- src/gen/models/CreateFileResponse.ts | 2 +- src/gen/models/CreateFolderRequest.ts | 2 +- src/gen/models/CreateFolderResponse.ts | 2 +- src/gen/models/CreateHrisCompanyResponse.ts | 2 +- src/gen/models/CreateInvoiceItemResponse.ts | 2 +- src/gen/models/CreateInvoiceResponse.ts | 2 +- src/gen/models/CreateItemResponse.ts | 2 +- src/gen/models/CreateJobResponse.ts | 2 +- src/gen/models/CreateJournalEntryResponse.ts | 2 +- src/gen/models/CreateLeadResponse.ts | 2 +- src/gen/models/CreateLedgerAccountResponse.ts | 2 +- src/gen/models/CreateLocationResponse.ts | 2 +- src/gen/models/CreateMerchantResponse.ts | 2 +- src/gen/models/CreateMessageResponse.ts | 2 +- src/gen/models/CreateModifierGroupResponse.ts | 2 +- src/gen/models/CreateModifierResponse.ts | 2 +- src/gen/models/CreateNoteResponse.ts | 2 +- src/gen/models/CreateOpportunityResponse.ts | 2 +- src/gen/models/CreateOrderResponse.ts | 2 +- src/gen/models/CreateOrderTypeResponse.ts | 2 +- src/gen/models/CreatePaymentResponse.ts | 2 +- src/gen/models/CreatePipelineResponse.ts | 2 +- src/gen/models/CreatePosPaymentResponse.ts | 2 +- src/gen/models/CreateProductResponse.ts | 2 +- src/gen/models/CreatePurchaseOrderResponse.ts | 2 +- src/gen/models/CreateSessionResponse.ts | 2 +- src/gen/models/CreateSharedLinkResponse.ts | 2 +- src/gen/models/CreateSubsidiaryResponse.ts | 2 +- src/gen/models/CreateSupplierResponse.ts | 2 +- src/gen/models/CreateTaxRateResponse.ts | 2 +- src/gen/models/CreateTenderResponse.ts | 2 +- src/gen/models/CreateTicketResponse.ts | 2 +- .../models/CreateTimeOffRequestResponse.ts | 2 +- .../models/CreateTrackingCategoryResponse.ts | 2 +- src/gen/models/CreateUploadSessionRequest.ts | 2 +- src/gen/models/CreateUploadSessionResponse.ts | 2 +- src/gen/models/CreateUserResponse.ts | 2 +- src/gen/models/CreateWebhookRequest.ts | 2 +- src/gen/models/CreateWebhookResponse.ts | 2 +- src/gen/models/CreditNote.ts | 2 +- src/gen/models/CreditNotesFilter.ts | 2 +- src/gen/models/CreditNotesSort.ts | 2 +- src/gen/models/CrmEventType.ts | 2 +- src/gen/models/Currency.ts | 2 +- src/gen/models/CustomField.ts | 2 +- src/gen/models/CustomFieldFinder.ts | 2 +- src/gen/models/CustomMapping.ts | 2 +- src/gen/models/Customer.ts | 2 +- src/gen/models/CustomersFilter.ts | 2 +- src/gen/models/CustomersSort.ts | 2 +- src/gen/models/Deduction.ts | 2 +- .../DeleteAccountingDepartmentResponse.ts | 2 +- .../DeleteAccountingLocationResponse.ts | 2 +- src/gen/models/DeleteActivityResponse.ts | 2 +- src/gen/models/DeleteApplicantResponse.ts | 2 +- src/gen/models/DeleteApplicationResponse.ts | 2 +- src/gen/models/DeleteAttachmentResponse.ts | 2 +- src/gen/models/DeleteBillPaymentResponse.ts | 97 + src/gen/models/DeleteBillResponse.ts | 2 +- src/gen/models/DeleteCommentResponse.ts | 2 +- src/gen/models/DeleteCompanyResponse.ts | 2 +- src/gen/models/DeleteContactResponse.ts | 2 +- src/gen/models/DeleteCreditNoteResponse.ts | 2 +- src/gen/models/DeleteCustomerResponse.ts | 2 +- src/gen/models/DeleteDepartmentResponse.ts | 2 +- src/gen/models/DeleteDriveGroupResponse.ts | 2 +- src/gen/models/DeleteDriveResponse.ts | 2 +- .../models/DeleteEcommerceCustomerResponse.ts | 2 +- .../models/DeleteEcommerceOrderResponse.ts | 2 +- src/gen/models/DeleteEmployeeResponse.ts | 2 +- src/gen/models/DeleteExpenseResponse.ts | 97 + src/gen/models/DeleteFileResponse.ts | 2 +- src/gen/models/DeleteFolderResponse.ts | 2 +- src/gen/models/DeleteHrisCompanyResponse.ts | 2 +- src/gen/models/DeleteInvoiceResponse.ts | 2 +- src/gen/models/DeleteItemResponse.ts | 2 +- src/gen/models/DeleteJobResponse.ts | 2 +- src/gen/models/DeleteJournalEntryResponse.ts | 2 +- src/gen/models/DeleteLeadResponse.ts | 2 +- src/gen/models/DeleteLedgerAccountResponse.ts | 2 +- src/gen/models/DeleteLocationResponse.ts | 2 +- src/gen/models/DeleteMerchantResponse.ts | 2 +- src/gen/models/DeleteMessageResponse.ts | 2 +- src/gen/models/DeleteModifierGroupResponse.ts | 2 +- src/gen/models/DeleteModifierResponse.ts | 2 +- src/gen/models/DeleteNoteResponse.ts | 2 +- src/gen/models/DeleteOpportunityResponse.ts | 2 +- src/gen/models/DeleteOrderResponse.ts | 2 +- src/gen/models/DeleteOrderTypeResponse.ts | 2 +- src/gen/models/DeletePaymentResponse.ts | 2 +- src/gen/models/DeletePipelineResponse.ts | 2 +- src/gen/models/DeletePosPaymentResponse.ts | 2 +- src/gen/models/DeleteProductResponse.ts | 2 +- src/gen/models/DeletePurchaseOrderResponse.ts | 2 +- src/gen/models/DeleteSharedLinkResponse.ts | 2 +- src/gen/models/DeleteSubsidiaryResponse.ts | 2 +- src/gen/models/DeleteSupplierResponse.ts | 2 +- src/gen/models/DeleteTaxRateResponse.ts | 2 +- src/gen/models/DeleteTenderResponse.ts | 2 +- src/gen/models/DeleteTicketResponse.ts | 2 +- .../models/DeleteTimeOffRequestResponse.ts | 2 +- .../models/DeleteTrackingCategoryResponse.ts | 2 +- src/gen/models/DeleteUploadSessionResponse.ts | 2 +- src/gen/models/DeleteUserResponse.ts | 2 +- src/gen/models/DeleteWebhookResponse.ts | 2 +- src/gen/models/Department.ts | 2 +- src/gen/models/DeprecatedLinkedSupplier.ts | 87 + .../DeprecatedLinkedTrackingCategory.ts | 2 +- src/gen/models/Drive.ts | 2 +- src/gen/models/DriveGroup.ts | 2 +- src/gen/models/DriveGroupsFilter.ts | 2 +- src/gen/models/DrivesFilter.ts | 2 +- src/gen/models/EcommerceAddress.ts | 2 +- src/gen/models/EcommerceCustomer.ts | 2 +- src/gen/models/EcommerceCustomerAddresses.ts | 2 +- src/gen/models/EcommerceCustomersFilter.ts | 2 +- src/gen/models/EcommerceDiscount.ts | 2 +- src/gen/models/EcommerceOrder.ts | 2 +- src/gen/models/EcommerceOrderLineItem.ts | 2 +- src/gen/models/EcommerceOrderStatus.ts | 2 +- src/gen/models/EcommerceOrdersFilter.ts | 2 +- src/gen/models/EcommerceProduct.ts | 2 +- src/gen/models/EcommerceProductCategories.ts | 2 +- src/gen/models/EcommerceProductImages.ts | 2 +- src/gen/models/EcommerceProductImages1.ts | 2 +- src/gen/models/EcommerceProductOptions.ts | 2 +- src/gen/models/EcommerceProductOptions1.ts | 2 +- src/gen/models/EcommerceProductVariants.ts | 2 +- src/gen/models/EcommerceStore.ts | 2 +- src/gen/models/Email.ts | 2 +- src/gen/models/Employee.ts | 7 +- src/gen/models/EmployeeCompensation.ts | 2 +- src/gen/models/EmployeeEmploymentRole.ts | 2 +- src/gen/models/EmployeeJob.ts | 2 +- src/gen/models/EmployeeList.ts | 2 +- src/gen/models/EmployeeManager.ts | 2 +- src/gen/models/EmployeePayroll.ts | 2 +- src/gen/models/EmployeeSchedules.ts | 2 +- src/gen/models/EmployeesFilter.ts | 2 +- src/gen/models/EmployeesOneFilter.ts | 2 +- src/gen/models/EmployeesSort.ts | 2 +- src/gen/models/EmploymentStatus.ts | 2 +- src/gen/models/ExecuteWebhookResponse.ts | 2 +- src/gen/models/Expense.ts | 240 ++ src/gen/models/ExpenseLineItem.ts | 136 + src/gen/models/FileStorageEventType.ts | 2 +- src/gen/models/FileType.ts | 2 +- src/gen/models/FilesFilter.ts | 2 +- src/gen/models/FilesSearch.ts | 2 +- src/gen/models/FilesSort.ts | 2 +- src/gen/models/Folder.ts | 2 +- src/gen/models/FormField.ts | 2 +- src/gen/models/FormFieldOption.ts | 2 +- src/gen/models/FormFieldOptionGroup.ts | 2 +- src/gen/models/Gender.ts | 2 +- .../models/GetAccountingDepartmentResponse.ts | 2 +- .../GetAccountingDepartmentsResponse.ts | 2 +- .../models/GetAccountingLocationResponse.ts | 2 +- .../models/GetAccountingLocationsResponse.ts | 2 +- src/gen/models/GetActivitiesResponse.ts | 2 +- src/gen/models/GetActivityResponse.ts | 2 +- .../models/GetApiResourceCoverageResponse.ts | 2 +- src/gen/models/GetApiResourceResponse.ts | 2 +- src/gen/models/GetApiResponse.ts | 2 +- src/gen/models/GetApisResponse.ts | 2 +- src/gen/models/GetApplicantResponse.ts | 2 +- src/gen/models/GetApplicantsResponse.ts | 2 +- src/gen/models/GetApplicationResponse.ts | 2 +- src/gen/models/GetApplicationsResponse.ts | 2 +- src/gen/models/GetAttachmentResponse.ts | 2 +- src/gen/models/GetAttachmentsResponse.ts | 2 +- src/gen/models/GetBalanceSheetResponse.ts | 2 +- src/gen/models/GetBillPaymentResponse.ts | 97 + src/gen/models/GetBillPaymentsResponse.ts | 116 + src/gen/models/GetBillResponse.ts | 2 +- src/gen/models/GetBillsResponse.ts | 2 +- src/gen/models/GetCollectionResponse.ts | 2 +- src/gen/models/GetCollectionTagsResponse.ts | 2 +- src/gen/models/GetCollectionUserResponse.ts | 2 +- src/gen/models/GetCollectionUsersResponse.ts | 2 +- src/gen/models/GetCollectionsResponse.ts | 2 +- src/gen/models/GetCommentResponse.ts | 2 +- src/gen/models/GetCommentsResponse.ts | 2 +- src/gen/models/GetCompaniesResponse.ts | 2 +- src/gen/models/GetCompanyInfoResponse.ts | 2 +- src/gen/models/GetCompanyResponse.ts | 2 +- src/gen/models/GetConnectionResponse.ts | 2 +- src/gen/models/GetConnectionsResponse.ts | 2 +- .../GetConnectorResourceExampleResponse.ts | 2 +- ...GetConnectorResourceExampleResponseData.ts | 2 +- .../models/GetConnectorResourceResponse.ts | 2 +- src/gen/models/GetConnectorResponse.ts | 2 +- src/gen/models/GetConnectorsResponse.ts | 2 +- src/gen/models/GetConsumerResponse.ts | 2 +- src/gen/models/GetConsumersResponse.ts | 2 +- src/gen/models/GetConsumersResponseData.ts | 2 +- src/gen/models/GetContactResponse.ts | 2 +- src/gen/models/GetContactsResponse.ts | 2 +- src/gen/models/GetCreditNoteResponse.ts | 2 +- src/gen/models/GetCreditNotesResponse.ts | 2 +- src/gen/models/GetCustomFieldsResponse.ts | 2 +- src/gen/models/GetCustomMappingResponse.ts | 2 +- src/gen/models/GetCustomerResponse.ts | 2 +- src/gen/models/GetCustomersResponse.ts | 2 +- src/gen/models/GetDepartmentResponse.ts | 2 +- src/gen/models/GetDepartmentsResponse.ts | 2 +- src/gen/models/GetDriveGroupResponse.ts | 2 +- src/gen/models/GetDriveGroupsResponse.ts | 2 +- src/gen/models/GetDriveResponse.ts | 2 +- src/gen/models/GetDrivesResponse.ts | 2 +- .../models/GetEcommerceCustomerResponse.ts | 2 +- .../models/GetEcommerceCustomersResponse.ts | 2 +- src/gen/models/GetEcommerceOrderResponse.ts | 2 +- src/gen/models/GetEcommerceOrdersResponse.ts | 2 +- src/gen/models/GetEmployeePayrollResponse.ts | 2 +- src/gen/models/GetEmployeePayrollsResponse.ts | 2 +- src/gen/models/GetEmployeeResponse.ts | 2 +- .../models/GetEmployeeSchedulesResponse.ts | 2 +- src/gen/models/GetEmployeesResponse.ts | 2 +- src/gen/models/GetExpenseResponse.ts | 97 + src/gen/models/GetExpensesResponse.ts | 116 + src/gen/models/GetFileResponse.ts | 2 +- src/gen/models/GetFilesResponse.ts | 2 +- src/gen/models/GetFolderResponse.ts | 2 +- src/gen/models/GetFoldersResponse.ts | 2 +- src/gen/models/GetHrisCompaniesResponse.ts | 2 +- src/gen/models/GetHrisCompanyResponse.ts | 2 +- src/gen/models/GetHrisJobResponse.ts | 2 +- src/gen/models/GetHrisJobsResponse.ts | 2 +- src/gen/models/GetInvoiceItemResponse.ts | 2 +- src/gen/models/GetInvoiceItemsResponse.ts | 2 +- src/gen/models/GetInvoiceResponse.ts | 2 +- src/gen/models/GetInvoicesResponse.ts | 2 +- src/gen/models/GetItemResponse.ts | 2 +- src/gen/models/GetItemsResponse.ts | 2 +- src/gen/models/GetJobResponse.ts | 2 +- src/gen/models/GetJobsResponse.ts | 2 +- src/gen/models/GetJournalEntriesResponse.ts | 2 +- src/gen/models/GetJournalEntryResponse.ts | 2 +- src/gen/models/GetLeadResponse.ts | 2 +- src/gen/models/GetLeadsResponse.ts | 2 +- src/gen/models/GetLedgerAccountResponse.ts | 2 +- src/gen/models/GetLedgerAccountsResponse.ts | 2 +- src/gen/models/GetLocationResponse.ts | 2 +- src/gen/models/GetLocationsResponse.ts | 2 +- src/gen/models/GetLogsResponse.ts | 2 +- src/gen/models/GetMerchantResponse.ts | 2 +- src/gen/models/GetMerchantsResponse.ts | 2 +- src/gen/models/GetMessageResponse.ts | 2 +- src/gen/models/GetMessagesResponse.ts | 2 +- src/gen/models/GetModifierGroupResponse.ts | 2 +- src/gen/models/GetModifierGroupsResponse.ts | 2 +- src/gen/models/GetModifierResponse.ts | 2 +- src/gen/models/GetModifiersResponse.ts | 2 +- src/gen/models/GetNoteResponse.ts | 2 +- src/gen/models/GetNotesResponse.ts | 2 +- src/gen/models/GetOpportunitiesResponse.ts | 2 +- src/gen/models/GetOpportunityResponse.ts | 2 +- src/gen/models/GetOrderResponse.ts | 2 +- src/gen/models/GetOrderTypeResponse.ts | 2 +- src/gen/models/GetOrderTypesResponse.ts | 2 +- src/gen/models/GetOrdersResponse.ts | 2 +- src/gen/models/GetPaymentResponse.ts | 2 +- src/gen/models/GetPaymentsResponse.ts | 2 +- src/gen/models/GetPayrollResponse.ts | 2 +- src/gen/models/GetPayrollsResponse.ts | 2 +- src/gen/models/GetPipelineResponse.ts | 2 +- src/gen/models/GetPipelinesResponse.ts | 2 +- src/gen/models/GetPosPaymentResponse.ts | 2 +- src/gen/models/GetPosPaymentsResponse.ts | 2 +- src/gen/models/GetProductResponse.ts | 2 +- src/gen/models/GetProductsResponse.ts | 2 +- src/gen/models/GetProfitAndLossResponse.ts | 2 +- src/gen/models/GetPurchaseOrderResponse.ts | 2 +- src/gen/models/GetPurchaseOrdersResponse.ts | 2 +- src/gen/models/GetResourceExampleResponse.ts | 2 +- src/gen/models/GetSharedLinkResponse.ts | 2 +- src/gen/models/GetSharedLinksResponse.ts | 2 +- src/gen/models/GetStoreResponse.ts | 2 +- src/gen/models/GetStoresResponse.ts | 2 +- src/gen/models/GetSubsidiariesResponse.ts | 2 +- src/gen/models/GetSubsidiaryResponse.ts | 2 +- src/gen/models/GetSupplierResponse.ts | 2 +- src/gen/models/GetSuppliersResponse.ts | 2 +- src/gen/models/GetTaxRateResponse.ts | 2 +- src/gen/models/GetTaxRatesResponse.ts | 2 +- src/gen/models/GetTenderResponse.ts | 2 +- src/gen/models/GetTendersResponse.ts | 2 +- src/gen/models/GetTicketResponse.ts | 2 +- src/gen/models/GetTicketsResponse.ts | 2 +- src/gen/models/GetTimeOffRequestResponse.ts | 2 +- src/gen/models/GetTimeOffRequestsResponse.ts | 2 +- .../models/GetTrackingCategoriesResponse.ts | 2 +- src/gen/models/GetTrackingCategoryResponse.ts | 2 +- src/gen/models/GetUploadSessionResponse.ts | 2 +- src/gen/models/GetUserResponse.ts | 2 +- src/gen/models/GetUsersResponse.ts | 2 +- src/gen/models/GetWebhookEventLogsResponse.ts | 2 +- src/gen/models/GetWebhookResponse.ts | 2 +- src/gen/models/GetWebhooksResponse.ts | 2 +- src/gen/models/HrisCompany.ts | 2 +- src/gen/models/HrisEventType.ts | 2 +- src/gen/models/HrisJob.ts | 2 +- src/gen/models/HrisJobLocation.ts | 2 +- src/gen/models/HrisJobs.ts | 2 +- src/gen/models/IntegrationState.ts | 2 +- src/gen/models/Invoice.ts | 2 +- src/gen/models/InvoiceItem.ts | 2 +- src/gen/models/InvoiceItemSalesDetails.ts | 2 +- src/gen/models/InvoiceItemsFilter.ts | 2 +- src/gen/models/InvoiceLineItem.ts | 4 +- src/gen/models/InvoiceResponse.ts | 2 +- src/gen/models/InvoicesFilter.ts | 14 +- src/gen/models/InvoicesSort.ts | 2 +- src/gen/models/IssueTrackingEventType.ts | 2 +- src/gen/models/IssuesFilter.ts | 2 +- src/gen/models/Item.ts | 2 +- src/gen/models/Job.ts | 2 +- src/gen/models/JobLinks.ts | 2 +- src/gen/models/JobSalary.ts | 2 +- src/gen/models/JobStatus.ts | 2 +- src/gen/models/JournalEntriesFilter.ts | 2 +- src/gen/models/JournalEntriesSort.ts | 2 +- src/gen/models/JournalEntry.ts | 10 +- src/gen/models/JournalEntryLineItem.ts | 14 +- src/gen/models/Lead.ts | 10 +- src/gen/models/LeadEventType.ts | 2 +- src/gen/models/LeadsFilter.ts | 14 +- src/gen/models/LeadsSort.ts | 2 +- src/gen/models/LedgerAccount.ts | 5 +- src/gen/models/LedgerAccountCategories.ts | 2 +- src/gen/models/LedgerAccountParentAccount.ts | 2 +- src/gen/models/LedgerAccounts.ts | 2 +- src/gen/models/LedgerAccountsFilter.ts | 2 +- src/gen/models/LedgerAccountsSort.ts | 2 +- src/gen/models/LinkedConnectorResource.ts | 2 +- src/gen/models/LinkedCustomer.ts | 2 +- src/gen/models/LinkedEcommerceCustomer.ts | 2 +- src/gen/models/LinkedEcommerceOrder.ts | 2 +- src/gen/models/LinkedFolder.ts | 2 +- src/gen/models/LinkedInvoiceItem.ts | 2 +- src/gen/models/LinkedLedgerAccount.ts | 2 +- src/gen/models/LinkedParentCustomer.ts | 2 +- src/gen/models/LinkedSupplier.ts | 2 +- src/gen/models/LinkedTaxRate.ts | 2 +- src/gen/models/LinkedTrackingCategories.ts | 2 +- src/gen/models/LinkedTrackingCategory.ts | 2 +- src/gen/models/Links.ts | 2 +- src/gen/models/Location.ts | 2 +- src/gen/models/Log.ts | 2 +- src/gen/models/LogsFilter.ts | 2 +- src/gen/models/Merchant.ts | 2 +- src/gen/models/Message.ts | 2 +- src/gen/models/Meta.ts | 2 +- src/gen/models/MetaCursors.ts | 2 +- src/gen/models/ModelError.ts | 2 +- src/gen/models/Modifier.ts | 2 +- src/gen/models/ModifierGroup.ts | 2 +- src/gen/models/ModifierGroupFilter.ts | 2 +- src/gen/models/NotFoundResponse.ts | 2 +- src/gen/models/NotImplementedResponse.ts | 2 +- src/gen/models/Note.ts | 2 +- src/gen/models/OAuthGrantType.ts | 2 +- src/gen/models/Offer.ts | 2 +- src/gen/models/OpportunitiesFilter.ts | 2 +- src/gen/models/OpportunitiesSort.ts | 2 +- src/gen/models/Opportunity.ts | 2 +- src/gen/models/Order.ts | 2 +- src/gen/models/OrderCustomers.ts | 2 +- src/gen/models/OrderDiscounts.ts | 2 +- src/gen/models/OrderFulfillments.ts | 2 +- src/gen/models/OrderLineItems.ts | 2 +- src/gen/models/OrderPayments.ts | 2 +- src/gen/models/OrderPickupDetails.ts | 2 +- ...OrderPickupDetailsCurbsidePickupDetails.ts | 2 +- src/gen/models/OrderPickupDetailsRecipient.ts | 2 +- src/gen/models/OrderRefunds.ts | 2 +- src/gen/models/OrderTenders.ts | 2 +- src/gen/models/OrderType.ts | 2 +- src/gen/models/OrdersSort.ts | 2 +- src/gen/models/Owner.ts | 2 +- src/gen/models/PaginationCoverage.ts | 2 +- src/gen/models/PassThroughQuery.ts | 2 +- src/gen/models/Payment.ts | 92 +- src/gen/models/PaymentCard.ts | 2 +- src/gen/models/PaymentFrequency.ts | 2 +- src/gen/models/PaymentRequiredResponse.ts | 2 +- src/gen/models/PaymentStatus.ts | 37 + src/gen/models/PaymentType.ts | 41 + src/gen/models/PaymentUnit.ts | 2 +- src/gen/models/PaymentsFilter.ts | 2 +- src/gen/models/PaymentsSort.ts | 2 +- src/gen/models/Payroll.ts | 2 +- src/gen/models/PayrollTotals.ts | 2 +- src/gen/models/PayrollsFilter.ts | 2 +- src/gen/models/Person.ts | 2 +- src/gen/models/PhoneNumber.ts | 2 +- src/gen/models/Pipeline.ts | 2 +- src/gen/models/PipelineStages.ts | 2 +- src/gen/models/PosBankAccount.ts | 2 +- src/gen/models/PosBankAccountAchDetails.ts | 2 +- src/gen/models/PosPayment.ts | 2 +- src/gen/models/PosPaymentCardDetails.ts | 2 +- src/gen/models/PosPaymentExternalDetails.ts | 2 +- src/gen/models/Price.ts | 2 +- src/gen/models/ProbationPeriod.ts | 2 +- src/gen/models/ProfitAndLoss.ts | 2 +- src/gen/models/ProfitAndLossExpenses.ts | 2 +- src/gen/models/ProfitAndLossFilter.ts | 2 +- src/gen/models/ProfitAndLossGrossProfit.ts | 2 +- src/gen/models/ProfitAndLossIncome.ts | 2 +- src/gen/models/ProfitAndLossNetIncome.ts | 2 +- .../models/ProfitAndLossNetOperatingIncome.ts | 2 +- src/gen/models/ProfitAndLossRecord.ts | 2 +- src/gen/models/ProfitAndLossRecords.ts | 2 +- src/gen/models/ProfitAndLossSection.ts | 2 +- src/gen/models/PurchaseOrder.ts | 2 +- src/gen/models/PurchaseOrdersFilter.ts | 14 +- src/gen/models/PurchaseOrdersSort.ts | 2 +- src/gen/models/RequestCountAllocation.ts | 2 +- src/gen/models/ResolveWebhookResponse.ts | 2 +- src/gen/models/ResourceExample.ts | 2 +- src/gen/models/ResourceStatus.ts | 2 +- src/gen/models/Schedule.ts | 2 +- src/gen/models/ScheduleWorkPattern.ts | 2 +- src/gen/models/ScheduleWorkPatternOddWeeks.ts | 2 +- src/gen/models/SchemaSupport.ts | 2 +- src/gen/models/ServiceCharge.ts | 2 +- src/gen/models/ServiceCharges.ts | 2 +- src/gen/models/Session.ts | 2 +- src/gen/models/SessionSettings.ts | 2 +- src/gen/models/SessionTheme.ts | 2 +- src/gen/models/SharedLink.ts | 2 +- src/gen/models/SharedLinkTarget.ts | 2 +- src/gen/models/SimpleFormFieldOption.ts | 2 +- src/gen/models/SocialLink.ts | 2 +- src/gen/models/SortDirection.ts | 2 +- src/gen/models/Status.ts | 2 +- src/gen/models/Subsidiary.ts | 2 +- src/gen/models/SubsidiaryReference.ts | 2 +- src/gen/models/Supplier.ts | 2 +- src/gen/models/SuppliersFilter.ts | 2 +- src/gen/models/SuppliersSort.ts | 2 +- src/gen/models/SupportedProperty.ts | 2 +- src/gen/models/Tax.ts | 2 +- src/gen/models/TaxRate.ts | 2 +- src/gen/models/TaxRatesFilter.ts | 2 +- src/gen/models/Team.ts | 2 +- src/gen/models/Tender.ts | 2 +- src/gen/models/Ticket.ts | 2 +- src/gen/models/TicketsSort.ts | 2 +- src/gen/models/TimeOffRequest.ts | 10 +- src/gen/models/TimeOffRequestNotes.ts | 2 +- src/gen/models/TimeOffRequestsFilter.ts | 14 +- src/gen/models/TooManyRequestsResponse.ts | 2 +- .../models/TooManyRequestsResponseDetail.ts | 2 +- src/gen/models/TrackingCategory.ts | 10 +- src/gen/models/TrackingItem.ts | 2 +- src/gen/models/UnauthorizedResponse.ts | 2 +- src/gen/models/UnexpectedErrorResponse.ts | 2 +- src/gen/models/UnifiedApiId.ts | 2 +- src/gen/models/UnifiedFile.ts | 2 +- src/gen/models/UnifiedFilePermissions.ts | 2 +- src/gen/models/UnprocessableResponse.ts | 2 +- .../UpdateAccountingDepartmentResponse.ts | 2 +- .../UpdateAccountingLocationResponse.ts | 2 +- src/gen/models/UpdateActivityResponse.ts | 2 +- src/gen/models/UpdateApplicantResponse.ts | 2 +- src/gen/models/UpdateApplicationResponse.ts | 2 +- src/gen/models/UpdateBillPaymentResponse.ts | 97 + src/gen/models/UpdateBillResponse.ts | 2 +- src/gen/models/UpdateCommentResponse.ts | 2 +- src/gen/models/UpdateCompanyResponse.ts | 2 +- src/gen/models/UpdateConnectionResponse.ts | 2 +- src/gen/models/UpdateConsumerRequest.ts | 2 +- src/gen/models/UpdateConsumerResponse.ts | 2 +- src/gen/models/UpdateContactResponse.ts | 2 +- src/gen/models/UpdateCreditNoteResponse.ts | 2 +- src/gen/models/UpdateCustomMappingResponse.ts | 2 +- src/gen/models/UpdateCustomerResponse.ts | 2 +- src/gen/models/UpdateDepartmentResponse.ts | 2 +- src/gen/models/UpdateDriveGroupResponse.ts | 2 +- src/gen/models/UpdateDriveResponse.ts | 2 +- .../models/UpdateEcommerceCustomerResponse.ts | 2 +- .../models/UpdateEcommerceOrderResponse.ts | 2 +- src/gen/models/UpdateEmployeeResponse.ts | 2 +- src/gen/models/UpdateExpenseResponse.ts | 97 + src/gen/models/UpdateFileRequest.ts | 2 +- src/gen/models/UpdateFileResponse.ts | 2 +- src/gen/models/UpdateFolderRequest.ts | 2 +- src/gen/models/UpdateFolderResponse.ts | 2 +- src/gen/models/UpdateHrisCompanyResponse.ts | 2 +- src/gen/models/UpdateInvoiceItemsResponse.ts | 2 +- src/gen/models/UpdateInvoiceResponse.ts | 2 +- src/gen/models/UpdateItemResponse.ts | 2 +- src/gen/models/UpdateJobResponse.ts | 2 +- src/gen/models/UpdateJournalEntryResponse.ts | 2 +- src/gen/models/UpdateLeadResponse.ts | 2 +- src/gen/models/UpdateLedgerAccountResponse.ts | 2 +- src/gen/models/UpdateLocationResponse.ts | 2 +- src/gen/models/UpdateMerchantResponse.ts | 2 +- src/gen/models/UpdateMessageResponse.ts | 2 +- src/gen/models/UpdateModifierGroupResponse.ts | 2 +- src/gen/models/UpdateModifierResponse.ts | 2 +- src/gen/models/UpdateNoteResponse.ts | 2 +- src/gen/models/UpdateOpportunityResponse.ts | 2 +- src/gen/models/UpdateOrderResponse.ts | 2 +- src/gen/models/UpdateOrderTypeResponse.ts | 2 +- src/gen/models/UpdatePaymentResponse.ts | 2 +- src/gen/models/UpdatePipelineResponse.ts | 2 +- src/gen/models/UpdatePosPaymentResponse.ts | 2 +- src/gen/models/UpdateProductResponse.ts | 2 +- src/gen/models/UpdatePurchaseOrderResponse.ts | 2 +- src/gen/models/UpdateSharedLinkResponse.ts | 2 +- src/gen/models/UpdateSubsidiaryResponse.ts | 2 +- src/gen/models/UpdateSupplierResponse.ts | 2 +- src/gen/models/UpdateTaxRateResponse.ts | 2 +- src/gen/models/UpdateTenderResponse.ts | 2 +- src/gen/models/UpdateTicketResponse.ts | 2 +- .../models/UpdateTimeOffRequestResponse.ts | 2 +- .../models/UpdateTrackingCategoryResponse.ts | 2 +- src/gen/models/UpdateUploadSessionResponse.ts | 2 +- src/gen/models/UpdateUserResponse.ts | 2 +- src/gen/models/UpdateWebhookRequest.ts | 2 +- src/gen/models/UpdateWebhookResponse.ts | 2 +- src/gen/models/UploadSession.ts | 2 +- src/gen/models/User.ts | 2 +- .../models/ValidateConnectionStateResponse.ts | 2 +- .../ValidateConnectionStateResponseData.ts | 2 +- src/gen/models/VaultEventType.ts | 2 +- src/gen/models/VirtualWebhooks.ts | 2 +- src/gen/models/WalletDetails.ts | 2 +- src/gen/models/Webhook.ts | 2 +- src/gen/models/WebhookEvent.ts | 2 +- src/gen/models/WebhookEventLog.ts | 2 +- src/gen/models/WebhookEventLogAttempts.ts | 2 +- src/gen/models/WebhookEventLogsFilter.ts | 2 +- .../models/WebhookEventLogsFilterService.ts | 2 +- src/gen/models/WebhookEventType.ts | 7 +- src/gen/models/WebhookSubscription.ts | 2 +- src/gen/models/WebhookSupport.ts | 2 +- src/gen/models/Website.ts | 2 +- src/gen/models/index.ts | 16 + src/gen/runtime.ts | 2 +- .../tests/apis/AccountingApiTest.api.test.ts | 3733 +++++++++++------ src/gen/tests/apis/CrmApiTest.api.test.ts | 4 + src/gen/tests/apis/HrisApiTest.api.test.ts | 6 + src/gen/tests/apis/LeadApiTest.api.test.ts | 4 + yarn.lock | 769 ++-- 720 files changed, 9096 insertions(+), 3590 deletions(-) create mode 100644 src/gen/docs/models/BillPayment.md create mode 100644 src/gen/docs/models/CreateBillPaymentResponse.md create mode 100644 src/gen/docs/models/CreateExpenseResponse.md create mode 100644 src/gen/docs/models/DeleteBillPaymentResponse.md create mode 100644 src/gen/docs/models/DeleteExpenseResponse.md create mode 100644 src/gen/docs/models/DeprecatedLinkedSupplier.md create mode 100644 src/gen/docs/models/Expense.md create mode 100644 src/gen/docs/models/ExpenseLineItem.md create mode 100644 src/gen/docs/models/GetBillPaymentResponse.md create mode 100644 src/gen/docs/models/GetBillPaymentsResponse.md create mode 100644 src/gen/docs/models/GetExpenseResponse.md create mode 100644 src/gen/docs/models/GetExpensesResponse.md create mode 100644 src/gen/docs/models/PaymentStatus.md create mode 100644 src/gen/docs/models/PaymentType.md create mode 100644 src/gen/docs/models/UpdateBillPaymentResponse.md create mode 100644 src/gen/docs/models/UpdateExpenseResponse.md create mode 100644 src/gen/models/BillPayment.ts create mode 100644 src/gen/models/CreateBillPaymentResponse.ts create mode 100644 src/gen/models/CreateExpenseResponse.ts create mode 100644 src/gen/models/DeleteBillPaymentResponse.ts create mode 100644 src/gen/models/DeleteExpenseResponse.ts create mode 100644 src/gen/models/DeprecatedLinkedSupplier.ts create mode 100644 src/gen/models/Expense.ts create mode 100644 src/gen/models/ExpenseLineItem.ts create mode 100644 src/gen/models/GetBillPaymentResponse.ts create mode 100644 src/gen/models/GetBillPaymentsResponse.ts create mode 100644 src/gen/models/GetExpenseResponse.ts create mode 100644 src/gen/models/GetExpensesResponse.ts create mode 100644 src/gen/models/PaymentStatus.ts create mode 100644 src/gen/models/PaymentType.ts create mode 100644 src/gen/models/UpdateBillPaymentResponse.ts create mode 100644 src/gen/models/UpdateExpenseResponse.ts diff --git a/package.json b/package.json index df760b13e..ef997fe82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apideck/node", - "version": "3.4.0", + "version": "3.4.1", "description": "Apideck Node.js SDK", "keywords": [ "apideck", diff --git a/src/Apideck.ts b/src/Apideck.ts index 0ac284b6d..18bff549f 100644 --- a/src/Apideck.ts +++ b/src/Apideck.ts @@ -60,7 +60,8 @@ export class Apideck { headers: { 'x-apideck-app-id': config.appId, 'x-apideck-consumer-id': config.consumerId || '', - 'x-apideck-service-id': config?.serviceId || '' + 'x-apideck-service-id': config?.serviceId || '', + 'user-agent': 'Apideck-node-sdk/3.4.1 Unify-spec/10.7.3' } }) diff --git a/src/gen/.openapi-generator/FILES b/src/gen/.openapi-generator/FILES index 17e863121..4c100bf19 100644 --- a/src/gen/.openapi-generator/FILES +++ b/src/gen/.openapi-generator/FILES @@ -59,6 +59,7 @@ BankAccount.md Benefit.md Bill.md BillLineItem.md +BillPayment.md BillsFilter.md BillsSort.md Branch.md @@ -112,6 +113,7 @@ CreateApplicantResponse.md CreateApplicationResponse.md CreateAttachmentRequest.md CreateAttachmentResponse.md +CreateBillPaymentResponse.md CreateBillResponse.md CreateCommentResponse.md CreateCompanyResponse.md @@ -128,6 +130,7 @@ CreateDriveResponse.md CreateEcommerceCustomerResponse.md CreateEcommerceOrderResponse.md CreateEmployeeResponse.md +CreateExpenseResponse.md CreateFileRequest.md CreateFileResponse.md CreateFolderRequest.md @@ -189,6 +192,7 @@ DeleteActivityResponse.md DeleteApplicantResponse.md DeleteApplicationResponse.md DeleteAttachmentResponse.md +DeleteBillPaymentResponse.md DeleteBillResponse.md DeleteCommentResponse.md DeleteCompanyResponse.md @@ -202,6 +206,7 @@ DeleteDriveResponse.md DeleteEcommerceCustomerResponse.md DeleteEcommerceOrderResponse.md DeleteEmployeeResponse.md +DeleteExpenseResponse.md DeleteFileResponse.md DeleteFolderResponse.md DeleteHrisCompanyResponse.md @@ -237,6 +242,7 @@ DeleteUploadSessionResponse.md DeleteUserResponse.md DeleteWebhookResponse.md Department.md +DeprecatedLinkedSupplier.md DeprecatedLinkedTrackingCategory.md Drive.md DriveGroup.md @@ -278,6 +284,8 @@ Error.md ExecuteWebhookEventRequest.md ExecuteWebhookEventsRequest.md ExecuteWebhookResponse.md +Expense.md +ExpenseLineItem.md FileStorageApi.md FileStorageApiTest.api.test.ts FileStorageEventType.md @@ -307,6 +315,8 @@ GetApplicationsResponse.md GetAttachmentResponse.md GetAttachmentsResponse.md GetBalanceSheetResponse.md +GetBillPaymentResponse.md +GetBillPaymentsResponse.md GetBillResponse.md GetBillsResponse.md GetCollectionResponse.md @@ -353,6 +363,8 @@ GetEmployeePayrollsResponse.md GetEmployeeResponse.md GetEmployeeSchedulesResponse.md GetEmployeesResponse.md +GetExpenseResponse.md +GetExpensesResponse.md GetFileResponse.md GetFilesResponse.md GetFolderResponse.md @@ -528,6 +540,8 @@ Payment.md PaymentCard.md PaymentFrequency.md PaymentRequiredResponse.md +PaymentStatus.md +PaymentType.md PaymentUnit.md PaymentsFilter.md PaymentsSort.md @@ -617,6 +631,7 @@ UpdateAccountingLocationResponse.md UpdateActivityResponse.md UpdateApplicantResponse.md UpdateApplicationResponse.md +UpdateBillPaymentResponse.md UpdateBillResponse.md UpdateCommentResponse.md UpdateCompanyResponse.md @@ -634,6 +649,7 @@ UpdateDriveResponse.md UpdateEcommerceCustomerResponse.md UpdateEcommerceOrderResponse.md UpdateEmployeeResponse.md +UpdateExpenseResponse.md UpdateFileRequest.md UpdateFileResponse.md UpdateFolderRequest.md @@ -752,6 +768,7 @@ models/BankAccount.ts models/Benefit.ts models/Bill.ts models/BillLineItem.ts +models/BillPayment.ts models/BillsFilter.ts models/BillsSort.ts models/Branch.ts @@ -803,6 +820,7 @@ models/CreateApplicantResponse.ts models/CreateApplicationResponse.ts models/CreateAttachmentRequest.ts models/CreateAttachmentResponse.ts +models/CreateBillPaymentResponse.ts models/CreateBillResponse.ts models/CreateCommentResponse.ts models/CreateCompanyResponse.ts @@ -819,6 +837,7 @@ models/CreateDriveResponse.ts models/CreateEcommerceCustomerResponse.ts models/CreateEcommerceOrderResponse.ts models/CreateEmployeeResponse.ts +models/CreateExpenseResponse.ts models/CreateFileRequest.ts models/CreateFileResponse.ts models/CreateFolderRequest.ts @@ -878,6 +897,7 @@ models/DeleteActivityResponse.ts models/DeleteApplicantResponse.ts models/DeleteApplicationResponse.ts models/DeleteAttachmentResponse.ts +models/DeleteBillPaymentResponse.ts models/DeleteBillResponse.ts models/DeleteCommentResponse.ts models/DeleteCompanyResponse.ts @@ -891,6 +911,7 @@ models/DeleteDriveResponse.ts models/DeleteEcommerceCustomerResponse.ts models/DeleteEcommerceOrderResponse.ts models/DeleteEmployeeResponse.ts +models/DeleteExpenseResponse.ts models/DeleteFileResponse.ts models/DeleteFolderResponse.ts models/DeleteHrisCompanyResponse.ts @@ -926,6 +947,7 @@ models/DeleteUploadSessionResponse.ts models/DeleteUserResponse.ts models/DeleteWebhookResponse.ts models/Department.ts +models/DeprecatedLinkedSupplier.ts models/DeprecatedLinkedTrackingCategory.ts models/Drive.ts models/DriveGroup.ts @@ -964,6 +986,8 @@ models/EmploymentStatus.ts models/ExecuteWebhookEventRequest.ts models/ExecuteWebhookEventsRequest.ts models/ExecuteWebhookResponse.ts +models/Expense.ts +models/ExpenseLineItem.ts models/FileStorageEventType.ts models/FileType.ts models/FilesFilter.ts @@ -991,6 +1015,8 @@ models/GetApplicationsResponse.ts models/GetAttachmentResponse.ts models/GetAttachmentsResponse.ts models/GetBalanceSheetResponse.ts +models/GetBillPaymentResponse.ts +models/GetBillPaymentsResponse.ts models/GetBillResponse.ts models/GetBillsResponse.ts models/GetCollectionResponse.ts @@ -1037,6 +1063,8 @@ models/GetEmployeePayrollsResponse.ts models/GetEmployeeResponse.ts models/GetEmployeeSchedulesResponse.ts models/GetEmployeesResponse.ts +models/GetExpenseResponse.ts +models/GetExpensesResponse.ts models/GetFileResponse.ts models/GetFilesResponse.ts models/GetFolderResponse.ts @@ -1207,6 +1235,8 @@ models/Payment.ts models/PaymentCard.ts models/PaymentFrequency.ts models/PaymentRequiredResponse.ts +models/PaymentStatus.ts +models/PaymentType.ts models/PaymentUnit.ts models/PaymentsFilter.ts models/PaymentsSort.ts @@ -1292,6 +1322,7 @@ models/UpdateAccountingLocationResponse.ts models/UpdateActivityResponse.ts models/UpdateApplicantResponse.ts models/UpdateApplicationResponse.ts +models/UpdateBillPaymentResponse.ts models/UpdateBillResponse.ts models/UpdateCommentResponse.ts models/UpdateCompanyResponse.ts @@ -1309,6 +1340,7 @@ models/UpdateDriveResponse.ts models/UpdateEcommerceCustomerResponse.ts models/UpdateEcommerceOrderResponse.ts models/UpdateEmployeeResponse.ts +models/UpdateExpenseResponse.ts models/UpdateFileRequest.ts models/UpdateFileResponse.ts models/UpdateFolderRequest.ts diff --git a/src/gen/apis/AccountingApi.ts b/src/gen/apis/AccountingApi.ts index ba9e64ae9..e2cacbf5a 100644 --- a/src/gen/apis/AccountingApi.ts +++ b/src/gen/apis/AccountingApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,8 @@ import { AttachmentReferenceType, BalanceSheetFilter, Bill, + BillPayment, + BillPaymentToJSON, BillsFilter, BillsSort, BillToJSON, @@ -29,12 +31,16 @@ import { CreateAccountingDepartmentResponseFromJSON, CreateAccountingLocationResponse, CreateAccountingLocationResponseFromJSON, + CreateBillPaymentResponse, + CreateBillPaymentResponseFromJSON, CreateBillResponse, CreateBillResponseFromJSON, CreateCreditNoteResponse, CreateCreditNoteResponseFromJSON, CreateCustomerResponse, CreateCustomerResponseFromJSON, + CreateExpenseResponse, + CreateExpenseResponseFromJSON, CreateInvoiceItemResponse, CreateInvoiceItemResponseFromJSON, CreateInvoiceResponse, @@ -69,12 +75,16 @@ import { DeleteAccountingLocationResponseFromJSON, DeleteAttachmentResponse, DeleteAttachmentResponseFromJSON, + DeleteBillPaymentResponse, + DeleteBillPaymentResponseFromJSON, DeleteBillResponse, DeleteBillResponseFromJSON, DeleteCreditNoteResponse, DeleteCreditNoteResponseFromJSON, DeleteCustomerResponse, DeleteCustomerResponseFromJSON, + DeleteExpenseResponse, + DeleteExpenseResponseFromJSON, DeleteInvoiceResponse, DeleteInvoiceResponseFromJSON, DeleteJournalEntryResponse, @@ -93,6 +103,8 @@ import { DeleteTaxRateResponseFromJSON, DeleteTrackingCategoryResponse, DeleteTrackingCategoryResponseFromJSON, + Expense, + ExpenseToJSON, GetAccountingDepartmentResponse, GetAccountingDepartmentResponseFromJSON, GetAccountingDepartmentsResponse, @@ -107,6 +119,10 @@ import { GetAttachmentsResponseFromJSON, GetBalanceSheetResponse, GetBalanceSheetResponseFromJSON, + GetBillPaymentResponse, + GetBillPaymentResponseFromJSON, + GetBillPaymentsResponse, + GetBillPaymentsResponseFromJSON, GetBillResponse, GetBillResponseFromJSON, GetBillsResponse, @@ -121,6 +137,10 @@ import { GetCustomerResponseFromJSON, GetCustomersResponse, GetCustomersResponseFromJSON, + GetExpenseResponse, + GetExpenseResponseFromJSON, + GetExpensesResponse, + GetExpensesResponseFromJSON, GetInvoiceItemResponse, GetInvoiceItemResponseFromJSON, GetInvoiceItemsResponse, @@ -203,12 +223,16 @@ import { UpdateAccountingDepartmentResponseFromJSON, UpdateAccountingLocationResponse, UpdateAccountingLocationResponseFromJSON, + UpdateBillPaymentResponse, + UpdateBillPaymentResponseFromJSON, UpdateBillResponse, UpdateBillResponseFromJSON, UpdateCreditNoteResponse, UpdateCreditNoteResponseFromJSON, UpdateCustomerResponse, UpdateCustomerResponseFromJSON, + UpdateExpenseResponse, + UpdateExpenseResponseFromJSON, UpdateInvoiceItemsResponse, UpdateInvoiceItemsResponseFromJSON, UpdateInvoiceResponse, @@ -284,6 +308,53 @@ export interface AccountingApiBalanceSheetOneRequest { raw?: boolean } +export interface AccountingApiBillPaymentsAddRequest { + billPayment: BillPayment + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string +} + +export interface AccountingApiBillPaymentsAllRequest { + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string + cursor?: string | null + limit?: number + filter?: PaymentsFilter + sort?: PaymentsSort + passThrough?: PassThroughQuery + fields?: string | null +} + +export interface AccountingApiBillPaymentsDeleteRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface AccountingApiBillPaymentsOneRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean + fields?: string | null +} + +export interface AccountingApiBillPaymentsUpdateRequest { + id: string + billPayment: BillPayment + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + export interface AccountingApiBillsAddRequest { bill: Bill raw?: boolean @@ -478,6 +549,48 @@ export interface AccountingApiDepartmentsUpdateRequest { raw?: boolean } +export interface AccountingApiExpensesAddRequest { + expense: Expense + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string +} + +export interface AccountingApiExpensesAllRequest { + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string + cursor?: string | null + limit?: number +} + +export interface AccountingApiExpensesDeleteRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface AccountingApiExpensesOneRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface AccountingApiExpensesUpdateRequest { + id: string + expense: Expense + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + export interface AccountingApiInvoiceItemsAddRequest { invoiceItem: InvoiceItem raw?: boolean @@ -1419,17 +1532,17 @@ export class AccountingApi extends runtime.BaseAPI { } /** - * Create Bill - * Create Bill + * Create Bill Payment + * Create Bill Payment */ - async billsAddRaw( - requestParameters: AccountingApiBillsAddRequest, + async billPaymentsAddRaw( + requestParameters: AccountingApiBillPaymentsAddRequest, initOverrides?: RequestInit - ): Promise> { - if (requestParameters.bill === null || requestParameters.bill === undefined) { + ): Promise> { + if (requestParameters.billPayment === null || requestParameters.billPayment === undefined) { throw new runtime.RequiredError( - 'bill', - 'Required parameter requestParameters.bill was null or undefined when calling billsAdd.' + 'billPayment', + 'Required parameter requestParameters.billPayment was null or undefined when calling billPaymentsAdd.' ) } @@ -1461,38 +1574,40 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/bills`, + path: `/accounting/bill-payments`, method: 'POST', headers: headerParameters, query: queryParameters, - body: BillToJSON(requestParameters.bill) + body: BillPaymentToJSON(requestParameters.billPayment) }, initOverrides ) - return new runtime.JSONApiResponse(response, jsonValue => CreateBillResponseFromJSON(jsonValue)) + return new runtime.JSONApiResponse(response, jsonValue => + CreateBillPaymentResponseFromJSON(jsonValue) + ) } /** - * Create Bill - * Create Bill + * Create Bill Payment + * Create Bill Payment */ - async billsAdd( - requestParameters: AccountingApiBillsAddRequest, + async billPaymentsAdd( + requestParameters: AccountingApiBillPaymentsAddRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.billsAddRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.billPaymentsAddRaw(requestParameters, initOverrides) return await response.value() } /** - * List Bills - * List Bills + * List Bill Payments + * List Bill Payments */ - async billsAllRaw( - requestParameters: AccountingApiBillsAllRequest, + async billPaymentsAllRaw( + requestParameters: AccountingApiBillPaymentsAllRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { const queryParameters: any = {} if (requestParameters.raw !== undefined) { @@ -1543,7 +1658,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/bills`, + path: `/accounting/bill-payments`, method: 'GET', headers: headerParameters, query: queryParameters @@ -1551,33 +1666,35 @@ export class AccountingApi extends runtime.BaseAPI { initOverrides ) - return new runtime.JSONApiResponse(response, jsonValue => GetBillsResponseFromJSON(jsonValue)) + return new runtime.JSONApiResponse(response, jsonValue => + GetBillPaymentsResponseFromJSON(jsonValue) + ) } /** - * List Bills - * List Bills + * List Bill Payments + * List Bill Payments */ - async billsAll( - requestParameters: AccountingApiBillsAllRequest = {}, + async billPaymentsAll( + requestParameters: AccountingApiBillPaymentsAllRequest = {}, initOverrides?: RequestInit - ): Promise { - const response = await this.billsAllRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.billPaymentsAllRaw(requestParameters, initOverrides) return await response.value() } /** - * Delete Bill - * Delete Bill + * Delete Bill Payment + * Delete Bill Payment */ - async billsDeleteRaw( - requestParameters: AccountingApiBillsDeleteRequest, + async billPaymentsDeleteRaw( + requestParameters: AccountingApiBillPaymentsDeleteRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling billsDelete.' + 'Required parameter requestParameters.id was null or undefined when calling billPaymentsDelete.' ) } @@ -1607,7 +1724,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/bills/{id}`.replace( + path: `/accounting/bill-payments/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -1618,33 +1735,35 @@ export class AccountingApi extends runtime.BaseAPI { initOverrides ) - return new runtime.JSONApiResponse(response, jsonValue => DeleteBillResponseFromJSON(jsonValue)) + return new runtime.JSONApiResponse(response, jsonValue => + DeleteBillPaymentResponseFromJSON(jsonValue) + ) } /** - * Delete Bill - * Delete Bill + * Delete Bill Payment + * Delete Bill Payment */ - async billsDelete( - requestParameters: AccountingApiBillsDeleteRequest, + async billPaymentsDelete( + requestParameters: AccountingApiBillPaymentsDeleteRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.billsDeleteRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.billPaymentsDeleteRaw(requestParameters, initOverrides) return await response.value() } /** - * Get Bill - * Get Bill + * Get Bill Payment + * Get Bill Payment */ - async billsOneRaw( - requestParameters: AccountingApiBillsOneRequest, + async billPaymentsOneRaw( + requestParameters: AccountingApiBillPaymentsOneRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling billsOne.' + 'Required parameter requestParameters.id was null or undefined when calling billPaymentsOne.' ) } @@ -1678,7 +1797,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/bills/{id}`.replace( + path: `/accounting/bill-payments/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -1689,40 +1808,42 @@ export class AccountingApi extends runtime.BaseAPI { initOverrides ) - return new runtime.JSONApiResponse(response, jsonValue => GetBillResponseFromJSON(jsonValue)) + return new runtime.JSONApiResponse(response, jsonValue => + GetBillPaymentResponseFromJSON(jsonValue) + ) } /** - * Get Bill - * Get Bill + * Get Bill Payment + * Get Bill Payment */ - async billsOne( - requestParameters: AccountingApiBillsOneRequest, + async billPaymentsOne( + requestParameters: AccountingApiBillPaymentsOneRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.billsOneRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.billPaymentsOneRaw(requestParameters, initOverrides) return await response.value() } /** - * Update Bill - * Update Bill + * Update Bill Payment + * Update Bill Payment */ - async billsUpdateRaw( - requestParameters: AccountingApiBillsUpdateRequest, + async billPaymentsUpdateRaw( + requestParameters: AccountingApiBillPaymentsUpdateRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling billsUpdate.' + 'Required parameter requestParameters.id was null or undefined when calling billPaymentsUpdate.' ) } - if (requestParameters.bill === null || requestParameters.bill === undefined) { + if (requestParameters.billPayment === null || requestParameters.billPayment === undefined) { throw new runtime.RequiredError( - 'bill', - 'Required parameter requestParameters.bill was null or undefined when calling billsUpdate.' + 'billPayment', + 'Required parameter requestParameters.billPayment was null or undefined when calling billPaymentsUpdate.' ) } @@ -1754,53 +1875,60 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/bills/{id}`.replace( + path: `/accounting/bill-payments/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), method: 'PATCH', headers: headerParameters, query: queryParameters, - body: BillToJSON(requestParameters.bill) + body: BillPaymentToJSON(requestParameters.billPayment) }, initOverrides ) - return new runtime.JSONApiResponse(response, jsonValue => UpdateBillResponseFromJSON(jsonValue)) + return new runtime.JSONApiResponse(response, jsonValue => + UpdateBillPaymentResponseFromJSON(jsonValue) + ) } /** - * Update Bill - * Update Bill + * Update Bill Payment + * Update Bill Payment */ - async billsUpdate( - requestParameters: AccountingApiBillsUpdateRequest, + async billPaymentsUpdate( + requestParameters: AccountingApiBillPaymentsUpdateRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.billsUpdateRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.billPaymentsUpdateRaw(requestParameters, initOverrides) return await response.value() } /** - * Get company info - * Get company info + * Create Bill + * Create Bill */ - async companyInfoOneRaw( - requestParameters: AccountingApiCompanyInfoOneRequest, + async billsAddRaw( + requestParameters: AccountingApiBillsAddRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { + if (requestParameters.bill === null || requestParameters.bill === undefined) { + throw new runtime.RequiredError( + 'bill', + 'Required parameter requestParameters.bill was null or undefined when calling billsAdd.' + ) + } + const queryParameters: any = {} if (requestParameters.raw !== undefined) { queryParameters['raw'] = requestParameters.raw } - if (requestParameters.fields !== undefined) { - queryParameters['fields'] = requestParameters.fields - } - const headerParameters: runtime.HTTPHeaders = {} + headerParameters['Content-Type'] = 'application/json' + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) } @@ -1819,55 +1947,69 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/company-info`, - method: 'GET', + path: `/accounting/bills`, + method: 'POST', headers: headerParameters, - query: queryParameters + query: queryParameters, + body: BillToJSON(requestParameters.bill) }, initOverrides ) - return new runtime.JSONApiResponse(response, jsonValue => - GetCompanyInfoResponseFromJSON(jsonValue) - ) + return new runtime.JSONApiResponse(response, jsonValue => CreateBillResponseFromJSON(jsonValue)) } /** - * Get company info - * Get company info + * Create Bill + * Create Bill */ - async companyInfoOne( - requestParameters: AccountingApiCompanyInfoOneRequest = {}, + async billsAdd( + requestParameters: AccountingApiBillsAddRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.companyInfoOneRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.billsAddRaw(requestParameters, initOverrides) return await response.value() } /** - * Create Credit Note - * Create Credit Note + * List Bills + * List Bills */ - async creditNotesAddRaw( - requestParameters: AccountingApiCreditNotesAddRequest, + async billsAllRaw( + requestParameters: AccountingApiBillsAllRequest, initOverrides?: RequestInit - ): Promise> { - if (requestParameters.creditNote === null || requestParameters.creditNote === undefined) { - throw new runtime.RequiredError( - 'creditNote', - 'Required parameter requestParameters.creditNote was null or undefined when calling creditNotesAdd.' - ) - } - + ): Promise> { const queryParameters: any = {} if (requestParameters.raw !== undefined) { queryParameters['raw'] = requestParameters.raw } - const headerParameters: runtime.HTTPHeaders = {} + if (requestParameters.cursor !== undefined) { + queryParameters['cursor'] = requestParameters.cursor + } - headerParameters['Content-Type'] = 'application/json' + if (requestParameters.limit !== undefined) { + queryParameters['limit'] = requestParameters.limit + } + + if (requestParameters.filter !== undefined) { + queryParameters['filter'] = requestParameters.filter + } + + if (requestParameters.sort !== undefined) { + queryParameters['sort'] = requestParameters.sort + } + + if (requestParameters.passThrough !== undefined) { + queryParameters['pass_through'] = requestParameters.passThrough + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) @@ -1887,40 +2029,757 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/credit-notes`, - method: 'POST', + path: `/accounting/bills`, + method: 'GET', headers: headerParameters, - query: queryParameters, - body: CreditNoteToJSON(requestParameters.creditNote) + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => GetBillsResponseFromJSON(jsonValue)) + } + + /** + * List Bills + * List Bills + */ + async billsAll( + requestParameters: AccountingApiBillsAllRequest = {}, + initOverrides?: RequestInit + ): Promise { + const response = await this.billsAllRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Delete Bill + * Delete Bill + */ + async billsDeleteRaw( + requestParameters: AccountingApiBillsDeleteRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling billsDelete.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bills/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'DELETE', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => DeleteBillResponseFromJSON(jsonValue)) + } + + /** + * Delete Bill + * Delete Bill + */ + async billsDelete( + requestParameters: AccountingApiBillsDeleteRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.billsDeleteRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Get Bill + * Get Bill + */ + async billsOneRaw( + requestParameters: AccountingApiBillsOneRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling billsOne.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bills/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => GetBillResponseFromJSON(jsonValue)) + } + + /** + * Get Bill + * Get Bill + */ + async billsOne( + requestParameters: AccountingApiBillsOneRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.billsOneRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Update Bill + * Update Bill + */ + async billsUpdateRaw( + requestParameters: AccountingApiBillsUpdateRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling billsUpdate.' + ) + } + + if (requestParameters.bill === null || requestParameters.bill === undefined) { + throw new runtime.RequiredError( + 'bill', + 'Required parameter requestParameters.bill was null or undefined when calling billsUpdate.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bills/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'PATCH', + headers: headerParameters, + query: queryParameters, + body: BillToJSON(requestParameters.bill) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => UpdateBillResponseFromJSON(jsonValue)) + } + + /** + * Update Bill + * Update Bill + */ + async billsUpdate( + requestParameters: AccountingApiBillsUpdateRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.billsUpdateRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Get company info + * Get company info + */ + async companyInfoOneRaw( + requestParameters: AccountingApiCompanyInfoOneRequest, + initOverrides?: RequestInit + ): Promise> { + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/company-info`, + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetCompanyInfoResponseFromJSON(jsonValue) + ) + } + + /** + * Get company info + * Get company info + */ + async companyInfoOne( + requestParameters: AccountingApiCompanyInfoOneRequest = {}, + initOverrides?: RequestInit + ): Promise { + const response = await this.companyInfoOneRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Create Credit Note + * Create Credit Note + */ + async creditNotesAddRaw( + requestParameters: AccountingApiCreditNotesAddRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.creditNote === null || requestParameters.creditNote === undefined) { + throw new runtime.RequiredError( + 'creditNote', + 'Required parameter requestParameters.creditNote was null or undefined when calling creditNotesAdd.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/credit-notes`, + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: CreditNoteToJSON(requestParameters.creditNote) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + CreateCreditNoteResponseFromJSON(jsonValue) + ) + } + + /** + * Create Credit Note + * Create Credit Note + */ + async creditNotesAdd( + requestParameters: AccountingApiCreditNotesAddRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.creditNotesAddRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * List Credit Notes + * List Credit Notes + */ + async creditNotesAllRaw( + requestParameters: AccountingApiCreditNotesAllRequest, + initOverrides?: RequestInit + ): Promise> { + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.cursor !== undefined) { + queryParameters['cursor'] = requestParameters.cursor + } + + if (requestParameters.limit !== undefined) { + queryParameters['limit'] = requestParameters.limit + } + + if (requestParameters.filter !== undefined) { + queryParameters['filter'] = requestParameters.filter + } + + if (requestParameters.sort !== undefined) { + queryParameters['sort'] = requestParameters.sort + } + + if (requestParameters.passThrough !== undefined) { + queryParameters['pass_through'] = requestParameters.passThrough + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/credit-notes`, + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetCreditNotesResponseFromJSON(jsonValue) + ) + } + + /** + * List Credit Notes + * List Credit Notes + */ + async creditNotesAll( + requestParameters: AccountingApiCreditNotesAllRequest = {}, + initOverrides?: RequestInit + ): Promise { + const response = await this.creditNotesAllRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Delete Credit Note + * Delete Credit Note + */ + async creditNotesDeleteRaw( + requestParameters: AccountingApiCreditNotesDeleteRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling creditNotesDelete.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/credit-notes/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'DELETE', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + DeleteCreditNoteResponseFromJSON(jsonValue) + ) + } + + /** + * Delete Credit Note + * Delete Credit Note + */ + async creditNotesDelete( + requestParameters: AccountingApiCreditNotesDeleteRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.creditNotesDeleteRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Get Credit Note + * Get Credit Note + */ + async creditNotesOneRaw( + requestParameters: AccountingApiCreditNotesOneRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling creditNotesOne.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/credit-notes/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetCreditNoteResponseFromJSON(jsonValue) + ) + } + + /** + * Get Credit Note + * Get Credit Note + */ + async creditNotesOne( + requestParameters: AccountingApiCreditNotesOneRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.creditNotesOneRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Update Credit Note + * Update Credit Note + */ + async creditNotesUpdateRaw( + requestParameters: AccountingApiCreditNotesUpdateRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling creditNotesUpdate.' + ) + } + + if (requestParameters.creditNote === null || requestParameters.creditNote === undefined) { + throw new runtime.RequiredError( + 'creditNote', + 'Required parameter requestParameters.creditNote was null or undefined when calling creditNotesUpdate.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/credit-notes/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'PATCH', + headers: headerParameters, + query: queryParameters, + body: CreditNoteToJSON(requestParameters.creditNote) }, initOverrides ) return new runtime.JSONApiResponse(response, jsonValue => - CreateCreditNoteResponseFromJSON(jsonValue) + UpdateCreditNoteResponseFromJSON(jsonValue) ) } /** - * Create Credit Note - * Create Credit Note + * Update Credit Note + * Update Credit Note */ - async creditNotesAdd( - requestParameters: AccountingApiCreditNotesAddRequest, + async creditNotesUpdate( + requestParameters: AccountingApiCreditNotesUpdateRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.creditNotesAddRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.creditNotesUpdateRaw(requestParameters, initOverrides) return await response.value() } /** - * List Credit Notes - * List Credit Notes + * Create Customer + * Create Customer */ - async creditNotesAllRaw( - requestParameters: AccountingApiCreditNotesAllRequest, + async customersAddRaw( + requestParameters: AccountingApiCustomersAddRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { + if (requestParameters.customer === null || requestParameters.customer === undefined) { + throw new runtime.RequiredError( + 'customer', + 'Required parameter requestParameters.customer was null or undefined when calling customersAdd.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/customers`, + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: CustomerToJSON(requestParameters.customer) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + CreateCustomerResponseFromJSON(jsonValue) + ) + } + + /** + * Create Customer + * Create Customer + */ + async customersAdd( + requestParameters: AccountingApiCustomersAddRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customersAddRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * List Customers + * List Customers + */ + async customersAllRaw( + requestParameters: AccountingApiCustomersAllRequest, + initOverrides?: RequestInit + ): Promise> { const queryParameters: any = {} if (requestParameters.raw !== undefined) { @@ -1971,7 +2830,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/credit-notes`, + path: `/accounting/customers`, method: 'GET', headers: headerParameters, query: queryParameters @@ -1980,34 +2839,34 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - GetCreditNotesResponseFromJSON(jsonValue) + GetCustomersResponseFromJSON(jsonValue) ) } /** - * List Credit Notes - * List Credit Notes + * List Customers + * List Customers */ - async creditNotesAll( - requestParameters: AccountingApiCreditNotesAllRequest = {}, + async customersAll( + requestParameters: AccountingApiCustomersAllRequest = {}, initOverrides?: RequestInit - ): Promise { - const response = await this.creditNotesAllRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.customersAllRaw(requestParameters, initOverrides) return await response.value() } /** - * Delete Credit Note - * Delete Credit Note + * Delete Customer + * Delete Customer */ - async creditNotesDeleteRaw( - requestParameters: AccountingApiCreditNotesDeleteRequest, + async customersDeleteRaw( + requestParameters: AccountingApiCustomersDeleteRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling creditNotesDelete.' + 'Required parameter requestParameters.id was null or undefined when calling customersDelete.' ) } @@ -2037,7 +2896,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/credit-notes/{id}`.replace( + path: `/accounting/customers/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -2049,34 +2908,34 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - DeleteCreditNoteResponseFromJSON(jsonValue) + DeleteCustomerResponseFromJSON(jsonValue) ) } /** - * Delete Credit Note - * Delete Credit Note + * Delete Customer + * Delete Customer */ - async creditNotesDelete( - requestParameters: AccountingApiCreditNotesDeleteRequest, + async customersDelete( + requestParameters: AccountingApiCustomersDeleteRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.creditNotesDeleteRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.customersDeleteRaw(requestParameters, initOverrides) return await response.value() } /** - * Get Credit Note - * Get Credit Note + * Get Customer + * Get Customer */ - async creditNotesOneRaw( - requestParameters: AccountingApiCreditNotesOneRequest, + async customersOneRaw( + requestParameters: AccountingApiCustomersOneRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling creditNotesOne.' + 'Required parameter requestParameters.id was null or undefined when calling customersOne.' ) } @@ -2110,7 +2969,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/credit-notes/{id}`.replace( + path: `/accounting/customers/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -2122,41 +2981,41 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - GetCreditNoteResponseFromJSON(jsonValue) + GetCustomerResponseFromJSON(jsonValue) ) } /** - * Get Credit Note - * Get Credit Note + * Get Customer + * Get Customer */ - async creditNotesOne( - requestParameters: AccountingApiCreditNotesOneRequest, + async customersOne( + requestParameters: AccountingApiCustomersOneRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.creditNotesOneRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.customersOneRaw(requestParameters, initOverrides) return await response.value() } /** - * Update Credit Note - * Update Credit Note + * Update Customer + * Update Customer */ - async creditNotesUpdateRaw( - requestParameters: AccountingApiCreditNotesUpdateRequest, + async customersUpdateRaw( + requestParameters: AccountingApiCustomersUpdateRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling creditNotesUpdate.' + 'Required parameter requestParameters.id was null or undefined when calling customersUpdate.' ) } - if (requestParameters.creditNote === null || requestParameters.creditNote === undefined) { + if (requestParameters.customer === null || requestParameters.customer === undefined) { throw new runtime.RequiredError( - 'creditNote', - 'Required parameter requestParameters.creditNote was null or undefined when calling creditNotesUpdate.' + 'customer', + 'Required parameter requestParameters.customer was null or undefined when calling customersUpdate.' ) } @@ -2188,47 +3047,47 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/credit-notes/{id}`.replace( + path: `/accounting/customers/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), method: 'PATCH', headers: headerParameters, query: queryParameters, - body: CreditNoteToJSON(requestParameters.creditNote) + body: CustomerToJSON(requestParameters.customer) }, initOverrides ) return new runtime.JSONApiResponse(response, jsonValue => - UpdateCreditNoteResponseFromJSON(jsonValue) + UpdateCustomerResponseFromJSON(jsonValue) ) } /** - * Update Credit Note - * Update Credit Note + * Update Customer + * Update Customer */ - async creditNotesUpdate( - requestParameters: AccountingApiCreditNotesUpdateRequest, + async customersUpdate( + requestParameters: AccountingApiCustomersUpdateRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.creditNotesUpdateRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.customersUpdateRaw(requestParameters, initOverrides) return await response.value() } /** - * Create Customer - * Create Customer + * Create Department + * Create Department */ - async customersAddRaw( - requestParameters: AccountingApiCustomersAddRequest, + async departmentsAddRaw( + requestParameters: AccountingApiDepartmentsAddRequest, initOverrides?: RequestInit - ): Promise> { - if (requestParameters.customer === null || requestParameters.customer === undefined) { + ): Promise> { + if (requestParameters.department === null || requestParameters.department === undefined) { throw new runtime.RequiredError( - 'customer', - 'Required parameter requestParameters.customer was null or undefined when calling customersAdd.' + 'department', + 'Required parameter requestParameters.department was null or undefined when calling departmentsAdd.' ) } @@ -2260,40 +3119,40 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/customers`, + path: `/accounting/departments`, method: 'POST', headers: headerParameters, query: queryParameters, - body: CustomerToJSON(requestParameters.customer) + body: AccountingDepartmentToJSON(requestParameters.department) }, initOverrides ) return new runtime.JSONApiResponse(response, jsonValue => - CreateCustomerResponseFromJSON(jsonValue) + CreateAccountingDepartmentResponseFromJSON(jsonValue) ) } /** - * Create Customer - * Create Customer + * Create Department + * Create Department */ - async customersAdd( - requestParameters: AccountingApiCustomersAddRequest, + async departmentsAdd( + requestParameters: AccountingApiDepartmentsAddRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.customersAddRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.departmentsAddRaw(requestParameters, initOverrides) return await response.value() } /** - * List Customers - * List Customers + * List Departments + * List Departments */ - async customersAllRaw( - requestParameters: AccountingApiCustomersAllRequest, + async departmentsAllRaw( + requestParameters: AccountingApiDepartmentsAllRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { const queryParameters: any = {} if (requestParameters.raw !== undefined) { @@ -2308,22 +3167,14 @@ export class AccountingApi extends runtime.BaseAPI { queryParameters['limit'] = requestParameters.limit } - if (requestParameters.filter !== undefined) { - queryParameters['filter'] = requestParameters.filter - } - - if (requestParameters.sort !== undefined) { - queryParameters['sort'] = requestParameters.sort - } - - if (requestParameters.passThrough !== undefined) { - queryParameters['pass_through'] = requestParameters.passThrough - } - if (requestParameters.fields !== undefined) { queryParameters['fields'] = requestParameters.fields } + if (requestParameters.filter !== undefined) { + queryParameters['filter'] = requestParameters.filter + } + const headerParameters: runtime.HTTPHeaders = {} if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { @@ -2344,7 +3195,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/customers`, + path: `/accounting/departments`, method: 'GET', headers: headerParameters, query: queryParameters @@ -2353,34 +3204,34 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - GetCustomersResponseFromJSON(jsonValue) + GetAccountingDepartmentsResponseFromJSON(jsonValue) ) } /** - * List Customers - * List Customers + * List Departments + * List Departments */ - async customersAll( - requestParameters: AccountingApiCustomersAllRequest = {}, + async departmentsAll( + requestParameters: AccountingApiDepartmentsAllRequest = {}, initOverrides?: RequestInit - ): Promise { - const response = await this.customersAllRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.departmentsAllRaw(requestParameters, initOverrides) return await response.value() } /** - * Delete Customer - * Delete Customer + * Delete Department + * Delete Department */ - async customersDeleteRaw( - requestParameters: AccountingApiCustomersDeleteRequest, + async departmentsDeleteRaw( + requestParameters: AccountingApiDepartmentsDeleteRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling customersDelete.' + 'Required parameter requestParameters.id was null or undefined when calling departmentsDelete.' ) } @@ -2410,7 +3261,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/customers/{id}`.replace( + path: `/accounting/departments/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -2422,34 +3273,34 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - DeleteCustomerResponseFromJSON(jsonValue) + DeleteAccountingDepartmentResponseFromJSON(jsonValue) ) } /** - * Delete Customer - * Delete Customer + * Delete Department + * Delete Department */ - async customersDelete( - requestParameters: AccountingApiCustomersDeleteRequest, + async departmentsDelete( + requestParameters: AccountingApiDepartmentsDeleteRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.customersDeleteRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.departmentsDeleteRaw(requestParameters, initOverrides) return await response.value() } /** - * Get Customer - * Get Customer + * Get Department + * Get Department */ - async customersOneRaw( - requestParameters: AccountingApiCustomersOneRequest, + async departmentsOneRaw( + requestParameters: AccountingApiDepartmentsOneRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling customersOne.' + 'Required parameter requestParameters.id was null or undefined when calling departmentsOne.' ) } @@ -2483,7 +3334,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/customers/{id}`.replace( + path: `/accounting/departments/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -2495,41 +3346,41 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - GetCustomerResponseFromJSON(jsonValue) + GetAccountingDepartmentResponseFromJSON(jsonValue) ) } /** - * Get Customer - * Get Customer + * Get Department + * Get Department */ - async customersOne( - requestParameters: AccountingApiCustomersOneRequest, + async departmentsOne( + requestParameters: AccountingApiDepartmentsOneRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.customersOneRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.departmentsOneRaw(requestParameters, initOverrides) return await response.value() } /** - * Update Customer - * Update Customer + * Update Department + * Update Department */ - async customersUpdateRaw( - requestParameters: AccountingApiCustomersUpdateRequest, + async departmentsUpdateRaw( + requestParameters: AccountingApiDepartmentsUpdateRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling customersUpdate.' + 'Required parameter requestParameters.id was null or undefined when calling departmentsUpdate.' ) } - if (requestParameters.customer === null || requestParameters.customer === undefined) { + if (requestParameters.department === null || requestParameters.department === undefined) { throw new runtime.RequiredError( - 'customer', - 'Required parameter requestParameters.customer was null or undefined when calling customersUpdate.' + 'department', + 'Required parameter requestParameters.department was null or undefined when calling departmentsUpdate.' ) } @@ -2561,47 +3412,47 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/customers/{id}`.replace( + path: `/accounting/departments/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), method: 'PATCH', headers: headerParameters, query: queryParameters, - body: CustomerToJSON(requestParameters.customer) + body: AccountingDepartmentToJSON(requestParameters.department) }, initOverrides ) return new runtime.JSONApiResponse(response, jsonValue => - UpdateCustomerResponseFromJSON(jsonValue) + UpdateAccountingDepartmentResponseFromJSON(jsonValue) ) } /** - * Update Customer - * Update Customer + * Update Department + * Update Department */ - async customersUpdate( - requestParameters: AccountingApiCustomersUpdateRequest, + async departmentsUpdate( + requestParameters: AccountingApiDepartmentsUpdateRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.customersUpdateRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.departmentsUpdateRaw(requestParameters, initOverrides) return await response.value() } /** - * Create Department - * Create Department + * Create Expense + * Create Expense */ - async departmentsAddRaw( - requestParameters: AccountingApiDepartmentsAddRequest, + async expensesAddRaw( + requestParameters: AccountingApiExpensesAddRequest, initOverrides?: RequestInit - ): Promise> { - if (requestParameters.department === null || requestParameters.department === undefined) { + ): Promise> { + if (requestParameters.expense === null || requestParameters.expense === undefined) { throw new runtime.RequiredError( - 'department', - 'Required parameter requestParameters.department was null or undefined when calling departmentsAdd.' + 'expense', + 'Required parameter requestParameters.expense was null or undefined when calling expensesAdd.' ) } @@ -2633,40 +3484,40 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/departments`, + path: `/accounting/expenses`, method: 'POST', headers: headerParameters, query: queryParameters, - body: AccountingDepartmentToJSON(requestParameters.department) + body: ExpenseToJSON(requestParameters.expense) }, initOverrides ) return new runtime.JSONApiResponse(response, jsonValue => - CreateAccountingDepartmentResponseFromJSON(jsonValue) + CreateExpenseResponseFromJSON(jsonValue) ) } /** - * Create Department - * Create Department + * Create Expense + * Create Expense */ - async departmentsAdd( - requestParameters: AccountingApiDepartmentsAddRequest, + async expensesAdd( + requestParameters: AccountingApiExpensesAddRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.departmentsAddRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.expensesAddRaw(requestParameters, initOverrides) return await response.value() } /** - * List Departments - * List Departments + * List Expenses + * List Expenses */ - async departmentsAllRaw( - requestParameters: AccountingApiDepartmentsAllRequest, + async expensesAllRaw( + requestParameters: AccountingApiExpensesAllRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { const queryParameters: any = {} if (requestParameters.raw !== undefined) { @@ -2681,14 +3532,6 @@ export class AccountingApi extends runtime.BaseAPI { queryParameters['limit'] = requestParameters.limit } - if (requestParameters.fields !== undefined) { - queryParameters['fields'] = requestParameters.fields - } - - if (requestParameters.filter !== undefined) { - queryParameters['filter'] = requestParameters.filter - } - const headerParameters: runtime.HTTPHeaders = {} if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { @@ -2709,7 +3552,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/departments`, + path: `/accounting/expenses`, method: 'GET', headers: headerParameters, query: queryParameters @@ -2718,34 +3561,34 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - GetAccountingDepartmentsResponseFromJSON(jsonValue) + GetExpensesResponseFromJSON(jsonValue) ) } /** - * List Departments - * List Departments + * List Expenses + * List Expenses */ - async departmentsAll( - requestParameters: AccountingApiDepartmentsAllRequest = {}, + async expensesAll( + requestParameters: AccountingApiExpensesAllRequest = {}, initOverrides?: RequestInit - ): Promise { - const response = await this.departmentsAllRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.expensesAllRaw(requestParameters, initOverrides) return await response.value() } /** - * Delete Department - * Delete Department + * Delete Expense + * Delete Expense */ - async departmentsDeleteRaw( - requestParameters: AccountingApiDepartmentsDeleteRequest, + async expensesDeleteRaw( + requestParameters: AccountingApiExpensesDeleteRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling departmentsDelete.' + 'Required parameter requestParameters.id was null or undefined when calling expensesDelete.' ) } @@ -2775,7 +3618,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/departments/{id}`.replace( + path: `/accounting/expenses/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -2787,34 +3630,34 @@ export class AccountingApi extends runtime.BaseAPI { ) return new runtime.JSONApiResponse(response, jsonValue => - DeleteAccountingDepartmentResponseFromJSON(jsonValue) + DeleteExpenseResponseFromJSON(jsonValue) ) } /** - * Delete Department - * Delete Department + * Delete Expense + * Delete Expense */ - async departmentsDelete( - requestParameters: AccountingApiDepartmentsDeleteRequest, + async expensesDelete( + requestParameters: AccountingApiExpensesDeleteRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.departmentsDeleteRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.expensesDeleteRaw(requestParameters, initOverrides) return await response.value() } /** - * Get Department - * Get Department + * Get Expense + * Get Expense */ - async departmentsOneRaw( - requestParameters: AccountingApiDepartmentsOneRequest, + async expensesOneRaw( + requestParameters: AccountingApiExpensesOneRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling departmentsOne.' + 'Required parameter requestParameters.id was null or undefined when calling expensesOne.' ) } @@ -2824,10 +3667,6 @@ export class AccountingApi extends runtime.BaseAPI { queryParameters['raw'] = requestParameters.raw } - if (requestParameters.fields !== undefined) { - queryParameters['fields'] = requestParameters.fields - } - const headerParameters: runtime.HTTPHeaders = {} if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { @@ -2848,7 +3687,7 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/departments/{id}`.replace( + path: `/accounting/expenses/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), @@ -2859,42 +3698,40 @@ export class AccountingApi extends runtime.BaseAPI { initOverrides ) - return new runtime.JSONApiResponse(response, jsonValue => - GetAccountingDepartmentResponseFromJSON(jsonValue) - ) + return new runtime.JSONApiResponse(response, jsonValue => GetExpenseResponseFromJSON(jsonValue)) } /** - * Get Department - * Get Department + * Get Expense + * Get Expense */ - async departmentsOne( - requestParameters: AccountingApiDepartmentsOneRequest, + async expensesOne( + requestParameters: AccountingApiExpensesOneRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.departmentsOneRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.expensesOneRaw(requestParameters, initOverrides) return await response.value() } /** - * Update Department - * Update Department + * Update Expense + * Update Expense */ - async departmentsUpdateRaw( - requestParameters: AccountingApiDepartmentsUpdateRequest, + async expensesUpdateRaw( + requestParameters: AccountingApiExpensesUpdateRequest, initOverrides?: RequestInit - ): Promise> { + ): Promise> { if (requestParameters.id === null || requestParameters.id === undefined) { throw new runtime.RequiredError( 'id', - 'Required parameter requestParameters.id was null or undefined when calling departmentsUpdate.' + 'Required parameter requestParameters.id was null or undefined when calling expensesUpdate.' ) } - if (requestParameters.department === null || requestParameters.department === undefined) { + if (requestParameters.expense === null || requestParameters.expense === undefined) { throw new runtime.RequiredError( - 'department', - 'Required parameter requestParameters.department was null or undefined when calling departmentsUpdate.' + 'expense', + 'Required parameter requestParameters.expense was null or undefined when calling expensesUpdate.' ) } @@ -2926,32 +3763,32 @@ export class AccountingApi extends runtime.BaseAPI { const response = await this.request( { - path: `/accounting/departments/{id}`.replace( + path: `/accounting/expenses/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(requestParameters.id)) ), method: 'PATCH', headers: headerParameters, query: queryParameters, - body: AccountingDepartmentToJSON(requestParameters.department) + body: ExpenseToJSON(requestParameters.expense) }, initOverrides ) return new runtime.JSONApiResponse(response, jsonValue => - UpdateAccountingDepartmentResponseFromJSON(jsonValue) + UpdateExpenseResponseFromJSON(jsonValue) ) } /** - * Update Department - * Update Department + * Update Expense + * Update Expense */ - async departmentsUpdate( - requestParameters: AccountingApiDepartmentsUpdateRequest, + async expensesUpdate( + requestParameters: AccountingApiExpensesUpdateRequest, initOverrides?: RequestInit - ): Promise { - const response = await this.departmentsUpdateRaw(requestParameters, initOverrides) + ): Promise { + const response = await this.expensesUpdateRaw(requestParameters, initOverrides) return await response.value() } diff --git a/src/gen/apis/AtsApi.ts b/src/gen/apis/AtsApi.ts index 1a8340327..b17d19447 100644 --- a/src/gen/apis/AtsApi.ts +++ b/src/gen/apis/AtsApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/ConnectorApi.ts b/src/gen/apis/ConnectorApi.ts index 595a69d19..549b11b46 100644 --- a/src/gen/apis/ConnectorApi.ts +++ b/src/gen/apis/ConnectorApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/CrmApi.ts b/src/gen/apis/CrmApi.ts index 1a59cbc04..cb968e13a 100644 --- a/src/gen/apis/CrmApi.ts +++ b/src/gen/apis/CrmApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/EcommerceApi.ts b/src/gen/apis/EcommerceApi.ts index 3eee0e104..7c9e76e6f 100644 --- a/src/gen/apis/EcommerceApi.ts +++ b/src/gen/apis/EcommerceApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/FileStorageApi.ts b/src/gen/apis/FileStorageApi.ts index 034b8cadb..924ddce41 100644 --- a/src/gen/apis/FileStorageApi.ts +++ b/src/gen/apis/FileStorageApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/HrisApi.ts b/src/gen/apis/HrisApi.ts index 9db032bdc..b1a547480 100644 --- a/src/gen/apis/HrisApi.ts +++ b/src/gen/apis/HrisApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -238,6 +238,7 @@ export interface HrisApiEmployeesOneRequest { raw?: boolean fields?: string | null filter?: EmployeesOneFilter + passThrough?: PassThroughQuery } export interface HrisApiEmployeesUpdateRequest { @@ -1538,6 +1539,10 @@ export class HrisApi extends runtime.BaseAPI { queryParameters['filter'] = requestParameters.filter } + if (requestParameters.passThrough !== undefined) { + queryParameters['pass_through'] = requestParameters.passThrough + } + const headerParameters: runtime.HTTPHeaders = {} if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { diff --git a/src/gen/apis/IssueTrackingApi.ts b/src/gen/apis/IssueTrackingApi.ts index 6cc3dc73c..e0cdab668 100644 --- a/src/gen/apis/IssueTrackingApi.ts +++ b/src/gen/apis/IssueTrackingApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/LeadApi.ts b/src/gen/apis/LeadApi.ts index b53cab712..3aa137b80 100644 --- a/src/gen/apis/LeadApi.ts +++ b/src/gen/apis/LeadApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/PosApi.ts b/src/gen/apis/PosApi.ts index d7b3e8b15..c0f59e488 100644 --- a/src/gen/apis/PosApi.ts +++ b/src/gen/apis/PosApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/SmsApi.ts b/src/gen/apis/SmsApi.ts index ee181b6c9..a8f86d12c 100644 --- a/src/gen/apis/SmsApi.ts +++ b/src/gen/apis/SmsApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/VaultApi.ts b/src/gen/apis/VaultApi.ts index c5178825a..d4747e314 100644 --- a/src/gen/apis/VaultApi.ts +++ b/src/gen/apis/VaultApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/WebhookApi.ts b/src/gen/apis/WebhookApi.ts index 0b3d559c8..d45057f17 100644 --- a/src/gen/apis/WebhookApi.ts +++ b/src/gen/apis/WebhookApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/docs/apis/AccountingApi.md b/src/gen/docs/apis/AccountingApi.md index ec6b328ff..52f8653db 100644 --- a/src/gen/docs/apis/AccountingApi.md +++ b/src/gen/docs/apis/AccountingApi.md @@ -10,6 +10,11 @@ * [Download Attachment](#attachmentsDownload) * [Get Attachment](#attachmentsOne) * [Get BalanceSheet](#balanceSheetOne) +* [Create Bill Payment](#billPaymentsAdd) +* [List Bill Payments](#billPaymentsAll) +* [Delete Bill Payment](#billPaymentsDelete) +* [Get Bill Payment](#billPaymentsOne) +* [Update Bill Payment](#billPaymentsUpdate) * [Create Bill](#billsAdd) * [List Bills](#billsAll) * [Delete Bill](#billsDelete) @@ -31,6 +36,11 @@ * [Delete Department](#departmentsDelete) * [Get Department](#departmentsOne) * [Update Department](#departmentsUpdate) +* [Create Expense](#expensesAdd) +* [List Expenses](#expensesAll) +* [Delete Expense](#expensesDelete) +* [Get Expense](#expensesOne) +* [Update Expense](#expensesUpdate) * [Create Invoice Item](#invoiceItemsAdd) * [List Invoice Items](#invoiceItemsAll) * [Delete Invoice Item](#invoiceItemsDelete) @@ -450,21 +460,21 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Create Bill + +# Create Bill Payment -Method: **billsAdd** +Method: **billPaymentsAdd** ```typescript -accountingApi.billsAdd(body) +accountingApi.billPaymentsAdd(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **bill** | [Bill](../models/Bill.md)| | + **billPayment** | [BillPayment](../models/BillPayment.md)| | **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) @@ -474,14 +484,14 @@ Name | Type | Description | Notes ### Response Type -[`CreateBillResponse`](../models/CreateBillResponse.md) +[`CreateBillPaymentResponse`](../models/CreateBillPaymentResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**201** | Bill created | +**201** | Bill Payment created | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -502,8 +512,20 @@ const apideck = new Apideck({ }); const params = { - bill: { - bill_number: '10001', + billPayment: { + currency: 'USD', + currency_rate: 0.69, + total_amount: 1000, + reference: '123456', + payment_method: 'cash', + payment_method_reference: '123456', + payment_method_id: '12345', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + transaction_date: '2021-05-01T12:00:00.000Z', supplier: { id: '12345', display_name: 'Windsurf Shop', @@ -535,92 +557,35 @@ const params = { } }, company_id: '12345', - currency: 'USD', - currency_rate: 0.69, - tax_inclusive: true, - bill_date: '2020-09-30', - due_date: '2020-10-30', - paid_date: '2020-10-30', - po_number: '90000117', - reference: '123456', - line_items: [ + reconciled: true, + status: 'authorised', + type: 'accounts_receivable', + allocations: [ { - row_id: '12345', - code: '120-C', - line_number: 1, - description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'expense_account', - tax_amount: 27500, - total_amount: 27500, - quantity: 1, - unit_price: 27500.5, - unit_of_measure: 'pc.', - discount_percentage: 0.01, - discount_amount: 19.99, - location_id: '1234', - department_id: '1234', - item: { - id: '12344', - code: '120-C', - name: 'Model Y' - }, - tax_rate: { - id: '123456', - rate: 10 - }, - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], - row_version: '1-12345' + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' } ], - terms: 'Net 30 days', - balance: 27500, - deposit: 0, - sub_total: 27500, - total_tax: 2500, - total: 27500, - tax_code: '1234', - notes: 'Some notes about this bill.', - status: 'draft', - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - payment_method: 'cash', - channel: 'email', - language: 'EN', - accounting_by_row: false, - bank_account: { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' - }, - discount_percentage: 5.5, + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', + display_id: '123456', pass_through: [ { service_id: 'string', @@ -638,7 +603,7 @@ const params = { } try { - const { data } = await apideck.accounting.billsAdd(params) + const { data } = await apideck.accounting.billPaymentsAdd(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -651,14 +616,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# List Bills + +# List Bill Payments -Method: **billsAll** +Method: **billPaymentsAll** ```typescript -accountingApi.billsAll(body) +accountingApi.billPaymentsAll(body) ``` ### Parameters @@ -671,8 +636,8 @@ Name | Type | Description | Notes **serviceId** | [**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. | (optional) **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 - **filter** | **BillsFilter** | Apply filters | (optional) - **sort** | **BillsSort** | Apply sorting | (optional) + **filter** | **PaymentsFilter** | Apply filters | (optional) + **sort** | **PaymentsSort** | Apply sorting | (optional) **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) **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. | (optional) @@ -680,14 +645,14 @@ Name | Type | Description | Notes ### Response Type -[`GetBillsResponse`](../models/GetBillsResponse.md) +[`GetBillPaymentsResponse`](../models/GetBillPaymentsResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Bills | +**200** | Bill Payments | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -710,7 +675,7 @@ const apideck = new Apideck({ const params = {} try { - const { data } = await apideck.accounting.billsAll(params) + const { data } = await apideck.accounting.billPaymentsAll(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -723,14 +688,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Delete Bill + +# Delete Bill Payment -Method: **billsDelete** +Method: **billPaymentsDelete** ```typescript -accountingApi.billsDelete(body) +accountingApi.billPaymentsDelete(body) ``` ### Parameters @@ -747,14 +712,14 @@ Name | Type | Description | Notes ### Response Type -[`DeleteBillResponse`](../models/DeleteBillResponse.md) +[`DeleteBillPaymentResponse`](../models/DeleteBillPaymentResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Bill deleted | +**200** | Bill Payment deleted | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -779,7 +744,7 @@ const params = { } try { - const { data } = await apideck.accounting.billsDelete(params) + const { data } = await apideck.accounting.billPaymentsDelete(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -792,14 +757,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Get Bill + +# Get Bill Payment -Method: **billsOne** +Method: **billPaymentsOne** ```typescript -accountingApi.billsOne(body) +accountingApi.billPaymentsOne(body) ``` ### Parameters @@ -817,14 +782,14 @@ Name | Type | Description | Notes ### Response Type -[`GetBillResponse`](../models/GetBillResponse.md) +[`GetBillPaymentResponse`](../models/GetBillPaymentResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Bill | +**200** | Bill Payment | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -849,7 +814,7 @@ const params = { } try { - const { data } = await apideck.accounting.billsOne(params) + const { data } = await apideck.accounting.billPaymentsOne(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -862,21 +827,21 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Update Bill + +# Update Bill Payment -Method: **billsUpdate** +Method: **billPaymentsUpdate** ```typescript -accountingApi.billsUpdate(body) +accountingApi.billPaymentsUpdate(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **bill** | [Bill](../models/Bill.md)| | + **billPayment** | [BillPayment](../models/BillPayment.md)| | **id** | [**string**] | ID of the record you are acting upon. | **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) @@ -887,14 +852,14 @@ Name | Type | Description | Notes ### Response Type -[`UpdateBillResponse`](../models/UpdateBillResponse.md) +[`UpdateBillPaymentResponse`](../models/UpdateBillPaymentResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Bill Updated | +**200** | Bill Payment updated | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -916,8 +881,20 @@ const apideck = new Apideck({ const params = { id: 'id_example', - bill: { - bill_number: '10001', + billPayment: { + currency: 'USD', + currency_rate: 0.69, + total_amount: 1000, + reference: '123456', + payment_method: 'cash', + payment_method_reference: '123456', + payment_method_id: '12345', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + transaction_date: '2021-05-01T12:00:00.000Z', supplier: { id: '12345', display_name: 'Windsurf Shop', @@ -949,92 +926,35 @@ const params = { } }, company_id: '12345', - currency: 'USD', - currency_rate: 0.69, - tax_inclusive: true, - bill_date: '2020-09-30', - due_date: '2020-10-30', - paid_date: '2020-10-30', - po_number: '90000117', - reference: '123456', - line_items: [ + reconciled: true, + status: 'authorised', + type: 'accounts_receivable', + allocations: [ { - row_id: '12345', - code: '120-C', - line_number: 1, - description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'expense_account', - tax_amount: 27500, - total_amount: 27500, - quantity: 1, - unit_price: 27500.5, - unit_of_measure: 'pc.', - discount_percentage: 0.01, - discount_amount: 19.99, - location_id: '1234', - department_id: '1234', - item: { - id: '12344', - code: '120-C', - name: 'Model Y' - }, - tax_rate: { - id: '123456', - rate: 10 - }, - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], - row_version: '1-12345' + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' } ], - terms: 'Net 30 days', - balance: 27500, - deposit: 0, - sub_total: 27500, - total_tax: 2500, - total: 27500, - tax_code: '1234', - notes: 'Some notes about this bill.', - status: 'draft', - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - payment_method: 'cash', - channel: 'email', - language: 'EN', - accounting_by_row: false, - bank_account: { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' - }, - discount_percentage: 5.5, + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', + display_id: '123456', pass_through: [ { service_id: 'string', @@ -1052,7 +972,7 @@ const params = { } try { - const { data } = await apideck.accounting.billsUpdate(params) + const { data } = await apideck.accounting.billPaymentsUpdate(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -1065,88 +985,21 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Get Company Info - - -Method: **companyInfoOne** - -```typescript -accountingApi.companyInfoOne(body) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false - **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) - **appId** | [**string**] | The ID of your Unify application | (optional) - **serviceId** | [**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. | (optional) - **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. | (optional) - - - -### Response Type - -[`GetCompanyInfoResponse`](../models/GetCompanyInfoResponse.md) - - - -### HTTP response details -| Status code | Description | -|-------------|-------------| -**200** | CompanyInfo | -**400** | Bad Request | -**401** | Unauthorized | -**402** | Payment Required | -**404** | The specified resource was not found | -**422** | Unprocessable | -4/5xx | Unexpected error | - - -## Example Usage - -```typescript -import { Apideck } from '@apideck/node'; - -const apideck = new Apideck({ - apiKey: 'REPLACE_WITH_API_KEY', - appId: 'REPLACE_WITH_APP_ID', - consumerId: 'REPLACE_WITH_CONSUMER_ID' -}); - -const params = {} - -try { - const { data } = await apideck.accounting.companyInfoOne(params) - console.log('API called successfully', data) -} catch (error) { - console.error(error) - return error.json() -} - - -``` - - -[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - - -# Create Credit Note + +# Create Bill -Method: **creditNotesAdd** +Method: **billsAdd** ```typescript -accountingApi.creditNotesAdd(body) +accountingApi.billsAdd(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **creditNote** | [CreditNote](../models/CreditNote.md)| | + **bill** | [Bill](../models/Bill.md)| | **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) @@ -1156,14 +1009,14 @@ Name | Type | Description | Notes ### Response Type -[`CreateCreditNoteResponse`](../models/CreateCreditNoteResponse.md) +[`CreateBillResponse`](../models/CreateBillResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**201** | Credit Note created | +**201** | Bill created | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -1184,42 +1037,54 @@ const apideck = new Apideck({ }); const params = { - creditNote: { - number: 'OIT00546', - customer: { + bill: { + bill_number: '10001', + supplier: { id: '12345', display_name: 'Windsurf Shop', - name: 'Windsurf Shop', - email: 'boring@boring.com' + address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } }, company_id: '12345', currency: 'USD', currency_rate: 0.69, tax_inclusive: true, - sub_total: 27500, - total_amount: 49.99, - total_tax: 2500, - tax_code: '1234', - balance: 27500, - remaining_credit: 27500, - status: 'authorised', + bill_date: '2020-09-30', + due_date: '2020-10-30', + paid_date: '2020-10-30', + po_number: '90000117', reference: '123456', - date_issued: '2021-05-01T12:00:00.000Z', - date_paid: '2021-05-01T12:00:00.000Z', - type: 'accounts_receivable_credit', - account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, line_items: [ { - id: '12345', row_id: '12345', code: '120-C', line_number: 1, description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'sales_item', + type: 'expense_account', tax_amount: 27500, total_amount: 27500, quantity: 1, @@ -1238,104 +1103,58 @@ const params = { id: '123456', rate: 10 }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], ledger_account: { id: '123456', nominal_code: 'N091', code: '453' }, - custom_fields: [ + tracking_categories: [ { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' + id: '123456', + name: 'New York' } ], row_version: '1-12345' } ], - allocations: [ - { - id: '123456', - type: 'invoice', - amount: 49.99, - allocation_id: '123456' - } - ], - note: 'Some notes about this credit note', - terms: 'Some terms about this credit note', - billing_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + terms: 'Net 30 days', + balance: 27500, + deposit: 0, + sub_total: 27500, + total_tax: 2500, + total: 27500, + tax_code: '1234', + notes: 'Some notes about this bill.', + status: 'draft', + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' }, - shipping_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + payment_method: 'cash', + channel: 'email', + language: 'EN', + accounting_by_row: false, + bank_account: { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' }, + discount_percentage: 5.5, tracking_categories: [ { id: '123456', name: 'New York' } ], - custom_fields: [ - { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' - } - ], row_version: '1-12345', pass_through: [ { @@ -1349,12 +1168,13 @@ const params = { } ] } - ] + ], + accounting_period: '01-24' } } try { - const { data } = await apideck.accounting.creditNotesAdd(params) + const { data } = await apideck.accounting.billsAdd(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -1367,14 +1187,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# List Credit Notes + +# List Bills -Method: **creditNotesAll** +Method: **billsAll** ```typescript -accountingApi.creditNotesAll(body) +accountingApi.billsAll(body) ``` ### Parameters @@ -1387,8 +1207,8 @@ Name | Type | Description | Notes **serviceId** | [**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. | (optional) **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 - **filter** | **CreditNotesFilter** | Apply filters | (optional) - **sort** | **CreditNotesSort** | Apply sorting | (optional) + **filter** | **BillsFilter** | Apply filters | (optional) + **sort** | **BillsSort** | Apply sorting | (optional) **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) **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. | (optional) @@ -1396,14 +1216,14 @@ Name | Type | Description | Notes ### Response Type -[`GetCreditNotesResponse`](../models/GetCreditNotesResponse.md) +[`GetBillsResponse`](../models/GetBillsResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Credit Notes | +**200** | Bills | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -1426,7 +1246,7 @@ const apideck = new Apideck({ const params = {} try { - const { data } = await apideck.accounting.creditNotesAll(params) + const { data } = await apideck.accounting.billsAll(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -1439,14 +1259,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Delete Credit Note + +# Delete Bill -Method: **creditNotesDelete** +Method: **billsDelete** ```typescript -accountingApi.creditNotesDelete(body) +accountingApi.billsDelete(body) ``` ### Parameters @@ -1463,14 +1283,14 @@ Name | Type | Description | Notes ### Response Type -[`DeleteCreditNoteResponse`](../models/DeleteCreditNoteResponse.md) +[`DeleteBillResponse`](../models/DeleteBillResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Credit Note deleted | +**200** | Bill deleted | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -1495,7 +1315,7 @@ const params = { } try { - const { data } = await apideck.accounting.creditNotesDelete(params) + const { data } = await apideck.accounting.billsDelete(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -1508,14 +1328,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Get Credit Note + +# Get Bill -Method: **creditNotesOne** +Method: **billsOne** ```typescript -accountingApi.creditNotesOne(body) +accountingApi.billsOne(body) ``` ### Parameters @@ -1533,14 +1353,14 @@ Name | Type | Description | Notes ### Response Type -[`GetCreditNoteResponse`](../models/GetCreditNoteResponse.md) +[`GetBillResponse`](../models/GetBillResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Credit Note | +**200** | Bill | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -1565,7 +1385,7 @@ const params = { } try { - const { data } = await apideck.accounting.creditNotesOne(params) + const { data } = await apideck.accounting.billsOne(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -1578,21 +1398,21 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Update Credit Note + +# Update Bill -Method: **creditNotesUpdate** +Method: **billsUpdate** ```typescript -accountingApi.creditNotesUpdate(body) +accountingApi.billsUpdate(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **creditNote** | [CreditNote](../models/CreditNote.md)| | + **bill** | [Bill](../models/Bill.md)| | **id** | [**string**] | ID of the record you are acting upon. | **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) @@ -1603,14 +1423,14 @@ Name | Type | Description | Notes ### Response Type -[`UpdateCreditNoteResponse`](../models/UpdateCreditNoteResponse.md) +[`UpdateBillResponse`](../models/UpdateBillResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Credit Note updated | +**200** | Bill Updated | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -1632,42 +1452,54 @@ const apideck = new Apideck({ const params = { id: 'id_example', - creditNote: { - number: 'OIT00546', - customer: { + bill: { + bill_number: '10001', + supplier: { id: '12345', display_name: 'Windsurf Shop', - name: 'Windsurf Shop', - email: 'boring@boring.com' + address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } }, company_id: '12345', currency: 'USD', currency_rate: 0.69, tax_inclusive: true, - sub_total: 27500, - total_amount: 49.99, - total_tax: 2500, - tax_code: '1234', - balance: 27500, - remaining_credit: 27500, - status: 'authorised', + bill_date: '2020-09-30', + due_date: '2020-10-30', + paid_date: '2020-10-30', + po_number: '90000117', reference: '123456', - date_issued: '2021-05-01T12:00:00.000Z', - date_paid: '2021-05-01T12:00:00.000Z', - type: 'accounts_receivable_credit', - account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, line_items: [ { - id: '12345', row_id: '12345', code: '120-C', line_number: 1, description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'sales_item', + type: 'expense_account', tax_amount: 27500, total_amount: 27500, quantity: 1, @@ -1686,104 +1518,58 @@ const params = { id: '123456', rate: 10 }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], ledger_account: { id: '123456', nominal_code: 'N091', code: '453' }, - custom_fields: [ + tracking_categories: [ { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' + id: '123456', + name: 'New York' } ], row_version: '1-12345' } ], - allocations: [ - { - id: '123456', - type: 'invoice', - amount: 49.99, - allocation_id: '123456' - } - ], - note: 'Some notes about this credit note', - terms: 'Some terms about this credit note', - billing_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + terms: 'Net 30 days', + balance: 27500, + deposit: 0, + sub_total: 27500, + total_tax: 2500, + total: 27500, + tax_code: '1234', + notes: 'Some notes about this bill.', + status: 'draft', + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' }, - shipping_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + payment_method: 'cash', + channel: 'email', + language: 'EN', + accounting_by_row: false, + bank_account: { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' }, + discount_percentage: 5.5, tracking_categories: [ { id: '123456', name: 'New York' } ], - custom_fields: [ - { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' - } - ], row_version: '1-12345', pass_through: [ { @@ -1797,12 +1583,1085 @@ const params = { } ] } - ] + ], + accounting_period: '01-24' } } try { - const { data } = await apideck.accounting.creditNotesUpdate(params) + const { data } = await apideck.accounting.billsUpdate(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Company Info + + +Method: **companyInfoOne** + +```typescript +accountingApi.companyInfoOne(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + **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. | (optional) + + + +### Response Type + +[`GetCompanyInfoResponse`](../models/GetCompanyInfoResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | CompanyInfo | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = {} + +try { + const { data } = await apideck.accounting.companyInfoOne(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Credit Note + + +Method: **creditNotesAdd** + +```typescript +accountingApi.creditNotesAdd(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **creditNote** | [CreditNote](../models/CreditNote.md)| | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + + + +### Response Type + +[`CreateCreditNoteResponse`](../models/CreateCreditNoteResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Credit Note created | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + creditNote: { + number: 'OIT00546', + customer: { + id: '12345', + display_name: 'Windsurf Shop', + name: 'Windsurf Shop', + email: 'boring@boring.com' + }, + company_id: '12345', + currency: 'USD', + currency_rate: 0.69, + tax_inclusive: true, + sub_total: 27500, + total_amount: 49.99, + total_tax: 2500, + tax_code: '1234', + balance: 27500, + remaining_credit: 27500, + status: 'authorised', + reference: '123456', + date_issued: '2021-05-01T12:00:00.000Z', + date_paid: '2021-05-01T12:00:00.000Z', + type: 'accounts_receivable_credit', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + line_items: [ + { + id: '12345', + row_id: '12345', + code: '120-C', + line_number: 1, + description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', + type: 'sales_item', + tax_amount: 27500, + total_amount: 27500, + quantity: 1, + unit_price: 27500.5, + unit_of_measure: 'pc.', + discount_percentage: 0.01, + discount_amount: 19.99, + location_id: '1234', + department_id: '1234', + item: { + id: '12344', + code: '120-C', + name: 'Model Y' + }, + tax_rate: { + id: '123456', + rate: 10 + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345' + } + ], + allocations: [ + { + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' + } + ], + note: 'Some notes about this credit note', + terms: 'Some terms about this credit note', + billing_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + shipping_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.accounting.creditNotesAdd(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Credit Notes + + +Method: **creditNotesAll** + +```typescript +accountingApi.creditNotesAll(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) + **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + **filter** | **CreditNotesFilter** | Apply filters | (optional) + **sort** | **CreditNotesSort** | Apply sorting | (optional) + **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) + **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. | (optional) + + + +### Response Type + +[`GetCreditNotesResponse`](../models/GetCreditNotesResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Credit Notes | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = {} + +try { + const { data } = await apideck.accounting.creditNotesAll(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Credit Note + + +Method: **creditNotesDelete** + +```typescript +accountingApi.creditNotesDelete(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`DeleteCreditNoteResponse`](../models/DeleteCreditNoteResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Credit Note deleted | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.creditNotesDelete(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Credit Note + + +Method: **creditNotesOne** + +```typescript +accountingApi.creditNotesOne(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **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. | (optional) + + + +### Response Type + +[`GetCreditNoteResponse`](../models/GetCreditNoteResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Credit Note | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.creditNotesOne(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Credit Note + + +Method: **creditNotesUpdate** + +```typescript +accountingApi.creditNotesUpdate(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **creditNote** | [CreditNote](../models/CreditNote.md)| | + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`UpdateCreditNoteResponse`](../models/UpdateCreditNoteResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Credit Note updated | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example', + creditNote: { + number: 'OIT00546', + customer: { + id: '12345', + display_name: 'Windsurf Shop', + name: 'Windsurf Shop', + email: 'boring@boring.com' + }, + company_id: '12345', + currency: 'USD', + currency_rate: 0.69, + tax_inclusive: true, + sub_total: 27500, + total_amount: 49.99, + total_tax: 2500, + tax_code: '1234', + balance: 27500, + remaining_credit: 27500, + status: 'authorised', + reference: '123456', + date_issued: '2021-05-01T12:00:00.000Z', + date_paid: '2021-05-01T12:00:00.000Z', + type: 'accounts_receivable_credit', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + line_items: [ + { + id: '12345', + row_id: '12345', + code: '120-C', + line_number: 1, + description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', + type: 'sales_item', + tax_amount: 27500, + total_amount: 27500, + quantity: 1, + unit_price: 27500.5, + unit_of_measure: 'pc.', + discount_percentage: 0.01, + discount_amount: 19.99, + location_id: '1234', + department_id: '1234', + item: { + id: '12344', + code: '120-C', + name: 'Model Y' + }, + tax_rate: { + id: '123456', + rate: 10 + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345' + } + ], + allocations: [ + { + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' + } + ], + note: 'Some notes about this credit note', + terms: 'Some terms about this credit note', + billing_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + shipping_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.accounting.creditNotesUpdate(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Customer + + +Method: **customersAdd** + +```typescript +accountingApi.customersAdd(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer** | [Customer](../models/Customer.md)| | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + + + +### Response Type + +[`CreateCustomerResponse`](../models/CreateCustomerResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Customers | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + customer: { + display_id: 'EMP00101', + display_name: 'Windsurf Shop', + company_name: 'SpaceX', + company_id: '12345', + title: 'CEO', + first_name: 'Elon', + middle_name: 'D.', + last_name: 'Musk', + suffix: 'Jr.', + individual: true, + project: false, + addresses: [ + { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } + ], + phone_numbers: [ + { + id: '12345', + country_code: '1', + area_code: '323', + number: '111-111-1111', + extension: '105', + type: 'primary' + } + ], + emails: [ + { + id: '123', + email: 'elon@musk.com', + type: 'primary' + } + ], + websites: [ + { + id: '12345', + url: 'http://example.com', + type: 'primary' + } + ], + bank_accounts: [ + { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' + } + ], + notes: 'Some notes about this customer', + tax_rate: { + id: '123456', + rate: 10 + }, + tax_number: 'US123945459', + currency: 'USD', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + parent: { + id: '12345', + name: 'Windsurf Shop' + }, + status: 'active', + payment_method: 'cash', + channel: 'email', + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.accounting.customersAdd(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Customers + + +Method: **customersAll** + +```typescript +accountingApi.customersAll(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) + **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + **filter** | **CustomersFilter** | Apply filters | (optional) + **sort** | **CustomersSort** | Apply sorting | (optional) + **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) + **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. | (optional) + + + +### Response Type + +[`GetCustomersResponse`](../models/GetCustomersResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Customers | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = {} + +try { + const { data } = await apideck.accounting.customersAll(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Customer + + +Method: **customersDelete** + +```typescript +accountingApi.customersDelete(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`DeleteCustomerResponse`](../models/DeleteCustomerResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Customers | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.customersDelete(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -1815,38 +2674,109 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Create Customer + +# Get Customer -Method: **customersAdd** +Method: **customersOne** ```typescript -accountingApi.customersAdd(body) +accountingApi.customersOne(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **customer** | [Customer](../models/Customer.md)| | + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **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. | (optional) + + + +### Response Type + +[`GetCustomerResponse`](../models/GetCustomerResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Customer | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.customersOne(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Customer + + +Method: **customersUpdate** + +```typescript +accountingApi.customersUpdate(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer** | [Customer](../models/Customer.md)| | + **id** | [**string**] | ID of the record you are acting upon. | **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) **serviceId** | [**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. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false ### Response Type -[`CreateCustomerResponse`](../models/CreateCustomerResponse.md) +[`UpdateCustomerResponse`](../models/UpdateCustomerResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**201** | Customers | +**200** | Customers | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -1867,6 +2797,7 @@ const apideck = new Apideck({ }); const params = { + id: 'id_example', customer: { display_id: 'EMP00101', display_name: 'Windsurf Shop', @@ -1983,7 +2914,7 @@ const params = { } try { - const { data } = await apideck.accounting.customersAdd(params) + const { data } = await apideck.accounting.customersUpdate(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -1996,14 +2927,106 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# List Customers + +# Create Department -Method: **customersAll** +Method: **departmentsAdd** ```typescript -accountingApi.customersAll(body) +accountingApi.departmentsAdd(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **department** | [AccountingDepartment](../models/AccountingDepartment.md)| | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**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. | (optional) + + + +### Response Type + +[`CreateAccountingDepartmentResponse`](../models/CreateAccountingDepartmentResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Department | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + department: { + parent_id: '12345', + name: 'Sales', + status: 'active', + subsidiaries: [ + { + name: 'SpaceX' + } + ], + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.accounting.departmentsAdd(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Departments + + +Method: **departmentsAll** + +```typescript +accountingApi.departmentsAll(body) ``` ### Parameters @@ -2016,23 +3039,21 @@ Name | Type | Description | Notes **serviceId** | [**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. | (optional) **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 - **filter** | **CustomersFilter** | Apply filters | (optional) - **sort** | **CustomersSort** | Apply sorting | (optional) - **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) **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. | (optional) + **filter** | **AccountingDepartmentsFilter** | Apply filters | (optional) ### Response Type -[`GetCustomersResponse`](../models/GetCustomersResponse.md) +[`GetAccountingDepartmentsResponse`](../models/GetAccountingDepartmentsResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Customers | +**200** | Departments | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2055,7 +3076,7 @@ const apideck = new Apideck({ const params = {} try { - const { data } = await apideck.accounting.customersAll(params) + const { data } = await apideck.accounting.departmentsAll(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2068,14 +3089,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Delete Customer + +# Delete Department -Method: **customersDelete** +Method: **departmentsDelete** ```typescript -accountingApi.customersDelete(body) +accountingApi.departmentsDelete(body) ``` ### Parameters @@ -2092,14 +3113,14 @@ Name | Type | Description | Notes ### Response Type -[`DeleteCustomerResponse`](../models/DeleteCustomerResponse.md) +[`DeleteAccountingDepartmentResponse`](../models/DeleteAccountingDepartmentResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Customers | +**200** | Department deleted | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2124,7 +3145,7 @@ const params = { } try { - const { data } = await apideck.accounting.customersDelete(params) + const { data } = await apideck.accounting.departmentsDelete(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2137,14 +3158,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Get Customer + +# Get Department -Method: **customersOne** +Method: **departmentsOne** ```typescript -accountingApi.customersOne(body) +accountingApi.departmentsOne(body) ``` ### Parameters @@ -2162,14 +3183,14 @@ Name | Type | Description | Notes ### Response Type -[`GetCustomerResponse`](../models/GetCustomerResponse.md) +[`GetAccountingDepartmentResponse`](../models/GetAccountingDepartmentResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Customer | +**200** | Location | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2194,7 +3215,7 @@ const params = { } try { - const { data } = await apideck.accounting.customersOne(params) + const { data } = await apideck.accounting.departmentsOne(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2207,21 +3228,21 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Update Customer + +# Update Department -Method: **customersUpdate** +Method: **departmentsUpdate** ```typescript -accountingApi.customersUpdate(body) +accountingApi.departmentsUpdate(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **customer** | [Customer](../models/Customer.md)| | + **department** | [AccountingDepartment](../models/AccountingDepartment.md)| | **id** | [**string**] | ID of the record you are acting upon. | **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) @@ -2232,14 +3253,14 @@ Name | Type | Description | Notes ### Response Type -[`UpdateCustomerResponse`](../models/UpdateCustomerResponse.md) +[`UpdateAccountingDepartmentResponse`](../models/UpdateAccountingDepartmentResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Customers | +**200** | Department | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2261,104 +3282,15 @@ const apideck = new Apideck({ const params = { id: 'id_example', - customer: { - display_id: 'EMP00101', - display_name: 'Windsurf Shop', - company_name: 'SpaceX', - company_id: '12345', - title: 'CEO', - first_name: 'Elon', - middle_name: 'D.', - last_name: 'Musk', - suffix: 'Jr.', - individual: true, - project: false, - addresses: [ - { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' - } - ], - phone_numbers: [ - { - id: '12345', - country_code: '1', - area_code: '323', - number: '111-111-1111', - extension: '105', - type: 'primary' - } - ], - emails: [ - { - id: '123', - email: 'elon@musk.com', - type: 'primary' - } - ], - websites: [ - { - id: '12345', - url: 'http://example.com', - type: 'primary' - } - ], - bank_accounts: [ + department: { + parent_id: '12345', + name: 'Sales', + status: 'active', + subsidiaries: [ { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' + name: 'SpaceX' } ], - notes: 'Some notes about this customer', - tax_rate: { - id: '123456', - rate: 10 - }, - tax_number: 'US123945459', - currency: 'USD', - account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - parent: { - id: '12345', - name: 'Windsurf Shop' - }, - status: 'active', - payment_method: 'cash', - channel: 'email', row_version: '1-12345', pass_through: [ { @@ -2377,7 +3309,7 @@ const params = { } try { - const { data } = await apideck.accounting.customersUpdate(params) + const { data } = await apideck.accounting.departmentsUpdate(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2390,21 +3322,21 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Create Department + +# Create Expense -Method: **departmentsAdd** +Method: **expensesAdd** ```typescript -accountingApi.departmentsAdd(body) +accountingApi.expensesAdd(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **department** | [AccountingDepartment](../models/AccountingDepartment.md)| | + **expense** | [Expense](../models/Expense.md)| | **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) @@ -2414,14 +3346,14 @@ Name | Type | Description | Notes ### Response Type -[`CreateAccountingDepartmentResponse`](../models/CreateAccountingDepartmentResponse.md) +[`CreateExpenseResponse`](../models/CreateExpenseResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**201** | Department | +**201** | Expenses | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2442,13 +3374,50 @@ const apideck = new Apideck({ }); const params = { - department: { - parent_id: '12345', - name: 'Sales', - status: 'active', - subsidiaries: [ + expense: { + number: 'OIT00546', + transaction_date: '2021-05-01T12:00:00.000Z', + account_id: '123456', + customer_id: '12345', + supplier_id: '12345', + company_id: '12345', + department_id: '12345', + currency: 'USD', + currency_rate: 0.69, + type: 'expense', + memo: 'For travel expenses incurred on 2024-05-15', + tax_rate: { + id: '123456', + rate: 10 + }, + total_amount: 275, + line_items: [ { - name: 'SpaceX' + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + account_id: '123456', + customer_id: '12345', + department_id: '12345', + location_id: '12345', + tax_rate: { + id: '123456', + rate: 10 + }, + description: 'Travel US.', + total_amount: 275, + billable: true + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' } ], row_version: '1-12345', @@ -2469,7 +3438,7 @@ const params = { } try { - const { data } = await apideck.accounting.departmentsAdd(params) + const { data } = await apideck.accounting.expensesAdd(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2482,14 +3451,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# List Departments + +# List Expenses -Method: **departmentsAll** +Method: **expensesAll** ```typescript -accountingApi.departmentsAll(body) +accountingApi.expensesAll(body) ``` ### Parameters @@ -2502,21 +3471,19 @@ Name | Type | Description | Notes **serviceId** | [**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. | (optional) **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 - **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. | (optional) - **filter** | **AccountingDepartmentsFilter** | Apply filters | (optional) ### Response Type -[`GetAccountingDepartmentsResponse`](../models/GetAccountingDepartmentsResponse.md) +[`GetExpensesResponse`](../models/GetExpensesResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Departments | +**200** | Expenses | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2539,7 +3506,7 @@ const apideck = new Apideck({ const params = {} try { - const { data } = await apideck.accounting.departmentsAll(params) + const { data } = await apideck.accounting.expensesAll(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2552,14 +3519,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Delete Department + +# Delete Expense -Method: **departmentsDelete** +Method: **expensesDelete** ```typescript -accountingApi.departmentsDelete(body) +accountingApi.expensesDelete(body) ``` ### Parameters @@ -2576,14 +3543,14 @@ Name | Type | Description | Notes ### Response Type -[`DeleteAccountingDepartmentResponse`](../models/DeleteAccountingDepartmentResponse.md) +[`DeleteExpenseResponse`](../models/DeleteExpenseResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Department deleted | +**200** | Expenses | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2608,7 +3575,7 @@ const params = { } try { - const { data } = await apideck.accounting.departmentsDelete(params) + const { data } = await apideck.accounting.expensesDelete(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2621,14 +3588,14 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Get Department + +# Get Expense -Method: **departmentsOne** +Method: **expensesOne** ```typescript -accountingApi.departmentsOne(body) +accountingApi.expensesOne(body) ``` ### Parameters @@ -2640,20 +3607,19 @@ Name | Type | Description | Notes **appId** | [**string**] | The ID of your Unify application | (optional) **serviceId** | [**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. | (optional) **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false - **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. | (optional) ### Response Type -[`GetAccountingDepartmentResponse`](../models/GetAccountingDepartmentResponse.md) +[`GetExpenseResponse`](../models/GetExpenseResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Location | +**200** | Expenses | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2678,7 +3644,7 @@ const params = { } try { - const { data } = await apideck.accounting.departmentsOne(params) + const { data } = await apideck.accounting.expensesOne(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -2691,21 +3657,21 @@ try { [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) - -# Update Department + +# Update Expense -Method: **departmentsUpdate** +Method: **expensesUpdate** ```typescript -accountingApi.departmentsUpdate(body) +accountingApi.expensesUpdate(body) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **department** | [AccountingDepartment](../models/AccountingDepartment.md)| | + **expense** | [Expense](../models/Expense.md)| | **id** | [**string**] | ID of the record you are acting upon. | **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) **appId** | [**string**] | The ID of your Unify application | (optional) @@ -2716,14 +3682,14 @@ Name | Type | Description | Notes ### Response Type -[`UpdateAccountingDepartmentResponse`](../models/UpdateAccountingDepartmentResponse.md) +[`UpdateExpenseResponse`](../models/UpdateExpenseResponse.md) ### HTTP response details | Status code | Description | |-------------|-------------| -**200** | Department | +**200** | Expenses | **400** | Bad Request | **401** | Unauthorized | **402** | Payment Required | @@ -2745,13 +3711,50 @@ const apideck = new Apideck({ const params = { id: 'id_example', - department: { - parent_id: '12345', - name: 'Sales', - status: 'active', - subsidiaries: [ + expense: { + number: 'OIT00546', + transaction_date: '2021-05-01T12:00:00.000Z', + account_id: '123456', + customer_id: '12345', + supplier_id: '12345', + company_id: '12345', + department_id: '12345', + currency: 'USD', + currency_rate: 0.69, + type: 'expense', + memo: 'For travel expenses incurred on 2024-05-15', + tax_rate: { + id: '123456', + rate: 10 + }, + total_amount: 275, + line_items: [ { - name: 'SpaceX' + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + account_id: '123456', + customer_id: '12345', + department_id: '12345', + location_id: '12345', + tax_rate: { + id: '123456', + rate: 10 + }, + description: 'Travel US.', + total_amount: 275, + billable: true + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' } ], row_version: '1-12345', @@ -2772,7 +3775,7 @@ const params = { } try { - const { data } = await apideck.accounting.departmentsUpdate(params) + const { data } = await apideck.accounting.expensesUpdate(params) console.log('API called successfully', data) } catch (error) { console.error(error) @@ -4114,7 +5117,8 @@ const params = { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 }, { description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', @@ -4176,7 +5180,8 @@ const params = { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 } ], memo: 'Thank you for your business and have a great day!', @@ -4191,6 +5196,7 @@ const params = { name: 'New York' } ], + accounting_period: '01-24', row_version: '1-12345', pass_through: [ { @@ -4553,7 +5559,8 @@ const params = { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 }, { description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', @@ -4615,7 +5622,8 @@ const params = { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 } ], memo: 'Thank you for your business and have a great day!', @@ -4630,6 +5638,7 @@ const params = { name: 'New York' } ], + accounting_period: '01-24', row_version: '1-12345', pass_through: [ { @@ -5632,11 +6641,11 @@ const params = { payment: { currency: 'USD', currency_rate: 0.69, - total_amount: 49.99, + total_amount: 1000, reference: '123456', - payment_method: 'Credit Card', + payment_method: 'cash', payment_method_reference: '123456', - payment_method_id: '123456', + payment_method_id: '12345', accounts_receivable_account_type: 'Account', accounts_receivable_account_id: '123456', account: { @@ -5652,7 +6661,6 @@ const params = { email: 'boring@boring.com' }, supplier: { - id: '12345', display_name: 'Windsurf Shop', address: { id: '123', @@ -5693,8 +6701,8 @@ const params = { allocation_id: '123456' } ], - note: 'Some notes about this payment', - number: 'Some notes about this payment', + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', @@ -6009,11 +7017,11 @@ const params = { payment: { currency: 'USD', currency_rate: 0.69, - total_amount: 49.99, + total_amount: 1000, reference: '123456', - payment_method: 'Credit Card', + payment_method: 'cash', payment_method_reference: '123456', - payment_method_id: '123456', + payment_method_id: '12345', accounts_receivable_account_type: 'Account', accounts_receivable_account_id: '123456', account: { @@ -6029,7 +7037,6 @@ const params = { email: 'boring@boring.com' }, supplier: { - id: '12345', display_name: 'Windsurf Shop', address: { id: '123', @@ -6070,8 +7077,8 @@ const params = { allocation_id: '123456' } ], - note: 'Some notes about this payment', - number: 'Some notes about this payment', + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', @@ -8288,6 +9295,7 @@ const params = { trackingCategory: { parent_id: '12345', name: 'Department', + code: '100', status: 'active', row_version: '1-12345', pass_through: [ @@ -8586,6 +9594,7 @@ const params = { trackingCategory: { parent_id: '12345', name: 'Department', + code: '100', status: 'active', row_version: '1-12345', pass_through: [ diff --git a/src/gen/docs/apis/CrmApi.md b/src/gen/docs/apis/CrmApi.md index 4a96cf272..cdc585a0e 100644 --- a/src/gen/docs/apis/CrmApi.md +++ b/src/gen/docs/apis/CrmApi.md @@ -1831,6 +1831,7 @@ const params = { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -2213,6 +2214,7 @@ const params = { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', diff --git a/src/gen/docs/apis/HrisApi.md b/src/gen/docs/apis/HrisApi.md index 1bc7a24e2..6e3e3550c 100644 --- a/src/gen/docs/apis/HrisApi.md +++ b/src/gen/docs/apis/HrisApi.md @@ -1177,6 +1177,7 @@ const apideck = new Apideck({ const params = { employee: { + id: '12345', first_name: 'Elon', last_name: 'Musk', middle_name: 'D.', @@ -1580,6 +1581,7 @@ Name | Type | Description | Notes **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false **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. | (optional) **filter** | **EmployeesOneFilter** | Apply filters | (optional) + **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) @@ -1685,6 +1687,7 @@ const apideck = new Apideck({ const params = { id: 'id_example', employee: { + id: '12345', first_name: 'Elon', last_name: 'Musk', middle_name: 'D.', @@ -2129,6 +2132,7 @@ const params = { approval_date: '2022-03-21', units: 'hours', amount: 3.5, + day_part: 'morning', notes: { employee: 'Relaxing on the beach for a few hours.', manager: 'Enjoy!' @@ -2446,6 +2450,7 @@ const params = { approval_date: '2022-03-21', units: 'hours', amount: 3.5, + day_part: 'morning', notes: { employee: 'Relaxing on the beach for a few hours.', manager: 'Enjoy!' diff --git a/src/gen/docs/apis/LeadApi.md b/src/gen/docs/apis/LeadApi.md index 31b0c497c..c5222ae6b 100644 --- a/src/gen/docs/apis/LeadApi.md +++ b/src/gen/docs/apis/LeadApi.md @@ -67,6 +67,7 @@ const params = { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -448,6 +449,7 @@ const params = { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', diff --git a/src/gen/docs/models/AccountingEventType.md b/src/gen/docs/models/AccountingEventType.md index bba6d7192..83f7e7890 100644 --- a/src/gen/docs/models/AccountingEventType.md +++ b/src/gen/docs/models/AccountingEventType.md @@ -59,6 +59,12 @@ * `accounting_purchase_order_deleted` (value: `'accounting.purchase-order.deleted'`) +* `accounting_expense_created` (value: `'accounting.expense.created'`) + +* `accounting_expense_updated` (value: `'accounting.expense.updated'`) + +* `accounting_expense_deleted` (value: `'accounting.expense.deleted'`) + --- diff --git a/src/gen/docs/models/ActivitiesFilter.md b/src/gen/docs/models/ActivitiesFilter.md index afbe9495b..4f8e8f1eb 100644 --- a/src/gen/docs/models/ActivitiesFilter.md +++ b/src/gen/docs/models/ActivitiesFilter.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes `owner_id` | **string** | Owner ID to filter on | [optional] `contact_id` | **string** | Primary contact ID to filter on | [optional] `updated_since` | **Date** | | [optional] +`type` | **string** | Type to filter on | [optional] diff --git a/src/gen/docs/models/Allocation.md b/src/gen/docs/models/Allocation.md index aa3f745d1..6b2babfee 100644 --- a/src/gen/docs/models/Allocation.md +++ b/src/gen/docs/models/Allocation.md @@ -35,6 +35,8 @@ Name | Type | Description | Notes * `other` (value: `'other'`) +* `bill` (value: `'bill'`) + diff --git a/src/gen/docs/models/Attachment.md b/src/gen/docs/models/Attachment.md index 173807da9..0b89140a3 100644 --- a/src/gen/docs/models/Attachment.md +++ b/src/gen/docs/models/Attachment.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes `size` | **number** | The size of the file in bytes | [optional] `reference` | [**AttachmentReference**](AttachmentReference.md) | | [optional] `description` | **string** | Optional description of the file | [optional] +`parent_folder_id` | **string** | The folder id where this attachment belong to | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -34,6 +35,7 @@ Name | Type | Description | Notes + * [`PassThroughBody`](PassThroughBody.md) --- diff --git a/src/gen/docs/models/AttachmentReferenceType.md b/src/gen/docs/models/AttachmentReferenceType.md index 6aae11043..20091c9b0 100644 --- a/src/gen/docs/models/AttachmentReferenceType.md +++ b/src/gen/docs/models/AttachmentReferenceType.md @@ -7,6 +7,8 @@ * `bill` (value: `'bill'`) +* `expense` (value: `'expense'`) + --- diff --git a/src/gen/docs/models/Bill.md b/src/gen/docs/models/Bill.md index c6e3dc041..f5bcf002c 100644 --- a/src/gen/docs/models/Bill.md +++ b/src/gen/docs/models/Bill.md @@ -43,6 +43,7 @@ Name | Type | Description | Notes `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_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] `pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] +`accounting_period` | **string** | Accounting period | [optional] @@ -111,6 +112,7 @@ Name | Type | Description | Notes * [`PassThroughBody`](PassThroughBody.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/BillPayment.md b/src/gen/docs/models/BillPayment.md new file mode 100644 index 000000000..34d1ac1a1 --- /dev/null +++ b/src/gen/docs/models/BillPayment.md @@ -0,0 +1,77 @@ +# Apideck.BillPayment + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | +`total_amount` | **number** | The total amount of the transaction | +`transaction_date` | **Date** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | +`downstream_id` | **string** | The third-party API ID of original entity | [optional] +`currency` | [**Currency**](Currency.md) | | [optional] +`currency_rate` | **number** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] +`reference` | **string** | Optional transaction reference message ie: Debit remittance detail. | [optional] +`payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] +`payment_method_reference` | **string** | Optional reference message returned by payment method on processing | [optional] +`payment_method_id` | **string** | A unique identifier for an object. | [optional] +`account` | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] +`supplier` | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] +`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] +`reconciled` | **boolean** | Indicates if the transaction has been reconciled. | [optional] +`status` | [**PaymentStatus**](PaymentStatus.md) | | [optional] +`type` | [**PaymentType**](PaymentType.md) | | [optional] +`allocations` | [**Array<Allocation>**](Allocation.md) | | [optional] +`note` | **string** | Note associated with the transaction | [optional] +`number` | **string** | Number associated with the transaction | [optional] +`tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] +`custom_fields` | [**Array<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] +`updated_by` | **string** | The user who last updated the object. | [optional] +`created_by` | **string** | The user who created the object. | [optional] +`created_at` | **Date** | The date and time when the object was created. | [optional] +`updated_at` | **Date** | The date and time when the object was last updated. | [optional] +`pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] + + + + + +## Referenced Types: + + + + +* [`Currency`](Currency.md) + + + + + +* [`LinkedLedgerAccount`](LinkedLedgerAccount.md) +* [`LinkedSupplier`](LinkedSupplier.md) + + +* [`PaymentStatus`](PaymentStatus.md) +* [`PaymentType`](PaymentType.md) +* [`Allocation`](Allocation.md) + + +* [`LinkedTrackingCategories`](LinkedTrackingCategories.md) +* [`CustomField`](CustomField.md) + + + + + + + +* [`PassThroughBody`](PassThroughBody.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/ConnectionWebhook.md b/src/gen/docs/models/ConnectionWebhook.md index 24a56c6ba..fdf7abe57 100644 --- a/src/gen/docs/models/ConnectionWebhook.md +++ b/src/gen/docs/models/ConnectionWebhook.md @@ -239,6 +239,12 @@ Name | Type | Description | Notes * `ats_application_deleted` (value: `'ats.application.deleted'`) +* `accounting_expense_created` (value: `'accounting.expense.created'`) + +* `accounting_expense_updated` (value: `'accounting.expense.updated'`) + +* `accounting_expense_deleted` (value: `'accounting.expense.deleted'`) + diff --git a/src/gen/docs/models/CreateAttachmentRequest.md b/src/gen/docs/models/CreateAttachmentRequest.md index a2b81e258..97cba3729 100644 --- a/src/gen/docs/models/CreateAttachmentRequest.md +++ b/src/gen/docs/models/CreateAttachmentRequest.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `name` | **string** | The name of the file | `description` | **string** | Optional description of the file. | [optional] +`parent_folder_id` | **string** | The folder id where this attachment belong to | [optional] `pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] @@ -16,6 +17,7 @@ Name | Type | Description | Notes ## Referenced Types: + * [`PassThroughBody`](PassThroughBody.md) --- diff --git a/src/gen/docs/models/CreateBillPaymentResponse.md b/src/gen/docs/models/CreateBillPaymentResponse.md new file mode 100644 index 000000000..72be4db8b --- /dev/null +++ b/src/gen/docs/models/CreateBillPaymentResponse.md @@ -0,0 +1,31 @@ +# Apideck.CreateBillPaymentResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**UnifiedId**](UnifiedId.md) | | + + + + + +## 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/CreateExpenseResponse.md b/src/gen/docs/models/CreateExpenseResponse.md new file mode 100644 index 000000000..eb3638f8a --- /dev/null +++ b/src/gen/docs/models/CreateExpenseResponse.md @@ -0,0 +1,31 @@ +# Apideck.CreateExpenseResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**UnifiedId**](UnifiedId.md) | | + + + + + +## 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/DeleteBillPaymentResponse.md b/src/gen/docs/models/DeleteBillPaymentResponse.md new file mode 100644 index 000000000..44e28b5ee --- /dev/null +++ b/src/gen/docs/models/DeleteBillPaymentResponse.md @@ -0,0 +1,31 @@ +# Apideck.DeleteBillPaymentResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**UnifiedId**](UnifiedId.md) | | + + + + + +## 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/DeleteExpenseResponse.md b/src/gen/docs/models/DeleteExpenseResponse.md new file mode 100644 index 000000000..d748e9dbc --- /dev/null +++ b/src/gen/docs/models/DeleteExpenseResponse.md @@ -0,0 +1,31 @@ +# Apideck.DeleteExpenseResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**UnifiedId**](UnifiedId.md) | | + + + + + +## 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/DeprecatedLinkedSupplier.md b/src/gen/docs/models/DeprecatedLinkedSupplier.md new file mode 100644 index 000000000..dde575409 --- /dev/null +++ b/src/gen/docs/models/DeprecatedLinkedSupplier.md @@ -0,0 +1,31 @@ +# Apideck.DeprecatedLinkedSupplier + +### Description + +The supplier this entity is linked to. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | [optional] +`display_id` | **string** | The display ID of the supplier. | [optional] +`display_name` | **string** | The display name of the supplier. | [optional] +`company_name` | **string** | The company name of the supplier. | [optional] +`address` | [**Address**](Address.md) | | [optional] + + + + + +## Referenced Types: + + + + +* [`Address`](Address.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/Employee.md b/src/gen/docs/models/Employee.md index 94d060c69..e87cbbf40 100644 --- a/src/gen/docs/models/Employee.md +++ b/src/gen/docs/models/Employee.md @@ -5,7 +5,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`id` | **string** | A unique identifier for an object. | +`id` | **string** | A unique identifier for an object. | [optional] `first_name` | **string** | The first name of the person. | [optional] `last_name` | **string** | The last name of the person. | [optional] `middle_name` | **string** | Middle name of the person. | [optional] diff --git a/src/gen/docs/models/Expense.md b/src/gen/docs/models/Expense.md new file mode 100644 index 000000000..4f4823e93 --- /dev/null +++ b/src/gen/docs/models/Expense.md @@ -0,0 +1,72 @@ +# Apideck.Expense + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`transaction_date` | **Date** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | +`account_id` | **string** | The unique identifier for the ledger account that this expense should be credited to. | +`line_items` | [**Array<ExpenseLineItem>**](ExpenseLineItem.md) | Expense line items linked to this expense. | +`id` | **string** | A unique identifier for an object. | [optional] +`number` | **string** | Number. | [optional] +`customer_id` | **string** | The ID of the customer this entity is linked to. Used for expenses that should be marked as billable to customers. | [optional] +`supplier_id` | **string** | The ID of the supplier this entity is linked to. | [optional] +`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] +`department_id` | **string** | The ID of the department this expense is linked to. | [optional] +`currency` | [**Currency**](Currency.md) | | [optional] +`currency_rate` | **number** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] +`type` | **string** | The type of expense. | [optional] +`memo` | **string** | The memo of the expense. | [optional] +`tax_rate` | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] +`total_amount` | **number** | The total amount of the expense line item. | [optional] +`custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] +`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`updated_at` | **Date** | The date and time when the object was last updated. | [optional] +`created_at` | **Date** | 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] +`pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] + + + + + + +## Enum: Expense.type + + +* `expense` (value: `'expense'`) + +* `refund` (value: `'refund'`) + + + + +## Referenced Types: + + +* [`ExpenseLineItem`](ExpenseLineItem.md) + + + + + + +* [`Currency`](Currency.md) + + + +* [`LinkedTaxRate`](LinkedTaxRate.md) + +* [`CustomField`](CustomField.md) + + + + +* [`PassThroughBody`](PassThroughBody.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/ExpenseLineItem.md b/src/gen/docs/models/ExpenseLineItem.md new file mode 100644 index 000000000..0da442349 --- /dev/null +++ b/src/gen/docs/models/ExpenseLineItem.md @@ -0,0 +1,39 @@ +# Apideck.ExpenseLineItem + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`total_amount` | **number** | The total amount of the expense line item. | +`id` | **string** | A unique identifier for an object. | [optional] +`tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] +`account_id` | **string** | The unique identifier for the ledger account. | [optional] +`customer_id` | **string** | The ID of the customer this expense item is linked to. | [optional] +`department_id` | **string** | The ID of the department this expense item is linked to. | [optional] +`location_id` | **string** | The ID of the location this expense item is linked to. | [optional] +`tax_rate` | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] +`description` | **string** | The expense line item description | [optional] +`billable` | **boolean** | Boolean that indicates if the line item is billable or not. | [optional] + + + + + +## Referenced Types: + + +* [`LinkedTrackingCategories`](LinkedTrackingCategories.md) + + + + +* [`LinkedTaxRate`](LinkedTaxRate.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/GetBillPaymentResponse.md b/src/gen/docs/models/GetBillPaymentResponse.md new file mode 100644 index 000000000..73d5a2f5f --- /dev/null +++ b/src/gen/docs/models/GetBillPaymentResponse.md @@ -0,0 +1,31 @@ +# Apideck.GetBillPaymentResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**BillPayment**](BillPayment.md) | | + + + + + +## Referenced Types: + + + + + +* [`BillPayment`](BillPayment.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/GetBillPaymentsResponse.md b/src/gen/docs/models/GetBillPaymentsResponse.md new file mode 100644 index 000000000..0575ff957 --- /dev/null +++ b/src/gen/docs/models/GetBillPaymentsResponse.md @@ -0,0 +1,35 @@ +# Apideck.GetBillPaymentsResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**Array<BillPayment>**](BillPayment.md) | | +`meta` | [**Meta**](Meta.md) | | [optional] +`links` | [**Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`BillPayment`](BillPayment.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/GetExpenseResponse.md b/src/gen/docs/models/GetExpenseResponse.md new file mode 100644 index 000000000..9dad3b737 --- /dev/null +++ b/src/gen/docs/models/GetExpenseResponse.md @@ -0,0 +1,31 @@ +# Apideck.GetExpenseResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**Expense**](Expense.md) | | + + + + + +## Referenced Types: + + + + + +* [`Expense`](Expense.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/GetExpensesResponse.md b/src/gen/docs/models/GetExpensesResponse.md new file mode 100644 index 000000000..fc8310195 --- /dev/null +++ b/src/gen/docs/models/GetExpensesResponse.md @@ -0,0 +1,35 @@ +# Apideck.GetExpensesResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**Array<Expense>**](Expense.md) | | +`meta` | [**Meta**](Meta.md) | | [optional] +`links` | [**Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`Expense`](Expense.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/InvoiceLineItem.md b/src/gen/docs/models/InvoiceLineItem.md index dc8809a98..eadfdc1fb 100644 --- a/src/gen/docs/models/InvoiceLineItem.md +++ b/src/gen/docs/models/InvoiceLineItem.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | [optional] `row_id` | **string** | Row ID | [optional] `code` | **string** | User defined item code | [optional] -`line_number` | **number** | Line number in the invoice | [optional] +`line_number` | **number** | Line number of the resource | [optional] `description` | **string** | User defined description | [optional] `type` | **string** | Item type | [optional] `tax_amount` | **number** | Tax amount | [optional] diff --git a/src/gen/docs/models/InvoicesFilter.md b/src/gen/docs/models/InvoicesFilter.md index 97a1f1e76..37b570fb8 100644 --- a/src/gen/docs/models/InvoicesFilter.md +++ b/src/gen/docs/models/InvoicesFilter.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `updated_since` | **Date** | | [optional] `created_since` | **Date** | | [optional] +`number` | **string** | Invoice number to search for | [optional] diff --git a/src/gen/docs/models/JournalEntry.md b/src/gen/docs/models/JournalEntry.md index fdcc3207a..4eb3aae78 100644 --- a/src/gen/docs/models/JournalEntry.md +++ b/src/gen/docs/models/JournalEntry.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes `tax_code` | **string** | Applicable tax id/code override if tax is not supplied on a line item basis. | [optional] `number` | **string** | Journal entry number. | [optional] `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] +`accounting_period` | **string** | Accounting period | [optional] `custom_mappings` | **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] @@ -50,6 +51,7 @@ Name | Type | Description | Notes + * [`PassThroughBody`](PassThroughBody.md) --- diff --git a/src/gen/docs/models/JournalEntryLineItem.md b/src/gen/docs/models/JournalEntryLineItem.md index da6b0cbb4..9e5eb7003 100644 --- a/src/gen/docs/models/JournalEntryLineItem.md +++ b/src/gen/docs/models/JournalEntryLineItem.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes `supplier` | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] `department_id` | **string** | A unique identifier for an object. | [optional] `location_id` | **string** | A unique identifier for an object. | [optional] +`line_number` | **number** | Line number of the resource | [optional] @@ -51,6 +52,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/Lead.md b/src/gen/docs/models/Lead.md index 3641d692a..a85cd2b96 100644 --- a/src/gen/docs/models/Lead.md +++ b/src/gen/docs/models/Lead.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes `company_name` | **string** | The name of the company the lead is associated with. | `id` | **string** | Unique identifier for the contact. | [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] `lead_id` | **string** | The identifier of the lead. | [optional] `lead_source` | **string** | The source of the lead. | [optional] @@ -54,6 +55,7 @@ Name | Type | Description | Notes + * [`Currency`](Currency.md) * [`Website`](Website.md) diff --git a/src/gen/docs/models/LeadsFilter.md b/src/gen/docs/models/LeadsFilter.md index 13d28723e..d72e4953a 100644 --- a/src/gen/docs/models/LeadsFilter.md +++ b/src/gen/docs/models/LeadsFilter.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes `first_name` | **string** | First name of the lead to filter on | [optional] `last_name` | **string** | Last name of the lead to filter on | [optional] `email` | **string** | E-mail of the lead to filter on | [optional] +`phone_number` | **string** | Phone number of the lead to filter on | [optional] diff --git a/src/gen/docs/models/LedgerAccount.md b/src/gen/docs/models/LedgerAccount.md index 1daf50e30..744ab9033 100644 --- a/src/gen/docs/models/LedgerAccount.md +++ b/src/gen/docs/models/LedgerAccount.md @@ -64,6 +64,8 @@ Name | Type | Description | Notes * `costs_of_sales` (value: `'costs_of_sales'`) +* `other` (value: `'other'`) + diff --git a/src/gen/docs/models/Payment.md b/src/gen/docs/models/Payment.md index 4819cb85a..612ea63d6 100644 --- a/src/gen/docs/models/Payment.md +++ b/src/gen/docs/models/Payment.md @@ -5,32 +5,32 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`id` | **string** | Unique identifier representing the entity | -`total_amount` | **number** | Amount of payment | -`transaction_date` | **Date** | Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD | +`id` | **string** | A unique identifier for an object. | +`total_amount` | **number** | The total amount of the transaction | +`transaction_date` | **Date** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | `downstream_id` | **string** | The third-party API ID of original entity | [optional] `currency` | [**Currency**](Currency.md) | | [optional] `currency_rate` | **number** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] -`reference` | **string** | Optional payment reference message ie: Debit remittance detail. | [optional] -`payment_method` | **string** | Payment method name | [optional] +`reference` | **string** | Optional transaction reference message ie: Debit remittance detail. | [optional] +`payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `payment_method_reference` | **string** | Optional reference message returned by payment method on processing | [optional] -`payment_method_id` | **string** | Unique identifier for the payment method. | [optional] +`payment_method_id` | **string** | A unique identifier for an object. | [optional] `accounts_receivable_account_type` | **string** | Type of accounts receivable account. | [optional] `accounts_receivable_account_id` | **string** | Unique identifier for the account to allocate payment to. | [optional] `account` | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] `customer` | [**LinkedCustomer**](LinkedCustomer.md) | | [optional] -`supplier` | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] +`supplier` | [**DeprecatedLinkedSupplier**](DeprecatedLinkedSupplier.md) | | [optional] `company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] -`reconciled` | **boolean** | Payment has been reconciled | [optional] -`status` | **string** | Status of payment | [optional] -`type` | **string** | Type of payment | [optional] +`reconciled` | **boolean** | Indicates if the transaction has been reconciled. | [optional] +`status` | [**PaymentStatus**](PaymentStatus.md) | | [optional] +`type` | [**PaymentType**](PaymentType.md) | | [optional] `allocations` | [**Array<Allocation>**](Allocation.md) | | [optional] -`note` | **string** | Optional note to be associated with the payment. | [optional] -`number` | **string** | Payment number. | [optional] +`note` | **string** | Note associated with the transaction | [optional] +`number` | **string** | Number associated with the transaction | [optional] `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] `custom_fields` | [**Array<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** | Payment id to be displayed. | [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] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -42,44 +42,6 @@ Name | Type | Description | Notes - -## Enum: Payment.status - - -* `authorised` (value: `'authorised'`) - -* `paid` (value: `'paid'`) - -* `voided` (value: `'voided'`) - -* `deleted` (value: `'deleted'`) - - - - - -## Enum: Payment.type - - -* `receivable` (value: `'accounts_receivable'`) - -* `payable` (value: `'accounts_payable'`) - -* `receivable_credit` (value: `'accounts_receivable_credit'`) - -* `payable_credit` (value: `'accounts_payable_credit'`) - -* `receivable_overpayment` (value: `'accounts_receivable_overpayment'`) - -* `payable_overpayment` (value: `'accounts_payable_overpayment'`) - -* `receivable_prepayment` (value: `'accounts_receivable_prepayment'`) - -* `payable_prepayment` (value: `'accounts_payable_prepayment'`) - - - - ## Referenced Types: @@ -95,11 +57,11 @@ Name | Type | Description | Notes * [`LinkedLedgerAccount`](LinkedLedgerAccount.md) * [`LinkedCustomer`](LinkedCustomer.md) -* [`LinkedSupplier`](LinkedSupplier.md) - - +* [`DeprecatedLinkedSupplier`](DeprecatedLinkedSupplier.md) +* [`PaymentStatus`](PaymentStatus.md) +* [`PaymentType`](PaymentType.md) * [`Allocation`](Allocation.md) diff --git a/src/gen/docs/models/PaymentStatus.md b/src/gen/docs/models/PaymentStatus.md new file mode 100644 index 000000000..20c452d8f --- /dev/null +++ b/src/gen/docs/models/PaymentStatus.md @@ -0,0 +1,19 @@ +# Apideck.PaymentStatus + +## Enum + + +* `authorised` (value: `'authorised'`) + +* `paid` (value: `'paid'`) + +* `voided` (value: `'voided'`) + +* `deleted` (value: `'deleted'`) + + +--- + +[[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/PaymentType.md b/src/gen/docs/models/PaymentType.md new file mode 100644 index 000000000..b40c13fad --- /dev/null +++ b/src/gen/docs/models/PaymentType.md @@ -0,0 +1,27 @@ +# Apideck.PaymentType + +## Enum + + +* `receivable` (value: `'accounts_receivable'`) + +* `payable` (value: `'accounts_payable'`) + +* `receivable_credit` (value: `'accounts_receivable_credit'`) + +* `payable_credit` (value: `'accounts_payable_credit'`) + +* `receivable_overpayment` (value: `'accounts_receivable_overpayment'`) + +* `payable_overpayment` (value: `'accounts_payable_overpayment'`) + +* `receivable_prepayment` (value: `'accounts_receivable_prepayment'`) + +* `payable_prepayment` (value: `'accounts_payable_prepayment'`) + + +--- + +[[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/PurchaseOrdersFilter.md b/src/gen/docs/models/PurchaseOrdersFilter.md index 7e83375c9..98f68514f 100644 --- a/src/gen/docs/models/PurchaseOrdersFilter.md +++ b/src/gen/docs/models/PurchaseOrdersFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `updated_since` | **Date** | | [optional] +`supplier_id` | **string** | | [optional] diff --git a/src/gen/docs/models/TimeOffRequest.md b/src/gen/docs/models/TimeOffRequest.md index 170b4c8f1..6bc7d8424 100644 --- a/src/gen/docs/models/TimeOffRequest.md +++ b/src/gen/docs/models/TimeOffRequest.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes `approval_date` | **string** | The date the request was approved | [optional] `units` | **string** | The unit of time off requested. Possible values include: `hours`, `days`, or `other`. | [optional] `amount` | **number** | The amount of time off requested. | [optional] +`day_part` | **string** | The day part of the time off request. | [optional] `notes` | [**TimeOffRequestNotes**](TimeOffRequestNotes.md) | | [optional] `custom_mappings` | **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] @@ -96,6 +97,7 @@ Name | Type | Description | Notes + * [`TimeOffRequestNotes`](TimeOffRequestNotes.md) diff --git a/src/gen/docs/models/TimeOffRequestsFilter.md b/src/gen/docs/models/TimeOffRequestsFilter.md index 479d1b5c3..84e27821e 100644 --- a/src/gen/docs/models/TimeOffRequestsFilter.md +++ b/src/gen/docs/models/TimeOffRequestsFilter.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes `updated_since` | **string** | Minimum date the time off request was last created or modified | [optional] `employee_id` | **string** | Employee ID | [optional] `time_off_request_status` | **string** | Time off request status to filter on | [optional] +`company_id` | **string** | Company ID | [optional] diff --git a/src/gen/docs/models/TrackingCategory.md b/src/gen/docs/models/TrackingCategory.md index fdc03b073..9d910db51 100644 --- a/src/gen/docs/models/TrackingCategory.md +++ b/src/gen/docs/models/TrackingCategory.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | [optional] `parent_id` | **string** | A unique identifier for an object. | [optional] `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] `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] @@ -43,6 +44,7 @@ Name | Type | Description | Notes + * [`PassThroughBody`](PassThroughBody.md) --- diff --git a/src/gen/docs/models/UpdateBillPaymentResponse.md b/src/gen/docs/models/UpdateBillPaymentResponse.md new file mode 100644 index 000000000..a61c747eb --- /dev/null +++ b/src/gen/docs/models/UpdateBillPaymentResponse.md @@ -0,0 +1,31 @@ +# Apideck.UpdateBillPaymentResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**UnifiedId**](UnifiedId.md) | | + + + + + +## 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/UpdateExpenseResponse.md b/src/gen/docs/models/UpdateExpenseResponse.md new file mode 100644 index 000000000..00d44dcd0 --- /dev/null +++ b/src/gen/docs/models/UpdateExpenseResponse.md @@ -0,0 +1,31 @@ +# Apideck.UpdateExpenseResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | 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` | [**UnifiedId**](UnifiedId.md) | | + + + + + +## 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/WebhookEventType.md b/src/gen/docs/models/WebhookEventType.md index 0a482f54d..0ca02c664 100644 --- a/src/gen/docs/models/WebhookEventType.md +++ b/src/gen/docs/models/WebhookEventType.md @@ -207,6 +207,12 @@ * `ats_application_deleted` (value: `'ats.application.deleted'`) +* `accounting_expense_created` (value: `'accounting.expense.created'`) + +* `accounting_expense_updated` (value: `'accounting.expense.updated'`) + +* `accounting_expense_deleted` (value: `'accounting.expense.deleted'`) + --- diff --git a/src/gen/models/AccountingDepartment.ts b/src/gen/models/AccountingDepartment.ts index ab39ca235..a5a80e37d 100644 --- a/src/gen/models/AccountingDepartment.ts +++ b/src/gen/models/AccountingDepartment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AccountingDepartmentsFilter.ts b/src/gen/models/AccountingDepartmentsFilter.ts index d74b9ce96..011cefec6 100644 --- a/src/gen/models/AccountingDepartmentsFilter.ts +++ b/src/gen/models/AccountingDepartmentsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AccountingEventType.ts b/src/gen/models/AccountingEventType.ts index d6fdf1852..223dbaeb8 100644 --- a/src/gen/models/AccountingEventType.ts +++ b/src/gen/models/AccountingEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -45,7 +45,10 @@ export enum AccountingEventType { accounting_supplier_deleted = 'accounting.supplier.deleted', accounting_purchase_order_created = 'accounting.purchase-order.created', accounting_purchase_order_updated = 'accounting.purchase-order.updated', - accounting_purchase_order_deleted = 'accounting.purchase-order.deleted' + accounting_purchase_order_deleted = 'accounting.purchase-order.deleted', + accounting_expense_created = 'accounting.expense.created', + accounting_expense_updated = 'accounting.expense.updated', + accounting_expense_deleted = 'accounting.expense.deleted' } export function AccountingEventTypeFromJSON(json: any): AccountingEventType { diff --git a/src/gen/models/AccountingLocation.ts b/src/gen/models/AccountingLocation.ts index 825e90565..f1810b117 100644 --- a/src/gen/models/AccountingLocation.ts +++ b/src/gen/models/AccountingLocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AccountingLocationsFilter.ts b/src/gen/models/AccountingLocationsFilter.ts index f08028faa..1b760e9de 100644 --- a/src/gen/models/AccountingLocationsFilter.ts +++ b/src/gen/models/AccountingLocationsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ActivitiesFilter.ts b/src/gen/models/ActivitiesFilter.ts index 5726f0344..3d2d514b7 100644 --- a/src/gen/models/ActivitiesFilter.ts +++ b/src/gen/models/ActivitiesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -43,6 +43,12 @@ export interface ActivitiesFilter { * @memberof ActivitiesFilter */ updated_since?: Date + /** + * Type to filter on + * @type {string} + * @memberof ActivitiesFilter + */ + type?: string } export function ActivitiesFilterFromJSON(json: any): ActivitiesFilter { @@ -60,7 +66,8 @@ export function ActivitiesFilterFromJSONTyped( company_id: !exists(json, 'company_id') ? undefined : json['company_id'], owner_id: !exists(json, 'owner_id') ? undefined : json['owner_id'], contact_id: !exists(json, 'contact_id') ? undefined : json['contact_id'], - updated_since: !exists(json, 'updated_since') ? undefined : new Date(json['updated_since']) + updated_since: !exists(json, 'updated_since') ? undefined : new Date(json['updated_since']), + type: !exists(json, 'type') ? undefined : json['type'] } } @@ -76,6 +83,7 @@ export function ActivitiesFilterToJSON(value?: ActivitiesFilter | null): any { owner_id: value.owner_id, contact_id: value.contact_id, updated_since: - value.updated_since === undefined ? undefined : new Date(value.updated_since).toISOString() + value.updated_since === undefined ? undefined : new Date(value.updated_since).toISOString(), + type: value.type } } diff --git a/src/gen/models/ActivitiesSort.ts b/src/gen/models/ActivitiesSort.ts index c012995cb..83ff8c08c 100644 --- a/src/gen/models/ActivitiesSort.ts +++ b/src/gen/models/ActivitiesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Activity.ts b/src/gen/models/Activity.ts index f7a374458..b0663d228 100644 --- a/src/gen/models/Activity.ts +++ b/src/gen/models/Activity.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ActivityAttendee.ts b/src/gen/models/ActivityAttendee.ts index 0cb2a1ea4..d64142fac 100644 --- a/src/gen/models/ActivityAttendee.ts +++ b/src/gen/models/ActivityAttendee.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Address.ts b/src/gen/models/Address.ts index 99ae4f9ee..c2ea6d6f9 100644 --- a/src/gen/models/Address.ts +++ b/src/gen/models/Address.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Allocation.ts b/src/gen/models/Allocation.ts index 4e85141b8..265736711 100644 --- a/src/gen/models/Allocation.ts +++ b/src/gen/models/Allocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -63,7 +63,8 @@ export enum AllocationType { over_payment = 'over_payment', pre_payment = 'pre_payment', journal_entry = 'journal_entry', - other = 'other' + other = 'other', + bill = 'bill' } export function AllocationFromJSON(json: any): Allocation { diff --git a/src/gen/models/Api.ts b/src/gen/models/Api.ts index 1dc47c36d..f5235e385 100644 --- a/src/gen/models/Api.ts +++ b/src/gen/models/Api.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResource.ts b/src/gen/models/ApiResource.ts index daa4963cd..d558866fa 100644 --- a/src/gen/models/ApiResource.ts +++ b/src/gen/models/ApiResource.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResourceCoverage.ts b/src/gen/models/ApiResourceCoverage.ts index 564b02a7e..6fc0a1dea 100644 --- a/src/gen/models/ApiResourceCoverage.ts +++ b/src/gen/models/ApiResourceCoverage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResourceCoverageCoverage.ts b/src/gen/models/ApiResourceCoverageCoverage.ts index c538a806b..b7f4cde82 100644 --- a/src/gen/models/ApiResourceCoverageCoverage.ts +++ b/src/gen/models/ApiResourceCoverageCoverage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResourceLinkedResources.ts b/src/gen/models/ApiResourceLinkedResources.ts index 8c7761643..896997173 100644 --- a/src/gen/models/ApiResourceLinkedResources.ts +++ b/src/gen/models/ApiResourceLinkedResources.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResources.ts b/src/gen/models/ApiResources.ts index 51a63d8b6..a1e71929c 100644 --- a/src/gen/models/ApiResources.ts +++ b/src/gen/models/ApiResources.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiStatus.ts b/src/gen/models/ApiStatus.ts index fbb75d6a2..a8088c8b4 100644 --- a/src/gen/models/ApiStatus.ts +++ b/src/gen/models/ApiStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApisFilter.ts b/src/gen/models/ApisFilter.ts index 413e839a0..56195a390 100644 --- a/src/gen/models/ApisFilter.ts +++ b/src/gen/models/ApisFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Applicant.ts b/src/gen/models/Applicant.ts index 59cbe611e..73fd24805 100644 --- a/src/gen/models/Applicant.ts +++ b/src/gen/models/Applicant.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApplicantSocialLinks.ts b/src/gen/models/ApplicantSocialLinks.ts index 7e3513a2a..b5a9b6d18 100644 --- a/src/gen/models/ApplicantSocialLinks.ts +++ b/src/gen/models/ApplicantSocialLinks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApplicantWebsites.ts b/src/gen/models/ApplicantWebsites.ts index fdf9e125d..31c64c60b 100644 --- a/src/gen/models/ApplicantWebsites.ts +++ b/src/gen/models/ApplicantWebsites.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApplicantsFilter.ts b/src/gen/models/ApplicantsFilter.ts index f44a48c29..6c06556a7 100644 --- a/src/gen/models/ApplicantsFilter.ts +++ b/src/gen/models/ApplicantsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Application.ts b/src/gen/models/Application.ts index 63aaecc05..077359bb1 100644 --- a/src/gen/models/Application.ts +++ b/src/gen/models/Application.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApplicationStage.ts b/src/gen/models/ApplicationStage.ts index ae9b16f0a..6d0715bf1 100644 --- a/src/gen/models/ApplicationStage.ts +++ b/src/gen/models/ApplicationStage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Assignee.ts b/src/gen/models/Assignee.ts index 8eee1eff5..3c4b8fa3a 100644 --- a/src/gen/models/Assignee.ts +++ b/src/gen/models/Assignee.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AtsActivity.ts b/src/gen/models/AtsActivity.ts index 4bdcb1bee..33a7bb4cb 100644 --- a/src/gen/models/AtsActivity.ts +++ b/src/gen/models/AtsActivity.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AtsEventType.ts b/src/gen/models/AtsEventType.ts index 8e31def41..0660df345 100644 --- a/src/gen/models/AtsEventType.ts +++ b/src/gen/models/AtsEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Attachment.ts b/src/gen/models/Attachment.ts index a0c64aa20..3425dec1b 100644 --- a/src/gen/models/Attachment.ts +++ b/src/gen/models/Attachment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -68,6 +68,12 @@ export interface Attachment { * @memberof Attachment */ description?: string | null + /** + * The folder id where this attachment belong to + * @type {string} + * @memberof Attachment + */ + parent_folder_id?: string | null /** * The user who last updated the object. * @type {string} @@ -118,6 +124,7 @@ export function AttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean) ? undefined : AttachmentReferenceFromJSON(json['reference']), description: !exists(json, 'description') ? undefined : json['description'], + parent_folder_id: !exists(json, 'parent_folder_id') ? undefined : json['parent_folder_id'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -150,6 +157,7 @@ export function AttachmentToJSON(value?: Attachment | null): any { size: value.size, reference: AttachmentReferenceToJSON(value.reference), description: value.description, + parent_folder_id: value.parent_folder_id, pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/AttachmentReference.ts b/src/gen/models/AttachmentReference.ts index daf9ab06a..d9dff820b 100644 --- a/src/gen/models/AttachmentReference.ts +++ b/src/gen/models/AttachmentReference.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AttachmentReferenceType.ts b/src/gen/models/AttachmentReferenceType.ts index de4956679..85fb3e703 100644 --- a/src/gen/models/AttachmentReferenceType.ts +++ b/src/gen/models/AttachmentReferenceType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,7 +19,8 @@ */ export enum AttachmentReferenceType { invoice = 'invoice', - bill = 'bill' + bill = 'bill', + expense = 'expense' } export function AttachmentReferenceTypeFromJSON(json: any): AttachmentReferenceType { diff --git a/src/gen/models/AuthType.ts b/src/gen/models/AuthType.ts index 4db8703cb..f42aaf1df 100644 --- a/src/gen/models/AuthType.ts +++ b/src/gen/models/AuthType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BadRequestResponse.ts b/src/gen/models/BadRequestResponse.ts index 26c45ecac..f0d70b2e7 100644 --- a/src/gen/models/BadRequestResponse.ts +++ b/src/gen/models/BadRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheet.ts b/src/gen/models/BalanceSheet.ts index 2a6ac639e..38836534f 100644 --- a/src/gen/models/BalanceSheet.ts +++ b/src/gen/models/BalanceSheet.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetAccount.ts b/src/gen/models/BalanceSheetAccount.ts index 7c8c78a1a..1f1a16566 100644 --- a/src/gen/models/BalanceSheetAccount.ts +++ b/src/gen/models/BalanceSheetAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetAccountRecord.ts b/src/gen/models/BalanceSheetAccountRecord.ts index 4ec475d12..c6c4f7965 100644 --- a/src/gen/models/BalanceSheetAccountRecord.ts +++ b/src/gen/models/BalanceSheetAccountRecord.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetAccounts.ts b/src/gen/models/BalanceSheetAccounts.ts index 2a4a96a45..88d463c74 100644 --- a/src/gen/models/BalanceSheetAccounts.ts +++ b/src/gen/models/BalanceSheetAccounts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetFilter.ts b/src/gen/models/BalanceSheetFilter.ts index b1e01f1e9..a4ee8d731 100644 --- a/src/gen/models/BalanceSheetFilter.ts +++ b/src/gen/models/BalanceSheetFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetReports.ts b/src/gen/models/BalanceSheetReports.ts index 1ffa238e0..bec38c9e5 100644 --- a/src/gen/models/BalanceSheetReports.ts +++ b/src/gen/models/BalanceSheetReports.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BankAccount.ts b/src/gen/models/BankAccount.ts index 115860eb2..c6c782e16 100644 --- a/src/gen/models/BankAccount.ts +++ b/src/gen/models/BankAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Benefit.ts b/src/gen/models/Benefit.ts index 2705430df..ebb3ec702 100644 --- a/src/gen/models/Benefit.ts +++ b/src/gen/models/Benefit.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Bill.ts b/src/gen/models/Bill.ts index 4e4e05e69..592649665 100644 --- a/src/gen/models/Bill.ts +++ b/src/gen/models/Bill.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -263,6 +263,12 @@ export interface Bill { * @memberof Bill */ pass_through?: PassThroughBody + /** + * Accounting period + * @type {string} + * @memberof Bill + */ + accounting_period?: string | null } /** @@ -350,7 +356,8 @@ export function BillFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bill custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], pass_through: !exists(json, 'pass_through') ? undefined - : PassThroughBodyFromJSON(json['pass_through']) + : PassThroughBodyFromJSON(json['pass_through']), + accounting_period: !exists(json, 'accounting_period') ? undefined : json['accounting_period'] } } @@ -406,6 +413,7 @@ export function BillToJSON(value?: Bill | null): any { discount_percentage: value.discount_percentage, tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), row_version: value.row_version, - pass_through: PassThroughBodyToJSON(value.pass_through) + pass_through: PassThroughBodyToJSON(value.pass_through), + accounting_period: value.accounting_period } } diff --git a/src/gen/models/BillLineItem.ts b/src/gen/models/BillLineItem.ts index 9dd575038..a6a777a7d 100644 --- a/src/gen/models/BillLineItem.ts +++ b/src/gen/models/BillLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BillPayment.ts b/src/gen/models/BillPayment.ts new file mode 100644 index 000000000..5f8189fae --- /dev/null +++ b/src/gen/models/BillPayment.ts @@ -0,0 +1,313 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Allocation, AllocationFromJSON, AllocationToJSON } from './Allocation' +import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { + LinkedLedgerAccount, + LinkedLedgerAccountFromJSON, + LinkedLedgerAccountToJSON +} from './LinkedLedgerAccount' +import { LinkedSupplier, LinkedSupplierFromJSON, LinkedSupplierToJSON } from './LinkedSupplier' +import { + LinkedTrackingCategories, + LinkedTrackingCategoriesFromJSON, + LinkedTrackingCategoriesToJSON +} from './LinkedTrackingCategories' +import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' +import { PaymentStatus, PaymentStatusFromJSON, PaymentStatusToJSON } from './PaymentStatus' +import { PaymentType, PaymentTypeFromJSON, PaymentTypeToJSON } from './PaymentType' + +/** + * + * @export + * @interface BillPayment + */ +export interface BillPayment { + /** + * A unique identifier for an object. + * @type {string} + * @memberof BillPayment + */ + readonly id: string + /** + * The total amount of the transaction + * @type {number} + * @memberof BillPayment + */ + total_amount: number | null + /** + * The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + * @type {Date} + * @memberof BillPayment + */ + transaction_date: Date | null + /** + * The third-party API ID of original entity + * @type {string} + * @memberof BillPayment + */ + readonly downstream_id?: string | null + /** + * + * @type {Currency} + * @memberof BillPayment + */ + currency?: Currency | null + /** + * Currency Exchange Rate at the time entity was recorded/generated. + * @type {number} + * @memberof BillPayment + */ + currency_rate?: number | null + /** + * Optional transaction reference message ie: Debit remittance detail. + * @type {string} + * @memberof BillPayment + */ + reference?: string | null + /** + * Payment method used for the transaction, such as cash, credit card, bank transfer, or check + * @type {string} + * @memberof BillPayment + */ + payment_method?: string | null + /** + * Optional reference message returned by payment method on processing + * @type {string} + * @memberof BillPayment + */ + payment_method_reference?: string | null + /** + * A unique identifier for an object. + * @type {string} + * @memberof BillPayment + */ + payment_method_id?: string | null + /** + * + * @type {LinkedLedgerAccount} + * @memberof BillPayment + */ + account?: LinkedLedgerAccount | null + /** + * + * @type {LinkedSupplier} + * @memberof BillPayment + */ + supplier?: LinkedSupplier | null + /** + * The company or subsidiary id the transaction belongs to + * @type {string} + * @memberof BillPayment + */ + company_id?: string | null + /** + * Indicates if the transaction has been reconciled. + * @type {boolean} + * @memberof BillPayment + */ + reconciled?: boolean | null + /** + * + * @type {PaymentStatus} + * @memberof BillPayment + */ + status?: PaymentStatus + /** + * + * @type {PaymentType} + * @memberof BillPayment + */ + type?: PaymentType + /** + * + * @type {Array} + * @memberof BillPayment + */ + allocations?: Array + /** + * Note associated with the transaction + * @type {string} + * @memberof BillPayment + */ + note?: string | null + /** + * Number associated with the transaction + * @type {string} + * @memberof BillPayment + */ + number?: string | null + /** + * + * @type {LinkedTrackingCategories} + * @memberof BillPayment + */ + tracking_categories?: LinkedTrackingCategories | null + /** + * + * @type {Array} + * @memberof BillPayment + */ + custom_fields?: Array + /** + * 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. + * @type {string} + * @memberof BillPayment + */ + row_version?: string | null + /** + * Id to be displayed. + * @type {string} + * @memberof BillPayment + */ + display_id?: string | null + /** + * When custom mappings are configured on the resource, the result is included here. + * @type {object} + * @memberof BillPayment + */ + readonly custom_mappings?: object | null + /** + * The user who last updated the object. + * @type {string} + * @memberof BillPayment + */ + readonly updated_by?: string | null + /** + * The user who created the object. + * @type {string} + * @memberof BillPayment + */ + readonly created_by?: string | null + /** + * The date and time when the object was created. + * @type {Date} + * @memberof BillPayment + */ + readonly created_at?: Date | null + /** + * The date and time when the object was last updated. + * @type {Date} + * @memberof BillPayment + */ + readonly updated_at?: Date | null + /** + * + * @type {PassThroughBody} + * @memberof BillPayment + */ + pass_through?: PassThroughBody +} + +export function BillPaymentFromJSON(json: any): BillPayment { + return BillPaymentFromJSONTyped(json, false) +} + +export function BillPaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillPayment { + if (json === undefined || json === null) { + return json + } + return { + id: json['id'], + total_amount: json['total_amount'], + transaction_date: json['transaction_date'] === null ? null : new Date(json['transaction_date']), + downstream_id: !exists(json, 'downstream_id') ? undefined : json['downstream_id'], + currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), + currency_rate: !exists(json, 'currency_rate') ? undefined : json['currency_rate'], + reference: !exists(json, 'reference') ? undefined : json['reference'], + payment_method: !exists(json, 'payment_method') ? undefined : json['payment_method'], + payment_method_reference: !exists(json, 'payment_method_reference') + ? undefined + : json['payment_method_reference'], + payment_method_id: !exists(json, 'payment_method_id') ? undefined : json['payment_method_id'], + account: !exists(json, 'account') ? undefined : LinkedLedgerAccountFromJSON(json['account']), + supplier: !exists(json, 'supplier') ? undefined : LinkedSupplierFromJSON(json['supplier']), + company_id: !exists(json, 'company_id') ? undefined : json['company_id'], + reconciled: !exists(json, 'reconciled') ? undefined : json['reconciled'], + status: !exists(json, 'status') ? undefined : PaymentStatusFromJSON(json['status']), + type: !exists(json, 'type') ? undefined : PaymentTypeFromJSON(json['type']), + allocations: !exists(json, 'allocations') + ? undefined + : (json['allocations'] as Array).map(AllocationFromJSON), + note: !exists(json, 'note') ? undefined : json['note'], + number: !exists(json, 'number') ? undefined : json['number'], + tracking_categories: !exists(json, 'tracking_categories') + ? undefined + : LinkedTrackingCategoriesFromJSON(json['tracking_categories']), + custom_fields: !exists(json, 'custom_fields') + ? undefined + : (json['custom_fields'] as Array).map(CustomFieldFromJSON), + row_version: !exists(json, 'row_version') ? undefined : json['row_version'], + display_id: !exists(json, 'display_id') ? undefined : json['display_id'], + custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], + created_by: !exists(json, 'created_by') ? undefined : json['created_by'], + created_at: !exists(json, 'created_at') + ? undefined + : json['created_at'] === null + ? null + : new Date(json['created_at']), + updated_at: !exists(json, 'updated_at') + ? undefined + : json['updated_at'] === null + ? null + : new Date(json['updated_at']), + pass_through: !exists(json, 'pass_through') + ? undefined + : PassThroughBodyFromJSON(json['pass_through']) + } +} + +export function BillPaymentToJSON(value?: BillPayment | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + total_amount: value.total_amount, + transaction_date: + value.transaction_date === null ? null : new Date(value.transaction_date).toISOString(), + currency: CurrencyToJSON(value.currency), + currency_rate: value.currency_rate, + reference: value.reference, + payment_method: value.payment_method, + payment_method_reference: value.payment_method_reference, + payment_method_id: value.payment_method_id, + account: LinkedLedgerAccountToJSON(value.account), + supplier: LinkedSupplierToJSON(value.supplier), + company_id: value.company_id, + reconciled: value.reconciled, + status: PaymentStatusToJSON(value.status), + type: PaymentTypeToJSON(value.type), + allocations: + value.allocations === undefined + ? undefined + : (value.allocations as Array).map(AllocationToJSON), + note: value.note, + number: value.number, + tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), + custom_fields: + value.custom_fields === undefined + ? undefined + : (value.custom_fields as Array).map(CustomFieldToJSON), + row_version: value.row_version, + display_id: value.display_id, + pass_through: PassThroughBodyToJSON(value.pass_through) + } +} diff --git a/src/gen/models/BillsFilter.ts b/src/gen/models/BillsFilter.ts index 734a07768..d18a9fcec 100644 --- a/src/gen/models/BillsFilter.ts +++ b/src/gen/models/BillsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BillsSort.ts b/src/gen/models/BillsSort.ts index 40c786c8a..d9a93a780 100644 --- a/src/gen/models/BillsSort.ts +++ b/src/gen/models/BillsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Branch.ts b/src/gen/models/Branch.ts index e3a97f7f5..2dc4b6d2a 100644 --- a/src/gen/models/Branch.ts +++ b/src/gen/models/Branch.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CashDetails.ts b/src/gen/models/CashDetails.ts index 846665496..c0e92fab0 100644 --- a/src/gen/models/CashDetails.ts +++ b/src/gen/models/CashDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Collection.ts b/src/gen/models/Collection.ts index 2d8c4a085..05145152c 100644 --- a/src/gen/models/Collection.ts +++ b/src/gen/models/Collection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CollectionTag.ts b/src/gen/models/CollectionTag.ts index 314f83826..fe35b5a33 100644 --- a/src/gen/models/CollectionTag.ts +++ b/src/gen/models/CollectionTag.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CollectionTicketComment.ts b/src/gen/models/CollectionTicketComment.ts index a33161eb4..916c68698 100644 --- a/src/gen/models/CollectionTicketComment.ts +++ b/src/gen/models/CollectionTicketComment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CollectionUser.ts b/src/gen/models/CollectionUser.ts index 6e4258519..4bf312d97 100644 --- a/src/gen/models/CollectionUser.ts +++ b/src/gen/models/CollectionUser.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CollectionsSort.ts b/src/gen/models/CollectionsSort.ts index 25905dbb0..ec7d77bf3 100644 --- a/src/gen/models/CollectionsSort.ts +++ b/src/gen/models/CollectionsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CommentsSort.ts b/src/gen/models/CommentsSort.ts index 9973e6411..cd70c0a83 100644 --- a/src/gen/models/CommentsSort.ts +++ b/src/gen/models/CommentsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CompaniesFilter.ts b/src/gen/models/CompaniesFilter.ts index d4f5199cf..f65a2a206 100644 --- a/src/gen/models/CompaniesFilter.ts +++ b/src/gen/models/CompaniesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CompaniesSort.ts b/src/gen/models/CompaniesSort.ts index b9aca459b..635735b3a 100644 --- a/src/gen/models/CompaniesSort.ts +++ b/src/gen/models/CompaniesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Company.ts b/src/gen/models/Company.ts index 8d5276ef1..fa6490bc8 100644 --- a/src/gen/models/Company.ts +++ b/src/gen/models/Company.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CompanyInfo.ts b/src/gen/models/CompanyInfo.ts index 2db5628b7..4acf72697 100644 --- a/src/gen/models/CompanyInfo.ts +++ b/src/gen/models/CompanyInfo.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CompanyRowType.ts b/src/gen/models/CompanyRowType.ts index 76e61c0df..afceba190 100644 --- a/src/gen/models/CompanyRowType.ts +++ b/src/gen/models/CompanyRowType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Compensation.ts b/src/gen/models/Compensation.ts index d37717d58..9a878fa42 100644 --- a/src/gen/models/Compensation.ts +++ b/src/gen/models/Compensation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Connection.ts b/src/gen/models/Connection.ts index 2a6b5ab2d..7e720db25 100644 --- a/src/gen/models/Connection.ts +++ b/src/gen/models/Connection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionConfiguration.ts b/src/gen/models/ConnectionConfiguration.ts index e33c29dab..faec4fce7 100644 --- a/src/gen/models/ConnectionConfiguration.ts +++ b/src/gen/models/ConnectionConfiguration.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionDefaults.ts b/src/gen/models/ConnectionDefaults.ts index 2eaa4d93c..f536f18ab 100644 --- a/src/gen/models/ConnectionDefaults.ts +++ b/src/gen/models/ConnectionDefaults.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionImportData.ts b/src/gen/models/ConnectionImportData.ts index f98f3bba3..044267420 100644 --- a/src/gen/models/ConnectionImportData.ts +++ b/src/gen/models/ConnectionImportData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionImportDataCredentials.ts b/src/gen/models/ConnectionImportDataCredentials.ts index 5747702ad..ce4d0d6b2 100644 --- a/src/gen/models/ConnectionImportDataCredentials.ts +++ b/src/gen/models/ConnectionImportDataCredentials.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionMetadata.ts b/src/gen/models/ConnectionMetadata.ts index fc0a385c7..baff6672b 100644 --- a/src/gen/models/ConnectionMetadata.ts +++ b/src/gen/models/ConnectionMetadata.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionState.ts b/src/gen/models/ConnectionState.ts index 0cad12e22..5acc16ae1 100644 --- a/src/gen/models/ConnectionState.ts +++ b/src/gen/models/ConnectionState.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionWebhook.ts b/src/gen/models/ConnectionWebhook.ts index 73351aac4..2f0325a6a 100644 --- a/src/gen/models/ConnectionWebhook.ts +++ b/src/gen/models/ConnectionWebhook.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -197,7 +197,10 @@ export enum ConnectionWebhookEvents { issue_tracking_ticket_deleted = 'issue-tracking.ticket.deleted', ats_application_created = 'ats.application.created', ats_application_updated = 'ats.application.updated', - ats_application_deleted = 'ats.application.deleted' + ats_application_deleted = 'ats.application.deleted', + accounting_expense_created = 'accounting.expense.created', + accounting_expense_updated = 'accounting.expense.updated', + accounting_expense_deleted = 'accounting.expense.deleted' } /** * @export diff --git a/src/gen/models/Connector.ts b/src/gen/models/Connector.ts index 07d486b2b..c1435cfc3 100644 --- a/src/gen/models/Connector.ts +++ b/src/gen/models/Connector.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorDoc.ts b/src/gen/models/ConnectorDoc.ts index 5fc146aa7..55a98a37f 100644 --- a/src/gen/models/ConnectorDoc.ts +++ b/src/gen/models/ConnectorDoc.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorEvent.ts b/src/gen/models/ConnectorEvent.ts index 89476a1b5..aed41911c 100644 --- a/src/gen/models/ConnectorEvent.ts +++ b/src/gen/models/ConnectorEvent.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorOauthScopes.ts b/src/gen/models/ConnectorOauthScopes.ts index 0d68ca494..08387825e 100644 --- a/src/gen/models/ConnectorOauthScopes.ts +++ b/src/gen/models/ConnectorOauthScopes.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorOauthScopes1.ts b/src/gen/models/ConnectorOauthScopes1.ts index c8e29b6fd..4de3cc270 100644 --- a/src/gen/models/ConnectorOauthScopes1.ts +++ b/src/gen/models/ConnectorOauthScopes1.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorResource.ts b/src/gen/models/ConnectorResource.ts index 9f50adbc2..cb8ec4a82 100644 --- a/src/gen/models/ConnectorResource.ts +++ b/src/gen/models/ConnectorResource.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorSetting.ts b/src/gen/models/ConnectorSetting.ts index 3e71d7914..748347b43 100644 --- a/src/gen/models/ConnectorSetting.ts +++ b/src/gen/models/ConnectorSetting.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorStatus.ts b/src/gen/models/ConnectorStatus.ts index 39cda94ea..42b0543dd 100644 --- a/src/gen/models/ConnectorStatus.ts +++ b/src/gen/models/ConnectorStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorTlsSupport.ts b/src/gen/models/ConnectorTlsSupport.ts index 619c227e9..95bc208e8 100644 --- a/src/gen/models/ConnectorTlsSupport.ts +++ b/src/gen/models/ConnectorTlsSupport.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorUnifiedApis.ts b/src/gen/models/ConnectorUnifiedApis.ts index 94054effd..9bb003e99 100644 --- a/src/gen/models/ConnectorUnifiedApis.ts +++ b/src/gen/models/ConnectorUnifiedApis.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorsFilter.ts b/src/gen/models/ConnectorsFilter.ts index 6e318f00f..403d906e0 100644 --- a/src/gen/models/ConnectorsFilter.ts +++ b/src/gen/models/ConnectorsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Consumer.ts b/src/gen/models/Consumer.ts index 65eee1865..5a068cc7e 100644 --- a/src/gen/models/Consumer.ts +++ b/src/gen/models/Consumer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerConnection.ts b/src/gen/models/ConsumerConnection.ts index 94919fcdb..8bd505eb5 100644 --- a/src/gen/models/ConsumerConnection.ts +++ b/src/gen/models/ConsumerConnection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerMetadata.ts b/src/gen/models/ConsumerMetadata.ts index d527ef983..2f7fd038a 100644 --- a/src/gen/models/ConsumerMetadata.ts +++ b/src/gen/models/ConsumerMetadata.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts b/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts index 2da97fe29..12c61dd45 100644 --- a/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts +++ b/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts b/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts index d974e496d..f5f7acb23 100644 --- a/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts +++ b/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Contact.ts b/src/gen/models/Contact.ts index faa29deb6..a399b3f9e 100644 --- a/src/gen/models/Contact.ts +++ b/src/gen/models/Contact.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ContactsFilter.ts b/src/gen/models/ContactsFilter.ts index 080689938..139980ce6 100644 --- a/src/gen/models/ContactsFilter.ts +++ b/src/gen/models/ContactsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ContactsSort.ts b/src/gen/models/ContactsSort.ts index 151e7c61c..d9159ca6a 100644 --- a/src/gen/models/ContactsSort.ts +++ b/src/gen/models/ContactsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CopyFolderRequest.ts b/src/gen/models/CopyFolderRequest.ts index e0437fb2b..9ac1aea56 100644 --- a/src/gen/models/CopyFolderRequest.ts +++ b/src/gen/models/CopyFolderRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateAccountingDepartmentResponse.ts b/src/gen/models/CreateAccountingDepartmentResponse.ts index 1718b5916..e7a01dfdb 100644 --- a/src/gen/models/CreateAccountingDepartmentResponse.ts +++ b/src/gen/models/CreateAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateAccountingLocationResponse.ts b/src/gen/models/CreateAccountingLocationResponse.ts index 271aaa50c..22f3873b5 100644 --- a/src/gen/models/CreateAccountingLocationResponse.ts +++ b/src/gen/models/CreateAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateActivityResponse.ts b/src/gen/models/CreateActivityResponse.ts index 72aebc685..690ee4d1c 100644 --- a/src/gen/models/CreateActivityResponse.ts +++ b/src/gen/models/CreateActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateApplicantResponse.ts b/src/gen/models/CreateApplicantResponse.ts index 9b495b832..019d7a87d 100644 --- a/src/gen/models/CreateApplicantResponse.ts +++ b/src/gen/models/CreateApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateApplicationResponse.ts b/src/gen/models/CreateApplicationResponse.ts index 374105be7..26da1ac40 100644 --- a/src/gen/models/CreateApplicationResponse.ts +++ b/src/gen/models/CreateApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateAttachmentRequest.ts b/src/gen/models/CreateAttachmentRequest.ts index 3ce299a42..3b0fa6764 100644 --- a/src/gen/models/CreateAttachmentRequest.ts +++ b/src/gen/models/CreateAttachmentRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,6 +33,12 @@ export interface CreateAttachmentRequest { * @memberof CreateAttachmentRequest */ description?: string + /** + * The folder id where this attachment belong to + * @type {string} + * @memberof CreateAttachmentRequest + */ + parent_folder_id?: string /** * * @type {PassThroughBody} @@ -55,6 +61,7 @@ export function CreateAttachmentRequestFromJSONTyped( return { name: json['name'], description: !exists(json, 'description') ? undefined : json['description'], + parent_folder_id: !exists(json, 'parent_folder_id') ? undefined : json['parent_folder_id'], pass_through: !exists(json, 'pass_through') ? undefined : PassThroughBodyFromJSON(json['pass_through']) @@ -71,6 +78,7 @@ export function CreateAttachmentRequestToJSON(value?: CreateAttachmentRequest | return { name: value.name, description: value.description, + parent_folder_id: value.parent_folder_id, pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/CreateAttachmentResponse.ts b/src/gen/models/CreateAttachmentResponse.ts index 06dc63c5a..e8d8504cc 100644 --- a/src/gen/models/CreateAttachmentResponse.ts +++ b/src/gen/models/CreateAttachmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateBillPaymentResponse.ts b/src/gen/models/CreateBillPaymentResponse.ts new file mode 100644 index 000000000..4fbf64c08 --- /dev/null +++ b/src/gen/models/CreateBillPaymentResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface CreateBillPaymentResponse + */ +export interface CreateBillPaymentResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof CreateBillPaymentResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof CreateBillPaymentResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof CreateBillPaymentResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof CreateBillPaymentResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof CreateBillPaymentResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof CreateBillPaymentResponse + */ + data: UnifiedId +} + +export function CreateBillPaymentResponseFromJSON(json: any): CreateBillPaymentResponse { + return CreateBillPaymentResponseFromJSONTyped(json, false) +} + +export function CreateBillPaymentResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CreateBillPaymentResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']) + } +} + +export function CreateBillPaymentResponseToJSON(value?: CreateBillPaymentResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data) + } +} diff --git a/src/gen/models/CreateBillResponse.ts b/src/gen/models/CreateBillResponse.ts index 75c5ab66d..f6ddf3c15 100644 --- a/src/gen/models/CreateBillResponse.ts +++ b/src/gen/models/CreateBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCommentResponse.ts b/src/gen/models/CreateCommentResponse.ts index eddc42eb2..6ed58e3f5 100644 --- a/src/gen/models/CreateCommentResponse.ts +++ b/src/gen/models/CreateCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCompanyResponse.ts b/src/gen/models/CreateCompanyResponse.ts index 002de8842..71bdea8bd 100644 --- a/src/gen/models/CreateCompanyResponse.ts +++ b/src/gen/models/CreateCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateConnectionResponse.ts b/src/gen/models/CreateConnectionResponse.ts index fbe18eef3..90f65310f 100644 --- a/src/gen/models/CreateConnectionResponse.ts +++ b/src/gen/models/CreateConnectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateConsumerResponse.ts b/src/gen/models/CreateConsumerResponse.ts index aa14d964c..4e20e246a 100644 --- a/src/gen/models/CreateConsumerResponse.ts +++ b/src/gen/models/CreateConsumerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateContactResponse.ts b/src/gen/models/CreateContactResponse.ts index a2be4a8c1..aeecf09e8 100644 --- a/src/gen/models/CreateContactResponse.ts +++ b/src/gen/models/CreateContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCreditNoteResponse.ts b/src/gen/models/CreateCreditNoteResponse.ts index e986035b4..33ca303de 100644 --- a/src/gen/models/CreateCreditNoteResponse.ts +++ b/src/gen/models/CreateCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCustomMappingResponse.ts b/src/gen/models/CreateCustomMappingResponse.ts index 858f6987d..d55ad25c7 100644 --- a/src/gen/models/CreateCustomMappingResponse.ts +++ b/src/gen/models/CreateCustomMappingResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCustomerResponse.ts b/src/gen/models/CreateCustomerResponse.ts index 61923b9d6..00023eaf3 100644 --- a/src/gen/models/CreateCustomerResponse.ts +++ b/src/gen/models/CreateCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateDepartmentResponse.ts b/src/gen/models/CreateDepartmentResponse.ts index 69551960a..462af9fe6 100644 --- a/src/gen/models/CreateDepartmentResponse.ts +++ b/src/gen/models/CreateDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateDriveGroupResponse.ts b/src/gen/models/CreateDriveGroupResponse.ts index 26f52a3b9..21b443bbb 100644 --- a/src/gen/models/CreateDriveGroupResponse.ts +++ b/src/gen/models/CreateDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateDriveResponse.ts b/src/gen/models/CreateDriveResponse.ts index 4be2d5aac..d9dce945f 100644 --- a/src/gen/models/CreateDriveResponse.ts +++ b/src/gen/models/CreateDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateEcommerceCustomerResponse.ts b/src/gen/models/CreateEcommerceCustomerResponse.ts index 050c9c0f7..00a8294de 100644 --- a/src/gen/models/CreateEcommerceCustomerResponse.ts +++ b/src/gen/models/CreateEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateEcommerceOrderResponse.ts b/src/gen/models/CreateEcommerceOrderResponse.ts index 06265be5d..ef85e8db4 100644 --- a/src/gen/models/CreateEcommerceOrderResponse.ts +++ b/src/gen/models/CreateEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateEmployeeResponse.ts b/src/gen/models/CreateEmployeeResponse.ts index 147f0e33c..080312f6e 100644 --- a/src/gen/models/CreateEmployeeResponse.ts +++ b/src/gen/models/CreateEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateExpenseResponse.ts b/src/gen/models/CreateExpenseResponse.ts new file mode 100644 index 000000000..dd4ac9de1 --- /dev/null +++ b/src/gen/models/CreateExpenseResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface CreateExpenseResponse + */ +export interface CreateExpenseResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof CreateExpenseResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof CreateExpenseResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof CreateExpenseResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof CreateExpenseResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof CreateExpenseResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof CreateExpenseResponse + */ + data: UnifiedId +} + +export function CreateExpenseResponseFromJSON(json: any): CreateExpenseResponse { + return CreateExpenseResponseFromJSONTyped(json, false) +} + +export function CreateExpenseResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CreateExpenseResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']) + } +} + +export function CreateExpenseResponseToJSON(value?: CreateExpenseResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data) + } +} diff --git a/src/gen/models/CreateFileRequest.ts b/src/gen/models/CreateFileRequest.ts index 21643400d..9ec1cc4a8 100644 --- a/src/gen/models/CreateFileRequest.ts +++ b/src/gen/models/CreateFileRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateFileResponse.ts b/src/gen/models/CreateFileResponse.ts index 8b71eaa88..8d1010d53 100644 --- a/src/gen/models/CreateFileResponse.ts +++ b/src/gen/models/CreateFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateFolderRequest.ts b/src/gen/models/CreateFolderRequest.ts index acecf9f93..a71980bd1 100644 --- a/src/gen/models/CreateFolderRequest.ts +++ b/src/gen/models/CreateFolderRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateFolderResponse.ts b/src/gen/models/CreateFolderResponse.ts index 58e7540a6..1a810e5cc 100644 --- a/src/gen/models/CreateFolderResponse.ts +++ b/src/gen/models/CreateFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateHrisCompanyResponse.ts b/src/gen/models/CreateHrisCompanyResponse.ts index 663bc1742..b390ebf5e 100644 --- a/src/gen/models/CreateHrisCompanyResponse.ts +++ b/src/gen/models/CreateHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateInvoiceItemResponse.ts b/src/gen/models/CreateInvoiceItemResponse.ts index e7345a429..4e5784346 100644 --- a/src/gen/models/CreateInvoiceItemResponse.ts +++ b/src/gen/models/CreateInvoiceItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateInvoiceResponse.ts b/src/gen/models/CreateInvoiceResponse.ts index 7ae169b95..b526b77a6 100644 --- a/src/gen/models/CreateInvoiceResponse.ts +++ b/src/gen/models/CreateInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateItemResponse.ts b/src/gen/models/CreateItemResponse.ts index 893cd6867..91c7297e9 100644 --- a/src/gen/models/CreateItemResponse.ts +++ b/src/gen/models/CreateItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateJobResponse.ts b/src/gen/models/CreateJobResponse.ts index f967b47e9..3d399682d 100644 --- a/src/gen/models/CreateJobResponse.ts +++ b/src/gen/models/CreateJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateJournalEntryResponse.ts b/src/gen/models/CreateJournalEntryResponse.ts index 592dd8b48..f8aa908f5 100644 --- a/src/gen/models/CreateJournalEntryResponse.ts +++ b/src/gen/models/CreateJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateLeadResponse.ts b/src/gen/models/CreateLeadResponse.ts index 81cd454c5..8cae0b23f 100644 --- a/src/gen/models/CreateLeadResponse.ts +++ b/src/gen/models/CreateLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateLedgerAccountResponse.ts b/src/gen/models/CreateLedgerAccountResponse.ts index 4dbe51679..2a9241dd9 100644 --- a/src/gen/models/CreateLedgerAccountResponse.ts +++ b/src/gen/models/CreateLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateLocationResponse.ts b/src/gen/models/CreateLocationResponse.ts index 4c1c7676e..de4455190 100644 --- a/src/gen/models/CreateLocationResponse.ts +++ b/src/gen/models/CreateLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateMerchantResponse.ts b/src/gen/models/CreateMerchantResponse.ts index 49396f060..eb0528622 100644 --- a/src/gen/models/CreateMerchantResponse.ts +++ b/src/gen/models/CreateMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateMessageResponse.ts b/src/gen/models/CreateMessageResponse.ts index 361f989d1..8beba935d 100644 --- a/src/gen/models/CreateMessageResponse.ts +++ b/src/gen/models/CreateMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateModifierGroupResponse.ts b/src/gen/models/CreateModifierGroupResponse.ts index b156b7df0..0e8224748 100644 --- a/src/gen/models/CreateModifierGroupResponse.ts +++ b/src/gen/models/CreateModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateModifierResponse.ts b/src/gen/models/CreateModifierResponse.ts index 0bf58e7ee..2f2ac25ab 100644 --- a/src/gen/models/CreateModifierResponse.ts +++ b/src/gen/models/CreateModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateNoteResponse.ts b/src/gen/models/CreateNoteResponse.ts index cd11d409b..a2856cb30 100644 --- a/src/gen/models/CreateNoteResponse.ts +++ b/src/gen/models/CreateNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateOpportunityResponse.ts b/src/gen/models/CreateOpportunityResponse.ts index cb1470c90..4d4d90b6a 100644 --- a/src/gen/models/CreateOpportunityResponse.ts +++ b/src/gen/models/CreateOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateOrderResponse.ts b/src/gen/models/CreateOrderResponse.ts index f84b6028b..6f15b8e21 100644 --- a/src/gen/models/CreateOrderResponse.ts +++ b/src/gen/models/CreateOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateOrderTypeResponse.ts b/src/gen/models/CreateOrderTypeResponse.ts index ab3712360..938136ecb 100644 --- a/src/gen/models/CreateOrderTypeResponse.ts +++ b/src/gen/models/CreateOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePaymentResponse.ts b/src/gen/models/CreatePaymentResponse.ts index fabb829dc..bfa6c1252 100644 --- a/src/gen/models/CreatePaymentResponse.ts +++ b/src/gen/models/CreatePaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePipelineResponse.ts b/src/gen/models/CreatePipelineResponse.ts index d86abe6b6..5a1338bb3 100644 --- a/src/gen/models/CreatePipelineResponse.ts +++ b/src/gen/models/CreatePipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePosPaymentResponse.ts b/src/gen/models/CreatePosPaymentResponse.ts index faf55cbb1..dafeee66f 100644 --- a/src/gen/models/CreatePosPaymentResponse.ts +++ b/src/gen/models/CreatePosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateProductResponse.ts b/src/gen/models/CreateProductResponse.ts index cf329a829..8335560c4 100644 --- a/src/gen/models/CreateProductResponse.ts +++ b/src/gen/models/CreateProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePurchaseOrderResponse.ts b/src/gen/models/CreatePurchaseOrderResponse.ts index 889898bed..f535c166e 100644 --- a/src/gen/models/CreatePurchaseOrderResponse.ts +++ b/src/gen/models/CreatePurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSessionResponse.ts b/src/gen/models/CreateSessionResponse.ts index 88e578961..fc8c145ba 100644 --- a/src/gen/models/CreateSessionResponse.ts +++ b/src/gen/models/CreateSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSharedLinkResponse.ts b/src/gen/models/CreateSharedLinkResponse.ts index 171f20aa5..99b8decdb 100644 --- a/src/gen/models/CreateSharedLinkResponse.ts +++ b/src/gen/models/CreateSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSubsidiaryResponse.ts b/src/gen/models/CreateSubsidiaryResponse.ts index 60d9f028e..106a22173 100644 --- a/src/gen/models/CreateSubsidiaryResponse.ts +++ b/src/gen/models/CreateSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSupplierResponse.ts b/src/gen/models/CreateSupplierResponse.ts index a9cfdbcf8..528bf348d 100644 --- a/src/gen/models/CreateSupplierResponse.ts +++ b/src/gen/models/CreateSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTaxRateResponse.ts b/src/gen/models/CreateTaxRateResponse.ts index b9eba6470..e21299bdc 100644 --- a/src/gen/models/CreateTaxRateResponse.ts +++ b/src/gen/models/CreateTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTenderResponse.ts b/src/gen/models/CreateTenderResponse.ts index 92438629e..1acb86498 100644 --- a/src/gen/models/CreateTenderResponse.ts +++ b/src/gen/models/CreateTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTicketResponse.ts b/src/gen/models/CreateTicketResponse.ts index 648d7abb9..f03f09f4d 100644 --- a/src/gen/models/CreateTicketResponse.ts +++ b/src/gen/models/CreateTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTimeOffRequestResponse.ts b/src/gen/models/CreateTimeOffRequestResponse.ts index 3420b7971..185f47fb8 100644 --- a/src/gen/models/CreateTimeOffRequestResponse.ts +++ b/src/gen/models/CreateTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTrackingCategoryResponse.ts b/src/gen/models/CreateTrackingCategoryResponse.ts index 897b6b92b..f4fcdb3a8 100644 --- a/src/gen/models/CreateTrackingCategoryResponse.ts +++ b/src/gen/models/CreateTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateUploadSessionRequest.ts b/src/gen/models/CreateUploadSessionRequest.ts index 1c9ef5c57..44a95381f 100644 --- a/src/gen/models/CreateUploadSessionRequest.ts +++ b/src/gen/models/CreateUploadSessionRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateUploadSessionResponse.ts b/src/gen/models/CreateUploadSessionResponse.ts index 7fc2d0e1b..b4c094390 100644 --- a/src/gen/models/CreateUploadSessionResponse.ts +++ b/src/gen/models/CreateUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateUserResponse.ts b/src/gen/models/CreateUserResponse.ts index 80e3ae52c..77f052a98 100644 --- a/src/gen/models/CreateUserResponse.ts +++ b/src/gen/models/CreateUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateWebhookRequest.ts b/src/gen/models/CreateWebhookRequest.ts index 73d657327..b4120f3c1 100644 --- a/src/gen/models/CreateWebhookRequest.ts +++ b/src/gen/models/CreateWebhookRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateWebhookResponse.ts b/src/gen/models/CreateWebhookResponse.ts index 946743497..fc269a59e 100644 --- a/src/gen/models/CreateWebhookResponse.ts +++ b/src/gen/models/CreateWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreditNote.ts b/src/gen/models/CreditNote.ts index 873f84a94..54899158a 100644 --- a/src/gen/models/CreditNote.ts +++ b/src/gen/models/CreditNote.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreditNotesFilter.ts b/src/gen/models/CreditNotesFilter.ts index 921129b54..b1e398aeb 100644 --- a/src/gen/models/CreditNotesFilter.ts +++ b/src/gen/models/CreditNotesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreditNotesSort.ts b/src/gen/models/CreditNotesSort.ts index a1146ebb5..259da39f8 100644 --- a/src/gen/models/CreditNotesSort.ts +++ b/src/gen/models/CreditNotesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CrmEventType.ts b/src/gen/models/CrmEventType.ts index 7e17ae100..abe7aecbf 100644 --- a/src/gen/models/CrmEventType.ts +++ b/src/gen/models/CrmEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Currency.ts b/src/gen/models/Currency.ts index e3845394b..2706ab2be 100644 --- a/src/gen/models/Currency.ts +++ b/src/gen/models/Currency.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomField.ts b/src/gen/models/CustomField.ts index 36992ce07..523284d2c 100644 --- a/src/gen/models/CustomField.ts +++ b/src/gen/models/CustomField.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomFieldFinder.ts b/src/gen/models/CustomFieldFinder.ts index 3845784b1..2bf05dd85 100644 --- a/src/gen/models/CustomFieldFinder.ts +++ b/src/gen/models/CustomFieldFinder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomMapping.ts b/src/gen/models/CustomMapping.ts index f7dcd3014..62f552f0d 100644 --- a/src/gen/models/CustomMapping.ts +++ b/src/gen/models/CustomMapping.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Customer.ts b/src/gen/models/Customer.ts index c4bb2e4a5..34a8d3d3a 100644 --- a/src/gen/models/Customer.ts +++ b/src/gen/models/Customer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomersFilter.ts b/src/gen/models/CustomersFilter.ts index 8125f8a03..070413424 100644 --- a/src/gen/models/CustomersFilter.ts +++ b/src/gen/models/CustomersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomersSort.ts b/src/gen/models/CustomersSort.ts index c3d3e38aa..72b55cfcf 100644 --- a/src/gen/models/CustomersSort.ts +++ b/src/gen/models/CustomersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Deduction.ts b/src/gen/models/Deduction.ts index f17458b7d..4460f574b 100644 --- a/src/gen/models/Deduction.ts +++ b/src/gen/models/Deduction.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteAccountingDepartmentResponse.ts b/src/gen/models/DeleteAccountingDepartmentResponse.ts index 5a67b7865..cd67bf345 100644 --- a/src/gen/models/DeleteAccountingDepartmentResponse.ts +++ b/src/gen/models/DeleteAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteAccountingLocationResponse.ts b/src/gen/models/DeleteAccountingLocationResponse.ts index 0b88cc20a..ad1f0b305 100644 --- a/src/gen/models/DeleteAccountingLocationResponse.ts +++ b/src/gen/models/DeleteAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteActivityResponse.ts b/src/gen/models/DeleteActivityResponse.ts index 66e9edd87..eda7dee50 100644 --- a/src/gen/models/DeleteActivityResponse.ts +++ b/src/gen/models/DeleteActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteApplicantResponse.ts b/src/gen/models/DeleteApplicantResponse.ts index 6637df892..c179e1a7c 100644 --- a/src/gen/models/DeleteApplicantResponse.ts +++ b/src/gen/models/DeleteApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteApplicationResponse.ts b/src/gen/models/DeleteApplicationResponse.ts index ee21c4ce8..2ca02133e 100644 --- a/src/gen/models/DeleteApplicationResponse.ts +++ b/src/gen/models/DeleteApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteAttachmentResponse.ts b/src/gen/models/DeleteAttachmentResponse.ts index b8818ea53..5a26256e4 100644 --- a/src/gen/models/DeleteAttachmentResponse.ts +++ b/src/gen/models/DeleteAttachmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteBillPaymentResponse.ts b/src/gen/models/DeleteBillPaymentResponse.ts new file mode 100644 index 000000000..3f688abf3 --- /dev/null +++ b/src/gen/models/DeleteBillPaymentResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface DeleteBillPaymentResponse + */ +export interface DeleteBillPaymentResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof DeleteBillPaymentResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof DeleteBillPaymentResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof DeleteBillPaymentResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof DeleteBillPaymentResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof DeleteBillPaymentResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof DeleteBillPaymentResponse + */ + data: UnifiedId +} + +export function DeleteBillPaymentResponseFromJSON(json: any): DeleteBillPaymentResponse { + return DeleteBillPaymentResponseFromJSONTyped(json, false) +} + +export function DeleteBillPaymentResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): DeleteBillPaymentResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']) + } +} + +export function DeleteBillPaymentResponseToJSON(value?: DeleteBillPaymentResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data) + } +} diff --git a/src/gen/models/DeleteBillResponse.ts b/src/gen/models/DeleteBillResponse.ts index c1f81a90c..d29c5c99b 100644 --- a/src/gen/models/DeleteBillResponse.ts +++ b/src/gen/models/DeleteBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCommentResponse.ts b/src/gen/models/DeleteCommentResponse.ts index 69e555e9d..82806e391 100644 --- a/src/gen/models/DeleteCommentResponse.ts +++ b/src/gen/models/DeleteCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCompanyResponse.ts b/src/gen/models/DeleteCompanyResponse.ts index 23e0ad7d3..96d3c2970 100644 --- a/src/gen/models/DeleteCompanyResponse.ts +++ b/src/gen/models/DeleteCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteContactResponse.ts b/src/gen/models/DeleteContactResponse.ts index 8b4753253..8f5c95589 100644 --- a/src/gen/models/DeleteContactResponse.ts +++ b/src/gen/models/DeleteContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCreditNoteResponse.ts b/src/gen/models/DeleteCreditNoteResponse.ts index 9f44846dd..cc5a3c261 100644 --- a/src/gen/models/DeleteCreditNoteResponse.ts +++ b/src/gen/models/DeleteCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCustomerResponse.ts b/src/gen/models/DeleteCustomerResponse.ts index 6c5e7b4a2..d5bb1b122 100644 --- a/src/gen/models/DeleteCustomerResponse.ts +++ b/src/gen/models/DeleteCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteDepartmentResponse.ts b/src/gen/models/DeleteDepartmentResponse.ts index c12b46863..04831c2e6 100644 --- a/src/gen/models/DeleteDepartmentResponse.ts +++ b/src/gen/models/DeleteDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteDriveGroupResponse.ts b/src/gen/models/DeleteDriveGroupResponse.ts index ec89cde71..d80e4cb98 100644 --- a/src/gen/models/DeleteDriveGroupResponse.ts +++ b/src/gen/models/DeleteDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteDriveResponse.ts b/src/gen/models/DeleteDriveResponse.ts index fcb409216..f4789aaf7 100644 --- a/src/gen/models/DeleteDriveResponse.ts +++ b/src/gen/models/DeleteDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteEcommerceCustomerResponse.ts b/src/gen/models/DeleteEcommerceCustomerResponse.ts index 06826eda6..fb1e5e351 100644 --- a/src/gen/models/DeleteEcommerceCustomerResponse.ts +++ b/src/gen/models/DeleteEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteEcommerceOrderResponse.ts b/src/gen/models/DeleteEcommerceOrderResponse.ts index c826575d3..f799df14e 100644 --- a/src/gen/models/DeleteEcommerceOrderResponse.ts +++ b/src/gen/models/DeleteEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteEmployeeResponse.ts b/src/gen/models/DeleteEmployeeResponse.ts index 0a23db1f6..d0c19275b 100644 --- a/src/gen/models/DeleteEmployeeResponse.ts +++ b/src/gen/models/DeleteEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteExpenseResponse.ts b/src/gen/models/DeleteExpenseResponse.ts new file mode 100644 index 000000000..2e2de5c1d --- /dev/null +++ b/src/gen/models/DeleteExpenseResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface DeleteExpenseResponse + */ +export interface DeleteExpenseResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof DeleteExpenseResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof DeleteExpenseResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof DeleteExpenseResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof DeleteExpenseResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof DeleteExpenseResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof DeleteExpenseResponse + */ + data: UnifiedId +} + +export function DeleteExpenseResponseFromJSON(json: any): DeleteExpenseResponse { + return DeleteExpenseResponseFromJSONTyped(json, false) +} + +export function DeleteExpenseResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): DeleteExpenseResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']) + } +} + +export function DeleteExpenseResponseToJSON(value?: DeleteExpenseResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data) + } +} diff --git a/src/gen/models/DeleteFileResponse.ts b/src/gen/models/DeleteFileResponse.ts index 8be6e70c7..509e0cc16 100644 --- a/src/gen/models/DeleteFileResponse.ts +++ b/src/gen/models/DeleteFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteFolderResponse.ts b/src/gen/models/DeleteFolderResponse.ts index 59d27bd05..80ccc84be 100644 --- a/src/gen/models/DeleteFolderResponse.ts +++ b/src/gen/models/DeleteFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteHrisCompanyResponse.ts b/src/gen/models/DeleteHrisCompanyResponse.ts index dd82b077f..6e928e22f 100644 --- a/src/gen/models/DeleteHrisCompanyResponse.ts +++ b/src/gen/models/DeleteHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteInvoiceResponse.ts b/src/gen/models/DeleteInvoiceResponse.ts index c4d3eb473..201d9cd34 100644 --- a/src/gen/models/DeleteInvoiceResponse.ts +++ b/src/gen/models/DeleteInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteItemResponse.ts b/src/gen/models/DeleteItemResponse.ts index 0e2acf73b..d710786b1 100644 --- a/src/gen/models/DeleteItemResponse.ts +++ b/src/gen/models/DeleteItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteJobResponse.ts b/src/gen/models/DeleteJobResponse.ts index 37ed14224..6dc982dc2 100644 --- a/src/gen/models/DeleteJobResponse.ts +++ b/src/gen/models/DeleteJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteJournalEntryResponse.ts b/src/gen/models/DeleteJournalEntryResponse.ts index d945fc002..899a9da8c 100644 --- a/src/gen/models/DeleteJournalEntryResponse.ts +++ b/src/gen/models/DeleteJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteLeadResponse.ts b/src/gen/models/DeleteLeadResponse.ts index 00d227423..ad1c6a005 100644 --- a/src/gen/models/DeleteLeadResponse.ts +++ b/src/gen/models/DeleteLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteLedgerAccountResponse.ts b/src/gen/models/DeleteLedgerAccountResponse.ts index 3f963dabc..c33c92b00 100644 --- a/src/gen/models/DeleteLedgerAccountResponse.ts +++ b/src/gen/models/DeleteLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteLocationResponse.ts b/src/gen/models/DeleteLocationResponse.ts index c6be3ab3a..90cc9e3f8 100644 --- a/src/gen/models/DeleteLocationResponse.ts +++ b/src/gen/models/DeleteLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteMerchantResponse.ts b/src/gen/models/DeleteMerchantResponse.ts index b61d0c7a9..2bf5ed211 100644 --- a/src/gen/models/DeleteMerchantResponse.ts +++ b/src/gen/models/DeleteMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteMessageResponse.ts b/src/gen/models/DeleteMessageResponse.ts index 1d02f57b2..eeacc2df7 100644 --- a/src/gen/models/DeleteMessageResponse.ts +++ b/src/gen/models/DeleteMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteModifierGroupResponse.ts b/src/gen/models/DeleteModifierGroupResponse.ts index 464bd4f46..aafc41545 100644 --- a/src/gen/models/DeleteModifierGroupResponse.ts +++ b/src/gen/models/DeleteModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteModifierResponse.ts b/src/gen/models/DeleteModifierResponse.ts index 3a61feff5..8d645d353 100644 --- a/src/gen/models/DeleteModifierResponse.ts +++ b/src/gen/models/DeleteModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteNoteResponse.ts b/src/gen/models/DeleteNoteResponse.ts index b5864557f..c0a1d05bb 100644 --- a/src/gen/models/DeleteNoteResponse.ts +++ b/src/gen/models/DeleteNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteOpportunityResponse.ts b/src/gen/models/DeleteOpportunityResponse.ts index 60623eb9c..c5e0ac0fd 100644 --- a/src/gen/models/DeleteOpportunityResponse.ts +++ b/src/gen/models/DeleteOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteOrderResponse.ts b/src/gen/models/DeleteOrderResponse.ts index 31f2aaf6f..247fe0fe2 100644 --- a/src/gen/models/DeleteOrderResponse.ts +++ b/src/gen/models/DeleteOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteOrderTypeResponse.ts b/src/gen/models/DeleteOrderTypeResponse.ts index 3ee60d3e9..3abb1adfd 100644 --- a/src/gen/models/DeleteOrderTypeResponse.ts +++ b/src/gen/models/DeleteOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePaymentResponse.ts b/src/gen/models/DeletePaymentResponse.ts index 61f6249cf..0e37253fb 100644 --- a/src/gen/models/DeletePaymentResponse.ts +++ b/src/gen/models/DeletePaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePipelineResponse.ts b/src/gen/models/DeletePipelineResponse.ts index e64868681..1c96b3fc9 100644 --- a/src/gen/models/DeletePipelineResponse.ts +++ b/src/gen/models/DeletePipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePosPaymentResponse.ts b/src/gen/models/DeletePosPaymentResponse.ts index 1f80569a4..cbe56d272 100644 --- a/src/gen/models/DeletePosPaymentResponse.ts +++ b/src/gen/models/DeletePosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteProductResponse.ts b/src/gen/models/DeleteProductResponse.ts index 6fe986ad6..5a8f8290d 100644 --- a/src/gen/models/DeleteProductResponse.ts +++ b/src/gen/models/DeleteProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePurchaseOrderResponse.ts b/src/gen/models/DeletePurchaseOrderResponse.ts index cdcc9684d..82563a57f 100644 --- a/src/gen/models/DeletePurchaseOrderResponse.ts +++ b/src/gen/models/DeletePurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteSharedLinkResponse.ts b/src/gen/models/DeleteSharedLinkResponse.ts index 4d91cdedf..749e434cd 100644 --- a/src/gen/models/DeleteSharedLinkResponse.ts +++ b/src/gen/models/DeleteSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteSubsidiaryResponse.ts b/src/gen/models/DeleteSubsidiaryResponse.ts index 88354f1cf..0e3f2042d 100644 --- a/src/gen/models/DeleteSubsidiaryResponse.ts +++ b/src/gen/models/DeleteSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteSupplierResponse.ts b/src/gen/models/DeleteSupplierResponse.ts index 191703ac6..b6f41eb9b 100644 --- a/src/gen/models/DeleteSupplierResponse.ts +++ b/src/gen/models/DeleteSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTaxRateResponse.ts b/src/gen/models/DeleteTaxRateResponse.ts index 71d09879d..ca0ccf130 100644 --- a/src/gen/models/DeleteTaxRateResponse.ts +++ b/src/gen/models/DeleteTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTenderResponse.ts b/src/gen/models/DeleteTenderResponse.ts index c92d64b93..357f9b786 100644 --- a/src/gen/models/DeleteTenderResponse.ts +++ b/src/gen/models/DeleteTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTicketResponse.ts b/src/gen/models/DeleteTicketResponse.ts index 4b2d5cdb8..d191c2e47 100644 --- a/src/gen/models/DeleteTicketResponse.ts +++ b/src/gen/models/DeleteTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTimeOffRequestResponse.ts b/src/gen/models/DeleteTimeOffRequestResponse.ts index 5f5f6c5a5..f0e904ab7 100644 --- a/src/gen/models/DeleteTimeOffRequestResponse.ts +++ b/src/gen/models/DeleteTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTrackingCategoryResponse.ts b/src/gen/models/DeleteTrackingCategoryResponse.ts index ad80ae5ef..b0f03b940 100644 --- a/src/gen/models/DeleteTrackingCategoryResponse.ts +++ b/src/gen/models/DeleteTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteUploadSessionResponse.ts b/src/gen/models/DeleteUploadSessionResponse.ts index 6e9277092..fc80b926f 100644 --- a/src/gen/models/DeleteUploadSessionResponse.ts +++ b/src/gen/models/DeleteUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteUserResponse.ts b/src/gen/models/DeleteUserResponse.ts index b7703b9f0..d36ba5e35 100644 --- a/src/gen/models/DeleteUserResponse.ts +++ b/src/gen/models/DeleteUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteWebhookResponse.ts b/src/gen/models/DeleteWebhookResponse.ts index c5dff2a0f..a6a256b67 100644 --- a/src/gen/models/DeleteWebhookResponse.ts +++ b/src/gen/models/DeleteWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Department.ts b/src/gen/models/Department.ts index 95a52f4b1..61b9f72e6 100644 --- a/src/gen/models/Department.ts +++ b/src/gen/models/Department.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeprecatedLinkedSupplier.ts b/src/gen/models/DeprecatedLinkedSupplier.ts new file mode 100644 index 000000000..4e8ba946e --- /dev/null +++ b/src/gen/models/DeprecatedLinkedSupplier.ts @@ -0,0 +1,87 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Address, AddressFromJSON, AddressToJSON } from './Address' + +/** + * The supplier this entity is linked to. + * @export + * @interface DeprecatedLinkedSupplier + */ +export interface DeprecatedLinkedSupplier { + /** + * A unique identifier for an object. + * @type {string} + * @memberof DeprecatedLinkedSupplier + */ + readonly id?: string + /** + * The display ID of the supplier. + * @type {string} + * @memberof DeprecatedLinkedSupplier + */ + readonly display_id?: string | null + /** + * The display name of the supplier. + * @type {string} + * @memberof DeprecatedLinkedSupplier + */ + display_name?: string | null + /** + * The company name of the supplier. + * @type {string} + * @memberof DeprecatedLinkedSupplier + */ + readonly company_name?: string | null + /** + * + * @type {Address} + * @memberof DeprecatedLinkedSupplier + */ + address?: Address +} + +export function DeprecatedLinkedSupplierFromJSON(json: any): DeprecatedLinkedSupplier { + return DeprecatedLinkedSupplierFromJSONTyped(json, false) +} + +export function DeprecatedLinkedSupplierFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): DeprecatedLinkedSupplier { + if (json === undefined || json === null) { + return json + } + return { + id: !exists(json, 'id') ? undefined : json['id'], + display_id: !exists(json, 'display_id') ? undefined : json['display_id'], + display_name: !exists(json, 'display_name') ? undefined : json['display_name'], + company_name: !exists(json, 'company_name') ? undefined : json['company_name'], + address: !exists(json, 'address') ? undefined : AddressFromJSON(json['address']) + } +} + +export function DeprecatedLinkedSupplierToJSON(value?: DeprecatedLinkedSupplier | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + display_name: value.display_name, + address: AddressToJSON(value.address) + } +} diff --git a/src/gen/models/DeprecatedLinkedTrackingCategory.ts b/src/gen/models/DeprecatedLinkedTrackingCategory.ts index 79b0228e3..8354e7cba 100644 --- a/src/gen/models/DeprecatedLinkedTrackingCategory.ts +++ b/src/gen/models/DeprecatedLinkedTrackingCategory.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Drive.ts b/src/gen/models/Drive.ts index e2635afd1..96574b51f 100644 --- a/src/gen/models/Drive.ts +++ b/src/gen/models/Drive.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DriveGroup.ts b/src/gen/models/DriveGroup.ts index 5abc24db0..e48185f59 100644 --- a/src/gen/models/DriveGroup.ts +++ b/src/gen/models/DriveGroup.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DriveGroupsFilter.ts b/src/gen/models/DriveGroupsFilter.ts index 841aa48a2..fd38a50cb 100644 --- a/src/gen/models/DriveGroupsFilter.ts +++ b/src/gen/models/DriveGroupsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DrivesFilter.ts b/src/gen/models/DrivesFilter.ts index 1b27484fa..b2b089446 100644 --- a/src/gen/models/DrivesFilter.ts +++ b/src/gen/models/DrivesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceAddress.ts b/src/gen/models/EcommerceAddress.ts index b6b64b4a8..46ef312fc 100644 --- a/src/gen/models/EcommerceAddress.ts +++ b/src/gen/models/EcommerceAddress.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceCustomer.ts b/src/gen/models/EcommerceCustomer.ts index fa0f63252..4e2df1b42 100644 --- a/src/gen/models/EcommerceCustomer.ts +++ b/src/gen/models/EcommerceCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceCustomerAddresses.ts b/src/gen/models/EcommerceCustomerAddresses.ts index c99597b87..2d3455c30 100644 --- a/src/gen/models/EcommerceCustomerAddresses.ts +++ b/src/gen/models/EcommerceCustomerAddresses.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceCustomersFilter.ts b/src/gen/models/EcommerceCustomersFilter.ts index bb46dc7cf..a29e1a8a2 100644 --- a/src/gen/models/EcommerceCustomersFilter.ts +++ b/src/gen/models/EcommerceCustomersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceDiscount.ts b/src/gen/models/EcommerceDiscount.ts index 5d2bdf98b..bde7bb2e1 100644 --- a/src/gen/models/EcommerceDiscount.ts +++ b/src/gen/models/EcommerceDiscount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceOrder.ts b/src/gen/models/EcommerceOrder.ts index c0dcc73a1..e5b3b7f9c 100644 --- a/src/gen/models/EcommerceOrder.ts +++ b/src/gen/models/EcommerceOrder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceOrderLineItem.ts b/src/gen/models/EcommerceOrderLineItem.ts index 36d9391c1..cd58bba70 100644 --- a/src/gen/models/EcommerceOrderLineItem.ts +++ b/src/gen/models/EcommerceOrderLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceOrderStatus.ts b/src/gen/models/EcommerceOrderStatus.ts index 7bcb0bbe5..566f570cc 100644 --- a/src/gen/models/EcommerceOrderStatus.ts +++ b/src/gen/models/EcommerceOrderStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceOrdersFilter.ts b/src/gen/models/EcommerceOrdersFilter.ts index 8a67dd4ff..262f70444 100644 --- a/src/gen/models/EcommerceOrdersFilter.ts +++ b/src/gen/models/EcommerceOrdersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProduct.ts b/src/gen/models/EcommerceProduct.ts index e6e3f4eef..300319280 100644 --- a/src/gen/models/EcommerceProduct.ts +++ b/src/gen/models/EcommerceProduct.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductCategories.ts b/src/gen/models/EcommerceProductCategories.ts index 5073a2668..15ca89717 100644 --- a/src/gen/models/EcommerceProductCategories.ts +++ b/src/gen/models/EcommerceProductCategories.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductImages.ts b/src/gen/models/EcommerceProductImages.ts index b26ce9bf8..0954f215b 100644 --- a/src/gen/models/EcommerceProductImages.ts +++ b/src/gen/models/EcommerceProductImages.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductImages1.ts b/src/gen/models/EcommerceProductImages1.ts index 8b6d64480..376ed2bfe 100644 --- a/src/gen/models/EcommerceProductImages1.ts +++ b/src/gen/models/EcommerceProductImages1.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductOptions.ts b/src/gen/models/EcommerceProductOptions.ts index 296f9ae8a..54f88c572 100644 --- a/src/gen/models/EcommerceProductOptions.ts +++ b/src/gen/models/EcommerceProductOptions.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductOptions1.ts b/src/gen/models/EcommerceProductOptions1.ts index 275b3334d..1179d1ef5 100644 --- a/src/gen/models/EcommerceProductOptions1.ts +++ b/src/gen/models/EcommerceProductOptions1.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductVariants.ts b/src/gen/models/EcommerceProductVariants.ts index de55eccee..6000673f6 100644 --- a/src/gen/models/EcommerceProductVariants.ts +++ b/src/gen/models/EcommerceProductVariants.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceStore.ts b/src/gen/models/EcommerceStore.ts index 8c6561564..5ebc74d36 100644 --- a/src/gen/models/EcommerceStore.ts +++ b/src/gen/models/EcommerceStore.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Email.ts b/src/gen/models/Email.ts index f9b400b80..e5303108d 100644 --- a/src/gen/models/Email.ts +++ b/src/gen/models/Email.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Employee.ts b/src/gen/models/Employee.ts index b463d1fdb..081a878b8 100644 --- a/src/gen/models/Employee.ts +++ b/src/gen/models/Employee.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ export interface Employee { * @type {string} * @memberof Employee */ - readonly id: string + id?: string | null /** * The first name of the person. * @type {string} @@ -467,7 +467,7 @@ export function EmployeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): return json } return { - id: json['id'], + id: !exists(json, 'id') ? undefined : json['id'], first_name: !exists(json, 'first_name') ? undefined : json['first_name'], last_name: !exists(json, 'last_name') ? undefined : json['last_name'], middle_name: !exists(json, 'middle_name') ? undefined : json['middle_name'], @@ -596,6 +596,7 @@ export function EmployeeToJSON(value?: Employee | null): any { return null } return { + id: value.id, first_name: value.first_name, last_name: value.last_name, middle_name: value.middle_name, diff --git a/src/gen/models/EmployeeCompensation.ts b/src/gen/models/EmployeeCompensation.ts index 7424d0c9e..f7602682a 100644 --- a/src/gen/models/EmployeeCompensation.ts +++ b/src/gen/models/EmployeeCompensation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeEmploymentRole.ts b/src/gen/models/EmployeeEmploymentRole.ts index 1fcf8fcc8..88f7e1c96 100644 --- a/src/gen/models/EmployeeEmploymentRole.ts +++ b/src/gen/models/EmployeeEmploymentRole.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeJob.ts b/src/gen/models/EmployeeJob.ts index 4d80113fe..bf47e0a39 100644 --- a/src/gen/models/EmployeeJob.ts +++ b/src/gen/models/EmployeeJob.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeList.ts b/src/gen/models/EmployeeList.ts index ca6aec024..2b5ec4d0e 100644 --- a/src/gen/models/EmployeeList.ts +++ b/src/gen/models/EmployeeList.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeManager.ts b/src/gen/models/EmployeeManager.ts index 4b44fee73..f34b921a1 100644 --- a/src/gen/models/EmployeeManager.ts +++ b/src/gen/models/EmployeeManager.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeePayroll.ts b/src/gen/models/EmployeePayroll.ts index 3d7ea4af9..6664c3f92 100644 --- a/src/gen/models/EmployeePayroll.ts +++ b/src/gen/models/EmployeePayroll.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeSchedules.ts b/src/gen/models/EmployeeSchedules.ts index 247a51c78..a62372ff9 100644 --- a/src/gen/models/EmployeeSchedules.ts +++ b/src/gen/models/EmployeeSchedules.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeesFilter.ts b/src/gen/models/EmployeesFilter.ts index 87a5c4893..fb08566c7 100644 --- a/src/gen/models/EmployeesFilter.ts +++ b/src/gen/models/EmployeesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeesOneFilter.ts b/src/gen/models/EmployeesOneFilter.ts index 1c8ccab5e..ac1b7f902 100644 --- a/src/gen/models/EmployeesOneFilter.ts +++ b/src/gen/models/EmployeesOneFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeesSort.ts b/src/gen/models/EmployeesSort.ts index f96888d1c..a27e3ab31 100644 --- a/src/gen/models/EmployeesSort.ts +++ b/src/gen/models/EmployeesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmploymentStatus.ts b/src/gen/models/EmploymentStatus.ts index ac0b6f274..b934fd680 100644 --- a/src/gen/models/EmploymentStatus.ts +++ b/src/gen/models/EmploymentStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ExecuteWebhookResponse.ts b/src/gen/models/ExecuteWebhookResponse.ts index 2d89dabfb..39cb86212 100644 --- a/src/gen/models/ExecuteWebhookResponse.ts +++ b/src/gen/models/ExecuteWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Expense.ts b/src/gen/models/Expense.ts new file mode 100644 index 000000000..0fccc6ed6 --- /dev/null +++ b/src/gen/models/Expense.ts @@ -0,0 +1,240 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { ExpenseLineItem, ExpenseLineItemFromJSON, ExpenseLineItemToJSON } from './ExpenseLineItem' +import { LinkedTaxRate, LinkedTaxRateFromJSON, LinkedTaxRateToJSON } from './LinkedTaxRate' +import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' + +/** + * + * @export + * @interface Expense + */ +export interface Expense { + /** + * The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + * @type {Date} + * @memberof Expense + */ + transaction_date: Date | null + /** + * The unique identifier for the ledger account that this expense should be credited to. + * @type {string} + * @memberof Expense + */ + account_id: string + /** + * Expense line items linked to this expense. + * @type {Array} + * @memberof Expense + */ + line_items: Array + /** + * A unique identifier for an object. + * @type {string} + * @memberof Expense + */ + readonly id?: string + /** + * Number. + * @type {string} + * @memberof Expense + */ + number?: string | null + /** + * The ID of the customer this entity is linked to. Used for expenses that should be marked as billable to customers. + * @type {string} + * @memberof Expense + */ + customer_id?: string + /** + * The ID of the supplier this entity is linked to. + * @type {string} + * @memberof Expense + */ + supplier_id?: string + /** + * The company or subsidiary id the transaction belongs to + * @type {string} + * @memberof Expense + */ + company_id?: string | null + /** + * The ID of the department this expense is linked to. + * @type {string} + * @memberof Expense + */ + department_id?: string + /** + * + * @type {Currency} + * @memberof Expense + */ + currency?: Currency | null + /** + * Currency Exchange Rate at the time entity was recorded/generated. + * @type {number} + * @memberof Expense + */ + currency_rate?: number | null + /** + * The type of expense. + * @type {string} + * @memberof Expense + */ + type?: ExpenseType + /** + * The memo of the expense. + * @type {string} + * @memberof Expense + */ + memo?: string | null + /** + * + * @type {LinkedTaxRate} + * @memberof Expense + */ + tax_rate?: LinkedTaxRate + /** + * The total amount of the expense line item. + * @type {number} + * @memberof Expense + */ + total_amount?: number | null + /** + * + * @type {Array} + * @memberof Expense + */ + custom_fields?: Array + /** + * When custom mappings are configured on the resource, the result is included here. + * @type {object} + * @memberof Expense + */ + readonly custom_mappings?: object | null + /** + * The date and time when the object was last updated. + * @type {Date} + * @memberof Expense + */ + readonly updated_at?: Date | null + /** + * The date and time when the object was created. + * @type {Date} + * @memberof Expense + */ + readonly created_at?: Date | null + /** + * 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. + * @type {string} + * @memberof Expense + */ + row_version?: string | null + /** + * + * @type {PassThroughBody} + * @memberof Expense + */ + pass_through?: PassThroughBody +} + +/** + * @export + * @enum {string} + */ +export enum ExpenseType { + expense = 'expense', + refund = 'refund' +} + +export function ExpenseFromJSON(json: any): Expense { + return ExpenseFromJSONTyped(json, false) +} + +export function ExpenseFromJSONTyped(json: any, ignoreDiscriminator: boolean): Expense { + if (json === undefined || json === null) { + return json + } + return { + transaction_date: json['transaction_date'] === null ? null : new Date(json['transaction_date']), + account_id: json['account_id'], + line_items: (json['line_items'] as Array).map(ExpenseLineItemFromJSON), + id: !exists(json, 'id') ? undefined : json['id'], + number: !exists(json, 'number') ? undefined : json['number'], + customer_id: !exists(json, 'customer_id') ? undefined : json['customer_id'], + supplier_id: !exists(json, 'supplier_id') ? undefined : json['supplier_id'], + company_id: !exists(json, 'company_id') ? undefined : json['company_id'], + department_id: !exists(json, 'department_id') ? undefined : json['department_id'], + currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), + currency_rate: !exists(json, 'currency_rate') ? undefined : json['currency_rate'], + type: !exists(json, 'type') ? undefined : json['type'], + memo: !exists(json, 'memo') ? undefined : json['memo'], + tax_rate: !exists(json, 'tax_rate') ? undefined : LinkedTaxRateFromJSON(json['tax_rate']), + total_amount: !exists(json, 'total_amount') ? undefined : json['total_amount'], + custom_fields: !exists(json, 'custom_fields') + ? undefined + : (json['custom_fields'] as Array).map(CustomFieldFromJSON), + custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + updated_at: !exists(json, 'updated_at') + ? undefined + : json['updated_at'] === null + ? null + : new Date(json['updated_at']), + created_at: !exists(json, 'created_at') + ? undefined + : json['created_at'] === null + ? null + : new Date(json['created_at']), + row_version: !exists(json, 'row_version') ? undefined : json['row_version'], + pass_through: !exists(json, 'pass_through') + ? undefined + : PassThroughBodyFromJSON(json['pass_through']) + } +} + +export function ExpenseToJSON(value?: Expense | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + transaction_date: + value.transaction_date === null ? null : new Date(value.transaction_date).toISOString(), + account_id: value.account_id, + line_items: (value.line_items as Array).map(ExpenseLineItemToJSON), + number: value.number, + customer_id: value.customer_id, + supplier_id: value.supplier_id, + company_id: value.company_id, + department_id: value.department_id, + currency: CurrencyToJSON(value.currency), + currency_rate: value.currency_rate, + type: value.type, + memo: value.memo, + tax_rate: LinkedTaxRateToJSON(value.tax_rate), + total_amount: value.total_amount, + custom_fields: + value.custom_fields === undefined + ? undefined + : (value.custom_fields as Array).map(CustomFieldToJSON), + row_version: value.row_version, + pass_through: PassThroughBodyToJSON(value.pass_through) + } +} diff --git a/src/gen/models/ExpenseLineItem.ts b/src/gen/models/ExpenseLineItem.ts new file mode 100644 index 000000000..be8acd05b --- /dev/null +++ b/src/gen/models/ExpenseLineItem.ts @@ -0,0 +1,136 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { LinkedTaxRate, LinkedTaxRateFromJSON, LinkedTaxRateToJSON } from './LinkedTaxRate' +import { + LinkedTrackingCategories, + LinkedTrackingCategoriesFromJSON, + LinkedTrackingCategoriesToJSON +} from './LinkedTrackingCategories' + +/** + * + * @export + * @interface ExpenseLineItem + */ +export interface ExpenseLineItem { + /** + * The total amount of the expense line item. + * @type {number} + * @memberof ExpenseLineItem + */ + total_amount: number | null + /** + * A unique identifier for an object. + * @type {string} + * @memberof ExpenseLineItem + */ + readonly id?: string + /** + * + * @type {LinkedTrackingCategories} + * @memberof ExpenseLineItem + */ + tracking_categories?: LinkedTrackingCategories | null + /** + * The unique identifier for the ledger account. + * @type {string} + * @memberof ExpenseLineItem + */ + account_id?: string + /** + * The ID of the customer this expense item is linked to. + * @type {string} + * @memberof ExpenseLineItem + */ + customer_id?: string + /** + * The ID of the department this expense item is linked to. + * @type {string} + * @memberof ExpenseLineItem + */ + department_id?: string + /** + * The ID of the location this expense item is linked to. + * @type {string} + * @memberof ExpenseLineItem + */ + location_id?: string + /** + * + * @type {LinkedTaxRate} + * @memberof ExpenseLineItem + */ + tax_rate?: LinkedTaxRate + /** + * The expense line item description + * @type {string} + * @memberof ExpenseLineItem + */ + description?: string | null + /** + * Boolean that indicates if the line item is billable or not. + * @type {boolean} + * @memberof ExpenseLineItem + */ + billable?: boolean +} + +export function ExpenseLineItemFromJSON(json: any): ExpenseLineItem { + return ExpenseLineItemFromJSONTyped(json, false) +} + +export function ExpenseLineItemFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): ExpenseLineItem { + if (json === undefined || json === null) { + return json + } + return { + total_amount: json['total_amount'], + id: !exists(json, 'id') ? undefined : json['id'], + tracking_categories: !exists(json, 'tracking_categories') + ? undefined + : LinkedTrackingCategoriesFromJSON(json['tracking_categories']), + account_id: !exists(json, 'account_id') ? undefined : json['account_id'], + customer_id: !exists(json, 'customer_id') ? undefined : json['customer_id'], + department_id: !exists(json, 'department_id') ? undefined : json['department_id'], + location_id: !exists(json, 'location_id') ? undefined : json['location_id'], + tax_rate: !exists(json, 'tax_rate') ? undefined : LinkedTaxRateFromJSON(json['tax_rate']), + description: !exists(json, 'description') ? undefined : json['description'], + billable: !exists(json, 'billable') ? undefined : json['billable'] + } +} + +export function ExpenseLineItemToJSON(value?: ExpenseLineItem | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + total_amount: value.total_amount, + tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), + account_id: value.account_id, + customer_id: value.customer_id, + department_id: value.department_id, + location_id: value.location_id, + tax_rate: LinkedTaxRateToJSON(value.tax_rate), + description: value.description, + billable: value.billable + } +} diff --git a/src/gen/models/FileStorageEventType.ts b/src/gen/models/FileStorageEventType.ts index da5e9bd80..4a17c1ba6 100644 --- a/src/gen/models/FileStorageEventType.ts +++ b/src/gen/models/FileStorageEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FileType.ts b/src/gen/models/FileType.ts index e00c32ca4..339dff2be 100644 --- a/src/gen/models/FileType.ts +++ b/src/gen/models/FileType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FilesFilter.ts b/src/gen/models/FilesFilter.ts index 402948d08..4b8817458 100644 --- a/src/gen/models/FilesFilter.ts +++ b/src/gen/models/FilesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FilesSearch.ts b/src/gen/models/FilesSearch.ts index b938edf16..d70f64949 100644 --- a/src/gen/models/FilesSearch.ts +++ b/src/gen/models/FilesSearch.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FilesSort.ts b/src/gen/models/FilesSort.ts index 951225942..033a37ad3 100644 --- a/src/gen/models/FilesSort.ts +++ b/src/gen/models/FilesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Folder.ts b/src/gen/models/Folder.ts index e8e0b11dd..4db0a2bbc 100644 --- a/src/gen/models/Folder.ts +++ b/src/gen/models/Folder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FormField.ts b/src/gen/models/FormField.ts index 6e9152455..e61821fed 100644 --- a/src/gen/models/FormField.ts +++ b/src/gen/models/FormField.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FormFieldOption.ts b/src/gen/models/FormFieldOption.ts index 71f4cf64c..459c778af 100644 --- a/src/gen/models/FormFieldOption.ts +++ b/src/gen/models/FormFieldOption.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FormFieldOptionGroup.ts b/src/gen/models/FormFieldOptionGroup.ts index d9422e29e..7cb7be2fb 100644 --- a/src/gen/models/FormFieldOptionGroup.ts +++ b/src/gen/models/FormFieldOptionGroup.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Gender.ts b/src/gen/models/Gender.ts index e5210dbc9..35ef7a859 100644 --- a/src/gen/models/Gender.ts +++ b/src/gen/models/Gender.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingDepartmentResponse.ts b/src/gen/models/GetAccountingDepartmentResponse.ts index 72b93f725..210e7fa25 100644 --- a/src/gen/models/GetAccountingDepartmentResponse.ts +++ b/src/gen/models/GetAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingDepartmentsResponse.ts b/src/gen/models/GetAccountingDepartmentsResponse.ts index 6b90335a7..b5fbb766e 100644 --- a/src/gen/models/GetAccountingDepartmentsResponse.ts +++ b/src/gen/models/GetAccountingDepartmentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingLocationResponse.ts b/src/gen/models/GetAccountingLocationResponse.ts index 686c81b0c..f7178df33 100644 --- a/src/gen/models/GetAccountingLocationResponse.ts +++ b/src/gen/models/GetAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingLocationsResponse.ts b/src/gen/models/GetAccountingLocationsResponse.ts index 289c0ee61..b7e30d67c 100644 --- a/src/gen/models/GetAccountingLocationsResponse.ts +++ b/src/gen/models/GetAccountingLocationsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetActivitiesResponse.ts b/src/gen/models/GetActivitiesResponse.ts index 6e1443973..2f27fbb6b 100644 --- a/src/gen/models/GetActivitiesResponse.ts +++ b/src/gen/models/GetActivitiesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetActivityResponse.ts b/src/gen/models/GetActivityResponse.ts index fc08646a9..7c460d6ae 100644 --- a/src/gen/models/GetActivityResponse.ts +++ b/src/gen/models/GetActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApiResourceCoverageResponse.ts b/src/gen/models/GetApiResourceCoverageResponse.ts index ff21eb783..418e4b10f 100644 --- a/src/gen/models/GetApiResourceCoverageResponse.ts +++ b/src/gen/models/GetApiResourceCoverageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApiResourceResponse.ts b/src/gen/models/GetApiResourceResponse.ts index 95bd9b864..ca3dcc1fc 100644 --- a/src/gen/models/GetApiResourceResponse.ts +++ b/src/gen/models/GetApiResourceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApiResponse.ts b/src/gen/models/GetApiResponse.ts index 5f6c546ea..7345a5faf 100644 --- a/src/gen/models/GetApiResponse.ts +++ b/src/gen/models/GetApiResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApisResponse.ts b/src/gen/models/GetApisResponse.ts index dd1911dd0..536d9e116 100644 --- a/src/gen/models/GetApisResponse.ts +++ b/src/gen/models/GetApisResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicantResponse.ts b/src/gen/models/GetApplicantResponse.ts index bb357ce01..292533da6 100644 --- a/src/gen/models/GetApplicantResponse.ts +++ b/src/gen/models/GetApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicantsResponse.ts b/src/gen/models/GetApplicantsResponse.ts index c6283f22b..d77bd07ef 100644 --- a/src/gen/models/GetApplicantsResponse.ts +++ b/src/gen/models/GetApplicantsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicationResponse.ts b/src/gen/models/GetApplicationResponse.ts index 0b7e207d2..18160e09a 100644 --- a/src/gen/models/GetApplicationResponse.ts +++ b/src/gen/models/GetApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicationsResponse.ts b/src/gen/models/GetApplicationsResponse.ts index 4e50442f4..4cac4e55a 100644 --- a/src/gen/models/GetApplicationsResponse.ts +++ b/src/gen/models/GetApplicationsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAttachmentResponse.ts b/src/gen/models/GetAttachmentResponse.ts index 74d2a4ae7..7f3f6571b 100644 --- a/src/gen/models/GetAttachmentResponse.ts +++ b/src/gen/models/GetAttachmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAttachmentsResponse.ts b/src/gen/models/GetAttachmentsResponse.ts index f262f8b66..e2c884ff5 100644 --- a/src/gen/models/GetAttachmentsResponse.ts +++ b/src/gen/models/GetAttachmentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBalanceSheetResponse.ts b/src/gen/models/GetBalanceSheetResponse.ts index 22e089085..a08528101 100644 --- a/src/gen/models/GetBalanceSheetResponse.ts +++ b/src/gen/models/GetBalanceSheetResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBillPaymentResponse.ts b/src/gen/models/GetBillPaymentResponse.ts new file mode 100644 index 000000000..8c384fcc9 --- /dev/null +++ b/src/gen/models/GetBillPaymentResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { BillPayment, BillPaymentFromJSON, BillPaymentToJSON } from './BillPayment' + +/** + * + * @export + * @interface GetBillPaymentResponse + */ +export interface GetBillPaymentResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetBillPaymentResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetBillPaymentResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetBillPaymentResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetBillPaymentResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetBillPaymentResponse + */ + operation: string + /** + * + * @type {BillPayment} + * @memberof GetBillPaymentResponse + */ + data: BillPayment +} + +export function GetBillPaymentResponseFromJSON(json: any): GetBillPaymentResponse { + return GetBillPaymentResponseFromJSONTyped(json, false) +} + +export function GetBillPaymentResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetBillPaymentResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: BillPaymentFromJSON(json['data']) + } +} + +export function GetBillPaymentResponseToJSON(value?: GetBillPaymentResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: BillPaymentToJSON(value.data) + } +} diff --git a/src/gen/models/GetBillPaymentsResponse.ts b/src/gen/models/GetBillPaymentsResponse.ts new file mode 100644 index 000000000..2db0fc831 --- /dev/null +++ b/src/gen/models/GetBillPaymentsResponse.ts @@ -0,0 +1,116 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { BillPayment, BillPaymentFromJSON, BillPaymentToJSON } from './BillPayment' +import { Links, LinksFromJSON, LinksToJSON } from './Links' +import { Meta, MetaFromJSON, MetaToJSON } from './Meta' + +/** + * + * @export + * @interface GetBillPaymentsResponse + */ +export interface GetBillPaymentsResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetBillPaymentsResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetBillPaymentsResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetBillPaymentsResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetBillPaymentsResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetBillPaymentsResponse + */ + operation: string + /** + * + * @type {Array} + * @memberof GetBillPaymentsResponse + */ + data: Array + /** + * + * @type {Meta} + * @memberof GetBillPaymentsResponse + */ + meta?: Meta + /** + * + * @type {Links} + * @memberof GetBillPaymentsResponse + */ + links?: Links +} + +export function GetBillPaymentsResponseFromJSON(json: any): GetBillPaymentsResponse { + return GetBillPaymentsResponseFromJSONTyped(json, false) +} + +export function GetBillPaymentsResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetBillPaymentsResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: (json['data'] as Array).map(BillPaymentFromJSON), + meta: !exists(json, 'meta') ? undefined : MetaFromJSON(json['meta']), + links: !exists(json, 'links') ? undefined : LinksFromJSON(json['links']) + } +} + +export function GetBillPaymentsResponseToJSON(value?: GetBillPaymentsResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: (value.data as Array).map(BillPaymentToJSON), + meta: MetaToJSON(value.meta), + links: LinksToJSON(value.links) + } +} diff --git a/src/gen/models/GetBillResponse.ts b/src/gen/models/GetBillResponse.ts index bad4d2d9d..faa8a7bbf 100644 --- a/src/gen/models/GetBillResponse.ts +++ b/src/gen/models/GetBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBillsResponse.ts b/src/gen/models/GetBillsResponse.ts index 8fe13df4a..717966981 100644 --- a/src/gen/models/GetBillsResponse.ts +++ b/src/gen/models/GetBillsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionResponse.ts b/src/gen/models/GetCollectionResponse.ts index acf1a79f1..37154affe 100644 --- a/src/gen/models/GetCollectionResponse.ts +++ b/src/gen/models/GetCollectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionTagsResponse.ts b/src/gen/models/GetCollectionTagsResponse.ts index 39f45fb0a..9a2325d09 100644 --- a/src/gen/models/GetCollectionTagsResponse.ts +++ b/src/gen/models/GetCollectionTagsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionUserResponse.ts b/src/gen/models/GetCollectionUserResponse.ts index ac3d87677..cf22833c6 100644 --- a/src/gen/models/GetCollectionUserResponse.ts +++ b/src/gen/models/GetCollectionUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionUsersResponse.ts b/src/gen/models/GetCollectionUsersResponse.ts index 0c6d8a1c4..b251b9674 100644 --- a/src/gen/models/GetCollectionUsersResponse.ts +++ b/src/gen/models/GetCollectionUsersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionsResponse.ts b/src/gen/models/GetCollectionsResponse.ts index b5263c434..668741d03 100644 --- a/src/gen/models/GetCollectionsResponse.ts +++ b/src/gen/models/GetCollectionsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCommentResponse.ts b/src/gen/models/GetCommentResponse.ts index dc87453e5..6fe396216 100644 --- a/src/gen/models/GetCommentResponse.ts +++ b/src/gen/models/GetCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCommentsResponse.ts b/src/gen/models/GetCommentsResponse.ts index 96e7c24a5..6427482c2 100644 --- a/src/gen/models/GetCommentsResponse.ts +++ b/src/gen/models/GetCommentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCompaniesResponse.ts b/src/gen/models/GetCompaniesResponse.ts index d393f177c..2aadd7739 100644 --- a/src/gen/models/GetCompaniesResponse.ts +++ b/src/gen/models/GetCompaniesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCompanyInfoResponse.ts b/src/gen/models/GetCompanyInfoResponse.ts index 498c975e4..0865ec7e6 100644 --- a/src/gen/models/GetCompanyInfoResponse.ts +++ b/src/gen/models/GetCompanyInfoResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCompanyResponse.ts b/src/gen/models/GetCompanyResponse.ts index c3cd6a2d4..4437b915b 100644 --- a/src/gen/models/GetCompanyResponse.ts +++ b/src/gen/models/GetCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectionResponse.ts b/src/gen/models/GetConnectionResponse.ts index 8207d6fc6..eca0c2206 100644 --- a/src/gen/models/GetConnectionResponse.ts +++ b/src/gen/models/GetConnectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectionsResponse.ts b/src/gen/models/GetConnectionsResponse.ts index 9c60b46b7..0b43c16df 100644 --- a/src/gen/models/GetConnectionsResponse.ts +++ b/src/gen/models/GetConnectionsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResourceExampleResponse.ts b/src/gen/models/GetConnectorResourceExampleResponse.ts index dd6605c2d..3ab3ab7f6 100644 --- a/src/gen/models/GetConnectorResourceExampleResponse.ts +++ b/src/gen/models/GetConnectorResourceExampleResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResourceExampleResponseData.ts b/src/gen/models/GetConnectorResourceExampleResponseData.ts index ea824d4f0..c78980c98 100644 --- a/src/gen/models/GetConnectorResourceExampleResponseData.ts +++ b/src/gen/models/GetConnectorResourceExampleResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResourceResponse.ts b/src/gen/models/GetConnectorResourceResponse.ts index 74aaeb6f8..48c7960f7 100644 --- a/src/gen/models/GetConnectorResourceResponse.ts +++ b/src/gen/models/GetConnectorResourceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResponse.ts b/src/gen/models/GetConnectorResponse.ts index 2b58a1d38..39028f46c 100644 --- a/src/gen/models/GetConnectorResponse.ts +++ b/src/gen/models/GetConnectorResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorsResponse.ts b/src/gen/models/GetConnectorsResponse.ts index 5c898fa91..309a9b36c 100644 --- a/src/gen/models/GetConnectorsResponse.ts +++ b/src/gen/models/GetConnectorsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConsumerResponse.ts b/src/gen/models/GetConsumerResponse.ts index bba749115..c9745ac04 100644 --- a/src/gen/models/GetConsumerResponse.ts +++ b/src/gen/models/GetConsumerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConsumersResponse.ts b/src/gen/models/GetConsumersResponse.ts index 7cfa8783d..95457badb 100644 --- a/src/gen/models/GetConsumersResponse.ts +++ b/src/gen/models/GetConsumersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConsumersResponseData.ts b/src/gen/models/GetConsumersResponseData.ts index 14d297295..34b2afcf8 100644 --- a/src/gen/models/GetConsumersResponseData.ts +++ b/src/gen/models/GetConsumersResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetContactResponse.ts b/src/gen/models/GetContactResponse.ts index 5c52beb68..f519aadff 100644 --- a/src/gen/models/GetContactResponse.ts +++ b/src/gen/models/GetContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetContactsResponse.ts b/src/gen/models/GetContactsResponse.ts index a4e5a55c7..b780af7a9 100644 --- a/src/gen/models/GetContactsResponse.ts +++ b/src/gen/models/GetContactsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCreditNoteResponse.ts b/src/gen/models/GetCreditNoteResponse.ts index 6bbc96242..28ad4fc83 100644 --- a/src/gen/models/GetCreditNoteResponse.ts +++ b/src/gen/models/GetCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCreditNotesResponse.ts b/src/gen/models/GetCreditNotesResponse.ts index f1f2e5452..fe0e1e01b 100644 --- a/src/gen/models/GetCreditNotesResponse.ts +++ b/src/gen/models/GetCreditNotesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomFieldsResponse.ts b/src/gen/models/GetCustomFieldsResponse.ts index 796257adc..48b249f31 100644 --- a/src/gen/models/GetCustomFieldsResponse.ts +++ b/src/gen/models/GetCustomFieldsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomMappingResponse.ts b/src/gen/models/GetCustomMappingResponse.ts index 6441c9102..4993212cf 100644 --- a/src/gen/models/GetCustomMappingResponse.ts +++ b/src/gen/models/GetCustomMappingResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomerResponse.ts b/src/gen/models/GetCustomerResponse.ts index 93afa7b87..a2d640401 100644 --- a/src/gen/models/GetCustomerResponse.ts +++ b/src/gen/models/GetCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomersResponse.ts b/src/gen/models/GetCustomersResponse.ts index 708e41bca..4a3ad4aec 100644 --- a/src/gen/models/GetCustomersResponse.ts +++ b/src/gen/models/GetCustomersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDepartmentResponse.ts b/src/gen/models/GetDepartmentResponse.ts index 5dc6c2b6b..ccd2197bb 100644 --- a/src/gen/models/GetDepartmentResponse.ts +++ b/src/gen/models/GetDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDepartmentsResponse.ts b/src/gen/models/GetDepartmentsResponse.ts index 300028dcc..b32904de3 100644 --- a/src/gen/models/GetDepartmentsResponse.ts +++ b/src/gen/models/GetDepartmentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDriveGroupResponse.ts b/src/gen/models/GetDriveGroupResponse.ts index eaab770d8..d81486e1f 100644 --- a/src/gen/models/GetDriveGroupResponse.ts +++ b/src/gen/models/GetDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDriveGroupsResponse.ts b/src/gen/models/GetDriveGroupsResponse.ts index fa6f4e520..8532043b4 100644 --- a/src/gen/models/GetDriveGroupsResponse.ts +++ b/src/gen/models/GetDriveGroupsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDriveResponse.ts b/src/gen/models/GetDriveResponse.ts index 3a140c2fc..ce290c992 100644 --- a/src/gen/models/GetDriveResponse.ts +++ b/src/gen/models/GetDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDrivesResponse.ts b/src/gen/models/GetDrivesResponse.ts index 0ddd89c7a..98c5c1483 100644 --- a/src/gen/models/GetDrivesResponse.ts +++ b/src/gen/models/GetDrivesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceCustomerResponse.ts b/src/gen/models/GetEcommerceCustomerResponse.ts index 7cb58b87a..9631d52f6 100644 --- a/src/gen/models/GetEcommerceCustomerResponse.ts +++ b/src/gen/models/GetEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceCustomersResponse.ts b/src/gen/models/GetEcommerceCustomersResponse.ts index 5ca51d6ea..42a273866 100644 --- a/src/gen/models/GetEcommerceCustomersResponse.ts +++ b/src/gen/models/GetEcommerceCustomersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceOrderResponse.ts b/src/gen/models/GetEcommerceOrderResponse.ts index e0df274bc..a82dd3507 100644 --- a/src/gen/models/GetEcommerceOrderResponse.ts +++ b/src/gen/models/GetEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceOrdersResponse.ts b/src/gen/models/GetEcommerceOrdersResponse.ts index d7f303553..999b1de5e 100644 --- a/src/gen/models/GetEcommerceOrdersResponse.ts +++ b/src/gen/models/GetEcommerceOrdersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeePayrollResponse.ts b/src/gen/models/GetEmployeePayrollResponse.ts index 3f4f05f46..2db14d1fe 100644 --- a/src/gen/models/GetEmployeePayrollResponse.ts +++ b/src/gen/models/GetEmployeePayrollResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeePayrollsResponse.ts b/src/gen/models/GetEmployeePayrollsResponse.ts index 151d371d2..69a3f8461 100644 --- a/src/gen/models/GetEmployeePayrollsResponse.ts +++ b/src/gen/models/GetEmployeePayrollsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeeResponse.ts b/src/gen/models/GetEmployeeResponse.ts index f4ce9bf08..1bbb2a702 100644 --- a/src/gen/models/GetEmployeeResponse.ts +++ b/src/gen/models/GetEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeeSchedulesResponse.ts b/src/gen/models/GetEmployeeSchedulesResponse.ts index 624b037b7..38aaffc93 100644 --- a/src/gen/models/GetEmployeeSchedulesResponse.ts +++ b/src/gen/models/GetEmployeeSchedulesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeesResponse.ts b/src/gen/models/GetEmployeesResponse.ts index 4ff684c26..edd9ea83c 100644 --- a/src/gen/models/GetEmployeesResponse.ts +++ b/src/gen/models/GetEmployeesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetExpenseResponse.ts b/src/gen/models/GetExpenseResponse.ts new file mode 100644 index 000000000..17d397a16 --- /dev/null +++ b/src/gen/models/GetExpenseResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { Expense, ExpenseFromJSON, ExpenseToJSON } from './Expense' + +/** + * + * @export + * @interface GetExpenseResponse + */ +export interface GetExpenseResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetExpenseResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetExpenseResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetExpenseResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetExpenseResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetExpenseResponse + */ + operation: string + /** + * + * @type {Expense} + * @memberof GetExpenseResponse + */ + data: Expense +} + +export function GetExpenseResponseFromJSON(json: any): GetExpenseResponse { + return GetExpenseResponseFromJSONTyped(json, false) +} + +export function GetExpenseResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetExpenseResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: ExpenseFromJSON(json['data']) + } +} + +export function GetExpenseResponseToJSON(value?: GetExpenseResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: ExpenseToJSON(value.data) + } +} diff --git a/src/gen/models/GetExpensesResponse.ts b/src/gen/models/GetExpensesResponse.ts new file mode 100644 index 000000000..8b21d7fae --- /dev/null +++ b/src/gen/models/GetExpensesResponse.ts @@ -0,0 +1,116 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Expense, ExpenseFromJSON, ExpenseToJSON } from './Expense' +import { Links, LinksFromJSON, LinksToJSON } from './Links' +import { Meta, MetaFromJSON, MetaToJSON } from './Meta' + +/** + * + * @export + * @interface GetExpensesResponse + */ +export interface GetExpensesResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetExpensesResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetExpensesResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetExpensesResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetExpensesResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetExpensesResponse + */ + operation: string + /** + * + * @type {Array} + * @memberof GetExpensesResponse + */ + data: Array + /** + * + * @type {Meta} + * @memberof GetExpensesResponse + */ + meta?: Meta + /** + * + * @type {Links} + * @memberof GetExpensesResponse + */ + links?: Links +} + +export function GetExpensesResponseFromJSON(json: any): GetExpensesResponse { + return GetExpensesResponseFromJSONTyped(json, false) +} + +export function GetExpensesResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetExpensesResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: (json['data'] as Array).map(ExpenseFromJSON), + meta: !exists(json, 'meta') ? undefined : MetaFromJSON(json['meta']), + links: !exists(json, 'links') ? undefined : LinksFromJSON(json['links']) + } +} + +export function GetExpensesResponseToJSON(value?: GetExpensesResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: (value.data as Array).map(ExpenseToJSON), + meta: MetaToJSON(value.meta), + links: LinksToJSON(value.links) + } +} diff --git a/src/gen/models/GetFileResponse.ts b/src/gen/models/GetFileResponse.ts index 76b6a362d..c1499288f 100644 --- a/src/gen/models/GetFileResponse.ts +++ b/src/gen/models/GetFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetFilesResponse.ts b/src/gen/models/GetFilesResponse.ts index 7aded61a9..44cf9a3f6 100644 --- a/src/gen/models/GetFilesResponse.ts +++ b/src/gen/models/GetFilesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetFolderResponse.ts b/src/gen/models/GetFolderResponse.ts index 1039e5d02..e066582b8 100644 --- a/src/gen/models/GetFolderResponse.ts +++ b/src/gen/models/GetFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetFoldersResponse.ts b/src/gen/models/GetFoldersResponse.ts index b26097794..bbb5ab80b 100644 --- a/src/gen/models/GetFoldersResponse.ts +++ b/src/gen/models/GetFoldersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisCompaniesResponse.ts b/src/gen/models/GetHrisCompaniesResponse.ts index 66c2a6ff0..66f1fd021 100644 --- a/src/gen/models/GetHrisCompaniesResponse.ts +++ b/src/gen/models/GetHrisCompaniesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisCompanyResponse.ts b/src/gen/models/GetHrisCompanyResponse.ts index 8d0c04fdf..5a98c9fee 100644 --- a/src/gen/models/GetHrisCompanyResponse.ts +++ b/src/gen/models/GetHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisJobResponse.ts b/src/gen/models/GetHrisJobResponse.ts index b3e267ab3..f4a70e928 100644 --- a/src/gen/models/GetHrisJobResponse.ts +++ b/src/gen/models/GetHrisJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisJobsResponse.ts b/src/gen/models/GetHrisJobsResponse.ts index e60670246..a97c63131 100644 --- a/src/gen/models/GetHrisJobsResponse.ts +++ b/src/gen/models/GetHrisJobsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoiceItemResponse.ts b/src/gen/models/GetInvoiceItemResponse.ts index 433d6f15a..ffd70cb1e 100644 --- a/src/gen/models/GetInvoiceItemResponse.ts +++ b/src/gen/models/GetInvoiceItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoiceItemsResponse.ts b/src/gen/models/GetInvoiceItemsResponse.ts index 3033463bd..003978140 100644 --- a/src/gen/models/GetInvoiceItemsResponse.ts +++ b/src/gen/models/GetInvoiceItemsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoiceResponse.ts b/src/gen/models/GetInvoiceResponse.ts index b10b9f967..d08896ce4 100644 --- a/src/gen/models/GetInvoiceResponse.ts +++ b/src/gen/models/GetInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoicesResponse.ts b/src/gen/models/GetInvoicesResponse.ts index a1ebf6092..5c7f13f1c 100644 --- a/src/gen/models/GetInvoicesResponse.ts +++ b/src/gen/models/GetInvoicesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetItemResponse.ts b/src/gen/models/GetItemResponse.ts index 6444caf3d..ad7ea6962 100644 --- a/src/gen/models/GetItemResponse.ts +++ b/src/gen/models/GetItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetItemsResponse.ts b/src/gen/models/GetItemsResponse.ts index d5b9e761d..cecdbcca9 100644 --- a/src/gen/models/GetItemsResponse.ts +++ b/src/gen/models/GetItemsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJobResponse.ts b/src/gen/models/GetJobResponse.ts index 7f2091546..fb71f96ca 100644 --- a/src/gen/models/GetJobResponse.ts +++ b/src/gen/models/GetJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJobsResponse.ts b/src/gen/models/GetJobsResponse.ts index 6f5571074..56cbf5488 100644 --- a/src/gen/models/GetJobsResponse.ts +++ b/src/gen/models/GetJobsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJournalEntriesResponse.ts b/src/gen/models/GetJournalEntriesResponse.ts index ab1b55daa..4508970a0 100644 --- a/src/gen/models/GetJournalEntriesResponse.ts +++ b/src/gen/models/GetJournalEntriesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJournalEntryResponse.ts b/src/gen/models/GetJournalEntryResponse.ts index 33948361e..be781bd0b 100644 --- a/src/gen/models/GetJournalEntryResponse.ts +++ b/src/gen/models/GetJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLeadResponse.ts b/src/gen/models/GetLeadResponse.ts index ff11c8370..a0ba727a1 100644 --- a/src/gen/models/GetLeadResponse.ts +++ b/src/gen/models/GetLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLeadsResponse.ts b/src/gen/models/GetLeadsResponse.ts index 09ebd1994..a7fdb9af0 100644 --- a/src/gen/models/GetLeadsResponse.ts +++ b/src/gen/models/GetLeadsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLedgerAccountResponse.ts b/src/gen/models/GetLedgerAccountResponse.ts index 238965ba1..2cb98d7ad 100644 --- a/src/gen/models/GetLedgerAccountResponse.ts +++ b/src/gen/models/GetLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLedgerAccountsResponse.ts b/src/gen/models/GetLedgerAccountsResponse.ts index afe142b4c..1de657702 100644 --- a/src/gen/models/GetLedgerAccountsResponse.ts +++ b/src/gen/models/GetLedgerAccountsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLocationResponse.ts b/src/gen/models/GetLocationResponse.ts index fab364205..16db79cbb 100644 --- a/src/gen/models/GetLocationResponse.ts +++ b/src/gen/models/GetLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLocationsResponse.ts b/src/gen/models/GetLocationsResponse.ts index e8d147c81..91834b789 100644 --- a/src/gen/models/GetLocationsResponse.ts +++ b/src/gen/models/GetLocationsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLogsResponse.ts b/src/gen/models/GetLogsResponse.ts index da2977ce6..699e22960 100644 --- a/src/gen/models/GetLogsResponse.ts +++ b/src/gen/models/GetLogsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMerchantResponse.ts b/src/gen/models/GetMerchantResponse.ts index f873b9c40..445cc4820 100644 --- a/src/gen/models/GetMerchantResponse.ts +++ b/src/gen/models/GetMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMerchantsResponse.ts b/src/gen/models/GetMerchantsResponse.ts index 35f5a3e54..88f4920ce 100644 --- a/src/gen/models/GetMerchantsResponse.ts +++ b/src/gen/models/GetMerchantsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMessageResponse.ts b/src/gen/models/GetMessageResponse.ts index 103f69eaa..62bdffe00 100644 --- a/src/gen/models/GetMessageResponse.ts +++ b/src/gen/models/GetMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMessagesResponse.ts b/src/gen/models/GetMessagesResponse.ts index 3f51c573e..a3bcb4def 100644 --- a/src/gen/models/GetMessagesResponse.ts +++ b/src/gen/models/GetMessagesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifierGroupResponse.ts b/src/gen/models/GetModifierGroupResponse.ts index 5a389d359..700774d48 100644 --- a/src/gen/models/GetModifierGroupResponse.ts +++ b/src/gen/models/GetModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifierGroupsResponse.ts b/src/gen/models/GetModifierGroupsResponse.ts index 51f0b07c9..5e816d625 100644 --- a/src/gen/models/GetModifierGroupsResponse.ts +++ b/src/gen/models/GetModifierGroupsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifierResponse.ts b/src/gen/models/GetModifierResponse.ts index 3eabd1469..fdf93af74 100644 --- a/src/gen/models/GetModifierResponse.ts +++ b/src/gen/models/GetModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifiersResponse.ts b/src/gen/models/GetModifiersResponse.ts index 7da5aeb97..c5399d242 100644 --- a/src/gen/models/GetModifiersResponse.ts +++ b/src/gen/models/GetModifiersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetNoteResponse.ts b/src/gen/models/GetNoteResponse.ts index f82393807..aa2032d85 100644 --- a/src/gen/models/GetNoteResponse.ts +++ b/src/gen/models/GetNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetNotesResponse.ts b/src/gen/models/GetNotesResponse.ts index 9a8e23669..3da44a591 100644 --- a/src/gen/models/GetNotesResponse.ts +++ b/src/gen/models/GetNotesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOpportunitiesResponse.ts b/src/gen/models/GetOpportunitiesResponse.ts index 12bb7d8e6..47784dc4b 100644 --- a/src/gen/models/GetOpportunitiesResponse.ts +++ b/src/gen/models/GetOpportunitiesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOpportunityResponse.ts b/src/gen/models/GetOpportunityResponse.ts index 556643151..b46b1fb9e 100644 --- a/src/gen/models/GetOpportunityResponse.ts +++ b/src/gen/models/GetOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrderResponse.ts b/src/gen/models/GetOrderResponse.ts index 8b5808d2c..c6aa5aad6 100644 --- a/src/gen/models/GetOrderResponse.ts +++ b/src/gen/models/GetOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrderTypeResponse.ts b/src/gen/models/GetOrderTypeResponse.ts index 0179e5bdd..9f4c70a7f 100644 --- a/src/gen/models/GetOrderTypeResponse.ts +++ b/src/gen/models/GetOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrderTypesResponse.ts b/src/gen/models/GetOrderTypesResponse.ts index fda8e2ccd..3b1027c9a 100644 --- a/src/gen/models/GetOrderTypesResponse.ts +++ b/src/gen/models/GetOrderTypesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrdersResponse.ts b/src/gen/models/GetOrdersResponse.ts index 113a6d9d4..32dff2b1a 100644 --- a/src/gen/models/GetOrdersResponse.ts +++ b/src/gen/models/GetOrdersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPaymentResponse.ts b/src/gen/models/GetPaymentResponse.ts index 570db0057..31c389e71 100644 --- a/src/gen/models/GetPaymentResponse.ts +++ b/src/gen/models/GetPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPaymentsResponse.ts b/src/gen/models/GetPaymentsResponse.ts index 4985a0e72..e48eacd9b 100644 --- a/src/gen/models/GetPaymentsResponse.ts +++ b/src/gen/models/GetPaymentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPayrollResponse.ts b/src/gen/models/GetPayrollResponse.ts index 7e61ed524..4fd75a23b 100644 --- a/src/gen/models/GetPayrollResponse.ts +++ b/src/gen/models/GetPayrollResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPayrollsResponse.ts b/src/gen/models/GetPayrollsResponse.ts index 662e89efe..6e8a069cf 100644 --- a/src/gen/models/GetPayrollsResponse.ts +++ b/src/gen/models/GetPayrollsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPipelineResponse.ts b/src/gen/models/GetPipelineResponse.ts index 5df74f9f2..0ac89482c 100644 --- a/src/gen/models/GetPipelineResponse.ts +++ b/src/gen/models/GetPipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPipelinesResponse.ts b/src/gen/models/GetPipelinesResponse.ts index a9dd8ba17..bed599bb1 100644 --- a/src/gen/models/GetPipelinesResponse.ts +++ b/src/gen/models/GetPipelinesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPosPaymentResponse.ts b/src/gen/models/GetPosPaymentResponse.ts index 487cd36e3..119918a68 100644 --- a/src/gen/models/GetPosPaymentResponse.ts +++ b/src/gen/models/GetPosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPosPaymentsResponse.ts b/src/gen/models/GetPosPaymentsResponse.ts index 94c0c9863..1eeb87ae6 100644 --- a/src/gen/models/GetPosPaymentsResponse.ts +++ b/src/gen/models/GetPosPaymentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetProductResponse.ts b/src/gen/models/GetProductResponse.ts index a27a19462..1d960bd75 100644 --- a/src/gen/models/GetProductResponse.ts +++ b/src/gen/models/GetProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetProductsResponse.ts b/src/gen/models/GetProductsResponse.ts index b6f35b6cd..346a495ed 100644 --- a/src/gen/models/GetProductsResponse.ts +++ b/src/gen/models/GetProductsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetProfitAndLossResponse.ts b/src/gen/models/GetProfitAndLossResponse.ts index 2941fa4d6..7a58873c2 100644 --- a/src/gen/models/GetProfitAndLossResponse.ts +++ b/src/gen/models/GetProfitAndLossResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPurchaseOrderResponse.ts b/src/gen/models/GetPurchaseOrderResponse.ts index a4428a1d8..5e6ad5a1b 100644 --- a/src/gen/models/GetPurchaseOrderResponse.ts +++ b/src/gen/models/GetPurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPurchaseOrdersResponse.ts b/src/gen/models/GetPurchaseOrdersResponse.ts index 4d4aa01e3..ba067bd93 100644 --- a/src/gen/models/GetPurchaseOrdersResponse.ts +++ b/src/gen/models/GetPurchaseOrdersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetResourceExampleResponse.ts b/src/gen/models/GetResourceExampleResponse.ts index cb8cac40c..596b2663a 100644 --- a/src/gen/models/GetResourceExampleResponse.ts +++ b/src/gen/models/GetResourceExampleResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSharedLinkResponse.ts b/src/gen/models/GetSharedLinkResponse.ts index e183831e1..e83f0ff5e 100644 --- a/src/gen/models/GetSharedLinkResponse.ts +++ b/src/gen/models/GetSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSharedLinksResponse.ts b/src/gen/models/GetSharedLinksResponse.ts index 88d032a2e..7eb8452be 100644 --- a/src/gen/models/GetSharedLinksResponse.ts +++ b/src/gen/models/GetSharedLinksResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetStoreResponse.ts b/src/gen/models/GetStoreResponse.ts index 7c207f34f..f5222a8c4 100644 --- a/src/gen/models/GetStoreResponse.ts +++ b/src/gen/models/GetStoreResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetStoresResponse.ts b/src/gen/models/GetStoresResponse.ts index 0ff514abc..12234ec70 100644 --- a/src/gen/models/GetStoresResponse.ts +++ b/src/gen/models/GetStoresResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSubsidiariesResponse.ts b/src/gen/models/GetSubsidiariesResponse.ts index 4032a49e1..dbe5d3cf2 100644 --- a/src/gen/models/GetSubsidiariesResponse.ts +++ b/src/gen/models/GetSubsidiariesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSubsidiaryResponse.ts b/src/gen/models/GetSubsidiaryResponse.ts index 29495f310..c68a50f06 100644 --- a/src/gen/models/GetSubsidiaryResponse.ts +++ b/src/gen/models/GetSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSupplierResponse.ts b/src/gen/models/GetSupplierResponse.ts index 618782054..bb5e6f04d 100644 --- a/src/gen/models/GetSupplierResponse.ts +++ b/src/gen/models/GetSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSuppliersResponse.ts b/src/gen/models/GetSuppliersResponse.ts index 10ccc6997..0cb7fd345 100644 --- a/src/gen/models/GetSuppliersResponse.ts +++ b/src/gen/models/GetSuppliersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTaxRateResponse.ts b/src/gen/models/GetTaxRateResponse.ts index 3e803c952..8ab00e242 100644 --- a/src/gen/models/GetTaxRateResponse.ts +++ b/src/gen/models/GetTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTaxRatesResponse.ts b/src/gen/models/GetTaxRatesResponse.ts index 43600683b..4c6415e0e 100644 --- a/src/gen/models/GetTaxRatesResponse.ts +++ b/src/gen/models/GetTaxRatesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTenderResponse.ts b/src/gen/models/GetTenderResponse.ts index 3d8c7f234..f4e159ca5 100644 --- a/src/gen/models/GetTenderResponse.ts +++ b/src/gen/models/GetTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTendersResponse.ts b/src/gen/models/GetTendersResponse.ts index 5c51d921b..c6948c87d 100644 --- a/src/gen/models/GetTendersResponse.ts +++ b/src/gen/models/GetTendersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTicketResponse.ts b/src/gen/models/GetTicketResponse.ts index fcc0fd561..e8075f541 100644 --- a/src/gen/models/GetTicketResponse.ts +++ b/src/gen/models/GetTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTicketsResponse.ts b/src/gen/models/GetTicketsResponse.ts index ef730251a..523787008 100644 --- a/src/gen/models/GetTicketsResponse.ts +++ b/src/gen/models/GetTicketsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTimeOffRequestResponse.ts b/src/gen/models/GetTimeOffRequestResponse.ts index 1569aeb3d..d6347ac7d 100644 --- a/src/gen/models/GetTimeOffRequestResponse.ts +++ b/src/gen/models/GetTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTimeOffRequestsResponse.ts b/src/gen/models/GetTimeOffRequestsResponse.ts index 53f5ca155..93cd6350a 100644 --- a/src/gen/models/GetTimeOffRequestsResponse.ts +++ b/src/gen/models/GetTimeOffRequestsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTrackingCategoriesResponse.ts b/src/gen/models/GetTrackingCategoriesResponse.ts index 8d026fa90..fa6a1e7e7 100644 --- a/src/gen/models/GetTrackingCategoriesResponse.ts +++ b/src/gen/models/GetTrackingCategoriesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTrackingCategoryResponse.ts b/src/gen/models/GetTrackingCategoryResponse.ts index 68e747518..2d6e7ac92 100644 --- a/src/gen/models/GetTrackingCategoryResponse.ts +++ b/src/gen/models/GetTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetUploadSessionResponse.ts b/src/gen/models/GetUploadSessionResponse.ts index f418c0547..280231ba8 100644 --- a/src/gen/models/GetUploadSessionResponse.ts +++ b/src/gen/models/GetUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetUserResponse.ts b/src/gen/models/GetUserResponse.ts index 05ca6ed04..da6e2a7a7 100644 --- a/src/gen/models/GetUserResponse.ts +++ b/src/gen/models/GetUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetUsersResponse.ts b/src/gen/models/GetUsersResponse.ts index a5e8eb11a..a3dc660fc 100644 --- a/src/gen/models/GetUsersResponse.ts +++ b/src/gen/models/GetUsersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetWebhookEventLogsResponse.ts b/src/gen/models/GetWebhookEventLogsResponse.ts index e276e08a0..791e1aa44 100644 --- a/src/gen/models/GetWebhookEventLogsResponse.ts +++ b/src/gen/models/GetWebhookEventLogsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetWebhookResponse.ts b/src/gen/models/GetWebhookResponse.ts index 183c2c1f3..b8edfa36e 100644 --- a/src/gen/models/GetWebhookResponse.ts +++ b/src/gen/models/GetWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetWebhooksResponse.ts b/src/gen/models/GetWebhooksResponse.ts index 9527ffb9e..fcf4a2aa1 100644 --- a/src/gen/models/GetWebhooksResponse.ts +++ b/src/gen/models/GetWebhooksResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisCompany.ts b/src/gen/models/HrisCompany.ts index 40b86b480..8d5ced346 100644 --- a/src/gen/models/HrisCompany.ts +++ b/src/gen/models/HrisCompany.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisEventType.ts b/src/gen/models/HrisEventType.ts index fa902886a..c0853dc3e 100644 --- a/src/gen/models/HrisEventType.ts +++ b/src/gen/models/HrisEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisJob.ts b/src/gen/models/HrisJob.ts index 5c0848b07..41329e293 100644 --- a/src/gen/models/HrisJob.ts +++ b/src/gen/models/HrisJob.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisJobLocation.ts b/src/gen/models/HrisJobLocation.ts index 2fd483362..4b13d5661 100644 --- a/src/gen/models/HrisJobLocation.ts +++ b/src/gen/models/HrisJobLocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisJobs.ts b/src/gen/models/HrisJobs.ts index 50a94692f..5e2fb0dc0 100644 --- a/src/gen/models/HrisJobs.ts +++ b/src/gen/models/HrisJobs.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/IntegrationState.ts b/src/gen/models/IntegrationState.ts index 9fcaeac39..c6deb5427 100644 --- a/src/gen/models/IntegrationState.ts +++ b/src/gen/models/IntegrationState.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Invoice.ts b/src/gen/models/Invoice.ts index 36592814d..18469fc41 100644 --- a/src/gen/models/Invoice.ts +++ b/src/gen/models/Invoice.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceItem.ts b/src/gen/models/InvoiceItem.ts index 534729f45..1fcdda4e2 100644 --- a/src/gen/models/InvoiceItem.ts +++ b/src/gen/models/InvoiceItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceItemSalesDetails.ts b/src/gen/models/InvoiceItemSalesDetails.ts index f796ee372..7816b8945 100644 --- a/src/gen/models/InvoiceItemSalesDetails.ts +++ b/src/gen/models/InvoiceItemSalesDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceItemsFilter.ts b/src/gen/models/InvoiceItemsFilter.ts index 6090a9040..05d65b77a 100644 --- a/src/gen/models/InvoiceItemsFilter.ts +++ b/src/gen/models/InvoiceItemsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceLineItem.ts b/src/gen/models/InvoiceLineItem.ts index adaf2da04..f8ffb8cf5 100644 --- a/src/gen/models/InvoiceLineItem.ts +++ b/src/gen/models/InvoiceLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -56,7 +56,7 @@ export interface InvoiceLineItem { */ code?: string | null /** - * Line number in the invoice + * Line number of the resource * @type {number} * @memberof InvoiceLineItem */ diff --git a/src/gen/models/InvoiceResponse.ts b/src/gen/models/InvoiceResponse.ts index 42ecb4b11..f2c8753f3 100644 --- a/src/gen/models/InvoiceResponse.ts +++ b/src/gen/models/InvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoicesFilter.ts b/src/gen/models/InvoicesFilter.ts index f9e077c01..dbbca1bed 100644 --- a/src/gen/models/InvoicesFilter.ts +++ b/src/gen/models/InvoicesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,6 +31,12 @@ export interface InvoicesFilter { * @memberof InvoicesFilter */ created_since?: Date + /** + * Invoice number to search for + * @type {string} + * @memberof InvoicesFilter + */ + number?: string } export function InvoicesFilterFromJSON(json: any): InvoicesFilter { @@ -46,7 +52,8 @@ export function InvoicesFilterFromJSONTyped( } return { updated_since: !exists(json, 'updated_since') ? undefined : new Date(json['updated_since']), - created_since: !exists(json, 'created_since') ? undefined : new Date(json['created_since']) + created_since: !exists(json, 'created_since') ? undefined : new Date(json['created_since']), + number: !exists(json, 'number') ? undefined : json['number'] } } @@ -61,6 +68,7 @@ export function InvoicesFilterToJSON(value?: InvoicesFilter | null): any { updated_since: value.updated_since === undefined ? undefined : new Date(value.updated_since).toISOString(), created_since: - value.created_since === undefined ? undefined : new Date(value.created_since).toISOString() + value.created_since === undefined ? undefined : new Date(value.created_since).toISOString(), + number: value.number } } diff --git a/src/gen/models/InvoicesSort.ts b/src/gen/models/InvoicesSort.ts index 81934f003..c51886572 100644 --- a/src/gen/models/InvoicesSort.ts +++ b/src/gen/models/InvoicesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/IssueTrackingEventType.ts b/src/gen/models/IssueTrackingEventType.ts index 5b2bcb668..6ea63607c 100644 --- a/src/gen/models/IssueTrackingEventType.ts +++ b/src/gen/models/IssueTrackingEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/IssuesFilter.ts b/src/gen/models/IssuesFilter.ts index b8fb89391..f3d835eb4 100644 --- a/src/gen/models/IssuesFilter.ts +++ b/src/gen/models/IssuesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Item.ts b/src/gen/models/Item.ts index ebb460845..9560ab6f9 100644 --- a/src/gen/models/Item.ts +++ b/src/gen/models/Item.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Job.ts b/src/gen/models/Job.ts index 67dad4e5d..dd9b9fe28 100644 --- a/src/gen/models/Job.ts +++ b/src/gen/models/Job.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JobLinks.ts b/src/gen/models/JobLinks.ts index babc2b191..082178fee 100644 --- a/src/gen/models/JobLinks.ts +++ b/src/gen/models/JobLinks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JobSalary.ts b/src/gen/models/JobSalary.ts index 34125483c..7297fdedd 100644 --- a/src/gen/models/JobSalary.ts +++ b/src/gen/models/JobSalary.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JobStatus.ts b/src/gen/models/JobStatus.ts index 8caf1cd35..ef4c41e20 100644 --- a/src/gen/models/JobStatus.ts +++ b/src/gen/models/JobStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JournalEntriesFilter.ts b/src/gen/models/JournalEntriesFilter.ts index 59fbf4eb3..1e30a84fb 100644 --- a/src/gen/models/JournalEntriesFilter.ts +++ b/src/gen/models/JournalEntriesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JournalEntriesSort.ts b/src/gen/models/JournalEntriesSort.ts index 0f3050b0d..8328adc59 100644 --- a/src/gen/models/JournalEntriesSort.ts +++ b/src/gen/models/JournalEntriesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JournalEntry.ts b/src/gen/models/JournalEntry.ts index ad61376fe..4ac20409c 100644 --- a/src/gen/models/JournalEntry.ts +++ b/src/gen/models/JournalEntry.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -110,6 +110,12 @@ export interface JournalEntry { * @memberof JournalEntry */ tracking_categories?: LinkedTrackingCategories | null + /** + * Accounting period + * @type {string} + * @memberof JournalEntry + */ + accounting_period?: string | null /** * When custom mappings are configured on the resource, the result is included here. * @type {object} @@ -180,6 +186,7 @@ export function JournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolea tracking_categories: !exists(json, 'tracking_categories') ? undefined : LinkedTrackingCategoriesFromJSON(json['tracking_categories']), + accounting_period: !exists(json, 'accounting_period') ? undefined : json['accounting_period'], custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -223,6 +230,7 @@ export function JournalEntryToJSON(value?: JournalEntry | null): any { tax_code: value.tax_code, number: value.number, tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), + accounting_period: value.accounting_period, row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/JournalEntryLineItem.ts b/src/gen/models/JournalEntryLineItem.ts index fc1cdfa58..cc9780ea0 100644 --- a/src/gen/models/JournalEntryLineItem.ts +++ b/src/gen/models/JournalEntryLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -122,6 +122,12 @@ export interface JournalEntryLineItem { * @memberof JournalEntryLineItem */ readonly location_id?: string + /** + * Line number of the resource + * @type {number} + * @memberof JournalEntryLineItem + */ + line_number?: number | null } /** @@ -162,7 +168,8 @@ export function JournalEntryLineItemFromJSONTyped( customer: !exists(json, 'customer') ? undefined : LinkedCustomerFromJSON(json['customer']), supplier: !exists(json, 'supplier') ? undefined : LinkedSupplierFromJSON(json['supplier']), department_id: !exists(json, 'department_id') ? undefined : json['department_id'], - location_id: !exists(json, 'location_id') ? undefined : json['location_id'] + location_id: !exists(json, 'location_id') ? undefined : json['location_id'], + line_number: !exists(json, 'line_number') ? undefined : json['line_number'] } } @@ -184,6 +191,7 @@ export function JournalEntryLineItemToJSON(value?: JournalEntryLineItem | null): tracking_category: DeprecatedLinkedTrackingCategoryToJSON(value.tracking_category), tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), customer: LinkedCustomerToJSON(value.customer), - supplier: LinkedSupplierToJSON(value.supplier) + supplier: LinkedSupplierToJSON(value.supplier), + line_number: value.line_number } } diff --git a/src/gen/models/Lead.ts b/src/gen/models/Lead.ts index a839e3d74..e4f0bdfaf 100644 --- a/src/gen/models/Lead.ts +++ b/src/gen/models/Lead.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,6 +53,12 @@ export interface Lead { * @memberof Lead */ owner_id?: string | null + /** + * The name of the owner of the lead. + * @type {string} + * @memberof Lead + */ + owner_name?: string | null /** * The company the lead is associated with. * @type {string} @@ -212,6 +218,7 @@ export function LeadFromJSONTyped(json: any, ignoreDiscriminator: boolean): Lead company_name: json['company_name'], id: !exists(json, 'id') ? undefined : json['id'], owner_id: !exists(json, 'owner_id') ? undefined : json['owner_id'], + owner_name: !exists(json, 'owner_name') ? undefined : json['owner_name'], company_id: !exists(json, 'company_id') ? undefined : json['company_id'], lead_id: !exists(json, 'lead_id') ? undefined : json['lead_id'], lead_source: !exists(json, 'lead_source') ? undefined : json['lead_source'], @@ -262,6 +269,7 @@ export function LeadToJSON(value?: Lead | null): any { name: value.name, company_name: value.company_name, owner_id: value.owner_id, + owner_name: value.owner_name, company_id: value.company_id, lead_id: value.lead_id, lead_source: value.lead_source, diff --git a/src/gen/models/LeadEventType.ts b/src/gen/models/LeadEventType.ts index fa7b83de3..540b6bfa1 100644 --- a/src/gen/models/LeadEventType.ts +++ b/src/gen/models/LeadEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LeadsFilter.ts b/src/gen/models/LeadsFilter.ts index 5485fa4f3..3e0721aa6 100644 --- a/src/gen/models/LeadsFilter.ts +++ b/src/gen/models/LeadsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -43,6 +43,12 @@ export interface LeadsFilter { * @memberof LeadsFilter */ email?: string + /** + * Phone number of the lead to filter on + * @type {string} + * @memberof LeadsFilter + */ + phone_number?: string } export function LeadsFilterFromJSON(json: any): LeadsFilter { @@ -57,7 +63,8 @@ export function LeadsFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean name: !exists(json, 'name') ? undefined : json['name'], first_name: !exists(json, 'first_name') ? undefined : json['first_name'], last_name: !exists(json, 'last_name') ? undefined : json['last_name'], - email: !exists(json, 'email') ? undefined : json['email'] + email: !exists(json, 'email') ? undefined : json['email'], + phone_number: !exists(json, 'phone_number') ? undefined : json['phone_number'] } } @@ -72,6 +79,7 @@ export function LeadsFilterToJSON(value?: LeadsFilter | null): any { name: value.name, first_name: value.first_name, last_name: value.last_name, - email: value.email + email: value.email, + phone_number: value.phone_number } } diff --git a/src/gen/models/LeadsSort.ts b/src/gen/models/LeadsSort.ts index 0af8ef9d0..b184e453d 100644 --- a/src/gen/models/LeadsSort.ts +++ b/src/gen/models/LeadsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccount.ts b/src/gen/models/LedgerAccount.ts index 257713026..2ee545371 100644 --- a/src/gen/models/LedgerAccount.ts +++ b/src/gen/models/LedgerAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -237,7 +237,8 @@ export enum LedgerAccountClassification { income = 'income', other_income = 'other_income', other_expense = 'other_expense', - costs_of_sales = 'costs_of_sales' + costs_of_sales = 'costs_of_sales', + other = 'other' } /** * @export diff --git a/src/gen/models/LedgerAccountCategories.ts b/src/gen/models/LedgerAccountCategories.ts index 78ca63483..8146419aa 100644 --- a/src/gen/models/LedgerAccountCategories.ts +++ b/src/gen/models/LedgerAccountCategories.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccountParentAccount.ts b/src/gen/models/LedgerAccountParentAccount.ts index 445cc9733..911dc628e 100644 --- a/src/gen/models/LedgerAccountParentAccount.ts +++ b/src/gen/models/LedgerAccountParentAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccounts.ts b/src/gen/models/LedgerAccounts.ts index 47464af98..519f1a46d 100644 --- a/src/gen/models/LedgerAccounts.ts +++ b/src/gen/models/LedgerAccounts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccountsFilter.ts b/src/gen/models/LedgerAccountsFilter.ts index cbd6fc75a..5892efe9d 100644 --- a/src/gen/models/LedgerAccountsFilter.ts +++ b/src/gen/models/LedgerAccountsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccountsSort.ts b/src/gen/models/LedgerAccountsSort.ts index 29f08945f..040db8c00 100644 --- a/src/gen/models/LedgerAccountsSort.ts +++ b/src/gen/models/LedgerAccountsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedConnectorResource.ts b/src/gen/models/LinkedConnectorResource.ts index bb56c34a3..4880b80a2 100644 --- a/src/gen/models/LinkedConnectorResource.ts +++ b/src/gen/models/LinkedConnectorResource.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedCustomer.ts b/src/gen/models/LinkedCustomer.ts index 9e940a623..43e0833a8 100644 --- a/src/gen/models/LinkedCustomer.ts +++ b/src/gen/models/LinkedCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedEcommerceCustomer.ts b/src/gen/models/LinkedEcommerceCustomer.ts index fbe356aed..8ea59412a 100644 --- a/src/gen/models/LinkedEcommerceCustomer.ts +++ b/src/gen/models/LinkedEcommerceCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedEcommerceOrder.ts b/src/gen/models/LinkedEcommerceOrder.ts index 121fe77d6..38e758b52 100644 --- a/src/gen/models/LinkedEcommerceOrder.ts +++ b/src/gen/models/LinkedEcommerceOrder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedFolder.ts b/src/gen/models/LinkedFolder.ts index d3b620569..b9d3a1744 100644 --- a/src/gen/models/LinkedFolder.ts +++ b/src/gen/models/LinkedFolder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedInvoiceItem.ts b/src/gen/models/LinkedInvoiceItem.ts index 5c6e2bf05..1231665f7 100644 --- a/src/gen/models/LinkedInvoiceItem.ts +++ b/src/gen/models/LinkedInvoiceItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedLedgerAccount.ts b/src/gen/models/LinkedLedgerAccount.ts index bef781434..ea8fdee47 100644 --- a/src/gen/models/LinkedLedgerAccount.ts +++ b/src/gen/models/LinkedLedgerAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedParentCustomer.ts b/src/gen/models/LinkedParentCustomer.ts index 127b029db..947b4d212 100644 --- a/src/gen/models/LinkedParentCustomer.ts +++ b/src/gen/models/LinkedParentCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedSupplier.ts b/src/gen/models/LinkedSupplier.ts index 18d7b1ce7..0f4d0cb48 100644 --- a/src/gen/models/LinkedSupplier.ts +++ b/src/gen/models/LinkedSupplier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedTaxRate.ts b/src/gen/models/LinkedTaxRate.ts index 4012c74f4..a450d39f2 100644 --- a/src/gen/models/LinkedTaxRate.ts +++ b/src/gen/models/LinkedTaxRate.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedTrackingCategories.ts b/src/gen/models/LinkedTrackingCategories.ts index 45dfc1a2b..636d50c70 100644 --- a/src/gen/models/LinkedTrackingCategories.ts +++ b/src/gen/models/LinkedTrackingCategories.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedTrackingCategory.ts b/src/gen/models/LinkedTrackingCategory.ts index 76f3235f1..8f90c63c1 100644 --- a/src/gen/models/LinkedTrackingCategory.ts +++ b/src/gen/models/LinkedTrackingCategory.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Links.ts b/src/gen/models/Links.ts index 2447a5591..6f9d1b0d1 100644 --- a/src/gen/models/Links.ts +++ b/src/gen/models/Links.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Location.ts b/src/gen/models/Location.ts index 235b193d2..70c912b67 100644 --- a/src/gen/models/Location.ts +++ b/src/gen/models/Location.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Log.ts b/src/gen/models/Log.ts index 70bdf594d..697a1a34a 100644 --- a/src/gen/models/Log.ts +++ b/src/gen/models/Log.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LogsFilter.ts b/src/gen/models/LogsFilter.ts index 052a0a3c2..1e80b05b5 100644 --- a/src/gen/models/LogsFilter.ts +++ b/src/gen/models/LogsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Merchant.ts b/src/gen/models/Merchant.ts index f19f29cf7..75e4fe169 100644 --- a/src/gen/models/Merchant.ts +++ b/src/gen/models/Merchant.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Message.ts b/src/gen/models/Message.ts index dd2e9159e..f725673fa 100644 --- a/src/gen/models/Message.ts +++ b/src/gen/models/Message.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Meta.ts b/src/gen/models/Meta.ts index 5e1c58da2..c4d40fd51 100644 --- a/src/gen/models/Meta.ts +++ b/src/gen/models/Meta.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/MetaCursors.ts b/src/gen/models/MetaCursors.ts index f7b2909c7..b15781216 100644 --- a/src/gen/models/MetaCursors.ts +++ b/src/gen/models/MetaCursors.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ModelError.ts b/src/gen/models/ModelError.ts index d2eb0ef35..ce2959763 100644 --- a/src/gen/models/ModelError.ts +++ b/src/gen/models/ModelError.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Modifier.ts b/src/gen/models/Modifier.ts index 50df68b7e..d028721bf 100644 --- a/src/gen/models/Modifier.ts +++ b/src/gen/models/Modifier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ModifierGroup.ts b/src/gen/models/ModifierGroup.ts index d3549b92b..420f89e66 100644 --- a/src/gen/models/ModifierGroup.ts +++ b/src/gen/models/ModifierGroup.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ModifierGroupFilter.ts b/src/gen/models/ModifierGroupFilter.ts index c2199be79..6828b7283 100644 --- a/src/gen/models/ModifierGroupFilter.ts +++ b/src/gen/models/ModifierGroupFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/NotFoundResponse.ts b/src/gen/models/NotFoundResponse.ts index 010e82688..bfb30c2a8 100644 --- a/src/gen/models/NotFoundResponse.ts +++ b/src/gen/models/NotFoundResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/NotImplementedResponse.ts b/src/gen/models/NotImplementedResponse.ts index d6c1826d4..1d90b3a22 100644 --- a/src/gen/models/NotImplementedResponse.ts +++ b/src/gen/models/NotImplementedResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Note.ts b/src/gen/models/Note.ts index 3e528f20e..848923796 100644 --- a/src/gen/models/Note.ts +++ b/src/gen/models/Note.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OAuthGrantType.ts b/src/gen/models/OAuthGrantType.ts index de7bc6120..de739f5a8 100644 --- a/src/gen/models/OAuthGrantType.ts +++ b/src/gen/models/OAuthGrantType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Offer.ts b/src/gen/models/Offer.ts index b8041c996..a3d6da6a8 100644 --- a/src/gen/models/Offer.ts +++ b/src/gen/models/Offer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OpportunitiesFilter.ts b/src/gen/models/OpportunitiesFilter.ts index b23f241d0..75b7c6205 100644 --- a/src/gen/models/OpportunitiesFilter.ts +++ b/src/gen/models/OpportunitiesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OpportunitiesSort.ts b/src/gen/models/OpportunitiesSort.ts index f2656954a..47ba4cd37 100644 --- a/src/gen/models/OpportunitiesSort.ts +++ b/src/gen/models/OpportunitiesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Opportunity.ts b/src/gen/models/Opportunity.ts index bc69692cb..b2c428fdc 100644 --- a/src/gen/models/Opportunity.ts +++ b/src/gen/models/Opportunity.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Order.ts b/src/gen/models/Order.ts index 2ef47c5d7..7281a5f6b 100644 --- a/src/gen/models/Order.ts +++ b/src/gen/models/Order.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderCustomers.ts b/src/gen/models/OrderCustomers.ts index cbe9783a3..c335648a0 100644 --- a/src/gen/models/OrderCustomers.ts +++ b/src/gen/models/OrderCustomers.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderDiscounts.ts b/src/gen/models/OrderDiscounts.ts index f010fa54a..77a032c9f 100644 --- a/src/gen/models/OrderDiscounts.ts +++ b/src/gen/models/OrderDiscounts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderFulfillments.ts b/src/gen/models/OrderFulfillments.ts index b5354914b..3b1721941 100644 --- a/src/gen/models/OrderFulfillments.ts +++ b/src/gen/models/OrderFulfillments.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderLineItems.ts b/src/gen/models/OrderLineItems.ts index e8f626c1f..de3d5912f 100644 --- a/src/gen/models/OrderLineItems.ts +++ b/src/gen/models/OrderLineItems.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPayments.ts b/src/gen/models/OrderPayments.ts index 85ee0d931..522bfe9a1 100644 --- a/src/gen/models/OrderPayments.ts +++ b/src/gen/models/OrderPayments.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPickupDetails.ts b/src/gen/models/OrderPickupDetails.ts index acebb5167..50b180bbc 100644 --- a/src/gen/models/OrderPickupDetails.ts +++ b/src/gen/models/OrderPickupDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts b/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts index d2f9f5415..07e7cf506 100644 --- a/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts +++ b/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPickupDetailsRecipient.ts b/src/gen/models/OrderPickupDetailsRecipient.ts index 9d84eaaf5..c2de9afd1 100644 --- a/src/gen/models/OrderPickupDetailsRecipient.ts +++ b/src/gen/models/OrderPickupDetailsRecipient.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderRefunds.ts b/src/gen/models/OrderRefunds.ts index 3070203f7..3a2c9e5f9 100644 --- a/src/gen/models/OrderRefunds.ts +++ b/src/gen/models/OrderRefunds.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderTenders.ts b/src/gen/models/OrderTenders.ts index 433f6fddc..826984cfb 100644 --- a/src/gen/models/OrderTenders.ts +++ b/src/gen/models/OrderTenders.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderType.ts b/src/gen/models/OrderType.ts index aeabb27d5..e2ab3cefa 100644 --- a/src/gen/models/OrderType.ts +++ b/src/gen/models/OrderType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrdersSort.ts b/src/gen/models/OrdersSort.ts index 2a03dd978..f51f33f06 100644 --- a/src/gen/models/OrdersSort.ts +++ b/src/gen/models/OrdersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Owner.ts b/src/gen/models/Owner.ts index 1c527f598..102dd8e79 100644 --- a/src/gen/models/Owner.ts +++ b/src/gen/models/Owner.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaginationCoverage.ts b/src/gen/models/PaginationCoverage.ts index 6dd415967..efb3acc97 100644 --- a/src/gen/models/PaginationCoverage.ts +++ b/src/gen/models/PaginationCoverage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PassThroughQuery.ts b/src/gen/models/PassThroughQuery.ts index 5337b0b9d..f4af2600b 100644 --- a/src/gen/models/PassThroughQuery.ts +++ b/src/gen/models/PassThroughQuery.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Payment.ts b/src/gen/models/Payment.ts index d50d74b87..7d0cd8505 100644 --- a/src/gen/models/Payment.ts +++ b/src/gen/models/Payment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,19 +16,25 @@ import { exists } from '../runtime' import { Allocation, AllocationFromJSON, AllocationToJSON } from './Allocation' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { + DeprecatedLinkedSupplier, + DeprecatedLinkedSupplierFromJSON, + DeprecatedLinkedSupplierToJSON +} from './DeprecatedLinkedSupplier' import { LinkedCustomer, LinkedCustomerFromJSON, LinkedCustomerToJSON } from './LinkedCustomer' import { LinkedLedgerAccount, LinkedLedgerAccountFromJSON, LinkedLedgerAccountToJSON } from './LinkedLedgerAccount' -import { LinkedSupplier, LinkedSupplierFromJSON, LinkedSupplierToJSON } from './LinkedSupplier' import { LinkedTrackingCategories, LinkedTrackingCategoriesFromJSON, LinkedTrackingCategoriesToJSON } from './LinkedTrackingCategories' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' +import { PaymentStatus, PaymentStatusFromJSON, PaymentStatusToJSON } from './PaymentStatus' +import { PaymentType, PaymentTypeFromJSON, PaymentTypeToJSON } from './PaymentType' /** * @@ -37,23 +43,23 @@ import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from */ export interface Payment { /** - * Unique identifier representing the entity + * A unique identifier for an object. * @type {string} * @memberof Payment */ readonly id: string /** - * Amount of payment + * The total amount of the transaction * @type {number} * @memberof Payment */ - total_amount: number + total_amount: number | null /** - * Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD + * The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD * @type {Date} * @memberof Payment */ - transaction_date: Date + transaction_date: Date | null /** * The third-party API ID of original entity * @type {string} @@ -73,13 +79,13 @@ export interface Payment { */ currency_rate?: number | null /** - * Optional payment reference message ie: Debit remittance detail. + * Optional transaction reference message ie: Debit remittance detail. * @type {string} * @memberof Payment */ reference?: string | null /** - * Payment method name + * Payment method used for the transaction, such as cash, credit card, bank transfer, or check * @type {string} * @memberof Payment */ @@ -91,7 +97,7 @@ export interface Payment { */ payment_method_reference?: string | null /** - * Unique identifier for the payment method. + * A unique identifier for an object. * @type {string} * @memberof Payment */ @@ -122,10 +128,10 @@ export interface Payment { customer?: LinkedCustomer | null /** * - * @type {LinkedSupplier} + * @type {DeprecatedLinkedSupplier} * @memberof Payment */ - supplier?: LinkedSupplier | null + supplier?: DeprecatedLinkedSupplier | null /** * The company or subsidiary id the transaction belongs to * @type {string} @@ -133,20 +139,20 @@ export interface Payment { */ company_id?: string | null /** - * Payment has been reconciled + * Indicates if the transaction has been reconciled. * @type {boolean} * @memberof Payment */ - reconciled?: boolean + reconciled?: boolean | null /** - * Status of payment - * @type {string} + * + * @type {PaymentStatus} * @memberof Payment */ status?: PaymentStatus /** - * Type of payment - * @type {string} + * + * @type {PaymentType} * @memberof Payment */ type?: PaymentType @@ -157,13 +163,13 @@ export interface Payment { */ allocations?: Array /** - * Optional note to be associated with the payment. + * Note associated with the transaction * @type {string} * @memberof Payment */ note?: string | null /** - * Payment number. + * Number associated with the transaction * @type {string} * @memberof Payment */ @@ -187,7 +193,7 @@ export interface Payment { */ row_version?: string | null /** - * Payment id to be displayed. + * Id to be displayed. * @type {string} * @memberof Payment */ @@ -230,31 +236,6 @@ export interface Payment { pass_through?: PassThroughBody } -/** - * @export - * @enum {string} - */ -export enum PaymentStatus { - authorised = 'authorised', - paid = 'paid', - voided = 'voided', - deleted = 'deleted' -} -/** - * @export - * @enum {string} - */ -export enum PaymentType { - receivable = 'accounts_receivable', - payable = 'accounts_payable', - receivable_credit = 'accounts_receivable_credit', - payable_credit = 'accounts_payable_credit', - receivable_overpayment = 'accounts_receivable_overpayment', - payable_overpayment = 'accounts_payable_overpayment', - receivable_prepayment = 'accounts_receivable_prepayment', - payable_prepayment = 'accounts_payable_prepayment' -} - export function PaymentFromJSON(json: any): Payment { return PaymentFromJSONTyped(json, false) } @@ -266,7 +247,7 @@ export function PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): P return { id: json['id'], total_amount: json['total_amount'], - transaction_date: new Date(json['transaction_date']), + transaction_date: json['transaction_date'] === null ? null : new Date(json['transaction_date']), downstream_id: !exists(json, 'downstream_id') ? undefined : json['downstream_id'], currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), currency_rate: !exists(json, 'currency_rate') ? undefined : json['currency_rate'], @@ -284,11 +265,13 @@ export function PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): P : json['accounts_receivable_account_id'], account: !exists(json, 'account') ? undefined : LinkedLedgerAccountFromJSON(json['account']), customer: !exists(json, 'customer') ? undefined : LinkedCustomerFromJSON(json['customer']), - supplier: !exists(json, 'supplier') ? undefined : LinkedSupplierFromJSON(json['supplier']), + supplier: !exists(json, 'supplier') + ? undefined + : DeprecatedLinkedSupplierFromJSON(json['supplier']), company_id: !exists(json, 'company_id') ? undefined : json['company_id'], reconciled: !exists(json, 'reconciled') ? undefined : json['reconciled'], - status: !exists(json, 'status') ? undefined : json['status'], - type: !exists(json, 'type') ? undefined : json['type'], + status: !exists(json, 'status') ? undefined : PaymentStatusFromJSON(json['status']), + type: !exists(json, 'type') ? undefined : PaymentTypeFromJSON(json['type']), allocations: !exists(json, 'allocations') ? undefined : (json['allocations'] as Array).map(AllocationFromJSON), @@ -330,7 +313,8 @@ export function PaymentToJSON(value?: Payment | null): any { } return { total_amount: value.total_amount, - transaction_date: new Date(value.transaction_date).toISOString(), + transaction_date: + value.transaction_date === null ? null : new Date(value.transaction_date).toISOString(), currency: CurrencyToJSON(value.currency), currency_rate: value.currency_rate, reference: value.reference, @@ -341,11 +325,11 @@ export function PaymentToJSON(value?: Payment | null): any { accounts_receivable_account_id: value.accounts_receivable_account_id, account: LinkedLedgerAccountToJSON(value.account), customer: LinkedCustomerToJSON(value.customer), - supplier: LinkedSupplierToJSON(value.supplier), + supplier: DeprecatedLinkedSupplierToJSON(value.supplier), company_id: value.company_id, reconciled: value.reconciled, - status: value.status, - type: value.type, + status: PaymentStatusToJSON(value.status), + type: PaymentTypeToJSON(value.type), allocations: value.allocations === undefined ? undefined diff --git a/src/gen/models/PaymentCard.ts b/src/gen/models/PaymentCard.ts index 63f6b3ab3..c5642e7ea 100644 --- a/src/gen/models/PaymentCard.ts +++ b/src/gen/models/PaymentCard.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentFrequency.ts b/src/gen/models/PaymentFrequency.ts index 4047a5b7e..d7bfafdb5 100644 --- a/src/gen/models/PaymentFrequency.ts +++ b/src/gen/models/PaymentFrequency.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentRequiredResponse.ts b/src/gen/models/PaymentRequiredResponse.ts index 281ea3632..0bd960ca0 100644 --- a/src/gen/models/PaymentRequiredResponse.ts +++ b/src/gen/models/PaymentRequiredResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentStatus.ts b/src/gen/models/PaymentStatus.ts new file mode 100644 index 000000000..f27b4f40f --- /dev/null +++ b/src/gen/models/PaymentStatus.ts @@ -0,0 +1,37 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * Status of payment + * @export + * @enum {string} + */ +export enum PaymentStatus { + authorised = 'authorised', + paid = 'paid', + voided = 'voided', + deleted = 'deleted' +} + +export function PaymentStatusFromJSON(json: any): PaymentStatus { + return PaymentStatusFromJSONTyped(json, false) +} + +export function PaymentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentStatus { + return json as PaymentStatus +} + +export function PaymentStatusToJSON(value?: PaymentStatus | null): any { + return value as any +} diff --git a/src/gen/models/PaymentType.ts b/src/gen/models/PaymentType.ts new file mode 100644 index 000000000..f4e94d493 --- /dev/null +++ b/src/gen/models/PaymentType.ts @@ -0,0 +1,41 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * Type of payment + * @export + * @enum {string} + */ +export enum PaymentType { + receivable = 'accounts_receivable', + payable = 'accounts_payable', + receivable_credit = 'accounts_receivable_credit', + payable_credit = 'accounts_payable_credit', + receivable_overpayment = 'accounts_receivable_overpayment', + payable_overpayment = 'accounts_payable_overpayment', + receivable_prepayment = 'accounts_receivable_prepayment', + payable_prepayment = 'accounts_payable_prepayment' +} + +export function PaymentTypeFromJSON(json: any): PaymentType { + return PaymentTypeFromJSONTyped(json, false) +} + +export function PaymentTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentType { + return json as PaymentType +} + +export function PaymentTypeToJSON(value?: PaymentType | null): any { + return value as any +} diff --git a/src/gen/models/PaymentUnit.ts b/src/gen/models/PaymentUnit.ts index 792ec1d49..742534849 100644 --- a/src/gen/models/PaymentUnit.ts +++ b/src/gen/models/PaymentUnit.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentsFilter.ts b/src/gen/models/PaymentsFilter.ts index b069cb437..0e535a013 100644 --- a/src/gen/models/PaymentsFilter.ts +++ b/src/gen/models/PaymentsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentsSort.ts b/src/gen/models/PaymentsSort.ts index ab2d24ac7..47d71d7d7 100644 --- a/src/gen/models/PaymentsSort.ts +++ b/src/gen/models/PaymentsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Payroll.ts b/src/gen/models/Payroll.ts index 3a0a0e7f2..3e7d566dc 100644 --- a/src/gen/models/Payroll.ts +++ b/src/gen/models/Payroll.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PayrollTotals.ts b/src/gen/models/PayrollTotals.ts index f9317faf2..e3170ef12 100644 --- a/src/gen/models/PayrollTotals.ts +++ b/src/gen/models/PayrollTotals.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PayrollsFilter.ts b/src/gen/models/PayrollsFilter.ts index 73f09f734..37f7561bb 100644 --- a/src/gen/models/PayrollsFilter.ts +++ b/src/gen/models/PayrollsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Person.ts b/src/gen/models/Person.ts index 429eabb74..b16798530 100644 --- a/src/gen/models/Person.ts +++ b/src/gen/models/Person.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PhoneNumber.ts b/src/gen/models/PhoneNumber.ts index d2f674c5c..d41cfe5b9 100644 --- a/src/gen/models/PhoneNumber.ts +++ b/src/gen/models/PhoneNumber.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Pipeline.ts b/src/gen/models/Pipeline.ts index 490d9c92c..db920701a 100644 --- a/src/gen/models/Pipeline.ts +++ b/src/gen/models/Pipeline.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PipelineStages.ts b/src/gen/models/PipelineStages.ts index 9a82599c7..ce53dac5f 100644 --- a/src/gen/models/PipelineStages.ts +++ b/src/gen/models/PipelineStages.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosBankAccount.ts b/src/gen/models/PosBankAccount.ts index dc0af0cff..74cf67d0a 100644 --- a/src/gen/models/PosBankAccount.ts +++ b/src/gen/models/PosBankAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosBankAccountAchDetails.ts b/src/gen/models/PosBankAccountAchDetails.ts index 2e79d4356..a13ca95f1 100644 --- a/src/gen/models/PosBankAccountAchDetails.ts +++ b/src/gen/models/PosBankAccountAchDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosPayment.ts b/src/gen/models/PosPayment.ts index 6f4308fa6..56f28b761 100644 --- a/src/gen/models/PosPayment.ts +++ b/src/gen/models/PosPayment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosPaymentCardDetails.ts b/src/gen/models/PosPaymentCardDetails.ts index 70c02cec6..717105cc6 100644 --- a/src/gen/models/PosPaymentCardDetails.ts +++ b/src/gen/models/PosPaymentCardDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosPaymentExternalDetails.ts b/src/gen/models/PosPaymentExternalDetails.ts index 33dc6fe70..f60324008 100644 --- a/src/gen/models/PosPaymentExternalDetails.ts +++ b/src/gen/models/PosPaymentExternalDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Price.ts b/src/gen/models/Price.ts index b8ef49734..6b8f99bbf 100644 --- a/src/gen/models/Price.ts +++ b/src/gen/models/Price.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProbationPeriod.ts b/src/gen/models/ProbationPeriod.ts index 3ad7e441b..582dadd69 100644 --- a/src/gen/models/ProbationPeriod.ts +++ b/src/gen/models/ProbationPeriod.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLoss.ts b/src/gen/models/ProfitAndLoss.ts index 63d6399cd..994338018 100644 --- a/src/gen/models/ProfitAndLoss.ts +++ b/src/gen/models/ProfitAndLoss.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossExpenses.ts b/src/gen/models/ProfitAndLossExpenses.ts index e2d7fb4be..f1febac3c 100644 --- a/src/gen/models/ProfitAndLossExpenses.ts +++ b/src/gen/models/ProfitAndLossExpenses.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossFilter.ts b/src/gen/models/ProfitAndLossFilter.ts index 0ebd583db..97a846ce8 100644 --- a/src/gen/models/ProfitAndLossFilter.ts +++ b/src/gen/models/ProfitAndLossFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossGrossProfit.ts b/src/gen/models/ProfitAndLossGrossProfit.ts index 712a4bd3f..6fa1222d8 100644 --- a/src/gen/models/ProfitAndLossGrossProfit.ts +++ b/src/gen/models/ProfitAndLossGrossProfit.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossIncome.ts b/src/gen/models/ProfitAndLossIncome.ts index c9a5989e6..fa9452ac4 100644 --- a/src/gen/models/ProfitAndLossIncome.ts +++ b/src/gen/models/ProfitAndLossIncome.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossNetIncome.ts b/src/gen/models/ProfitAndLossNetIncome.ts index 1d18f2c2b..28cb4e644 100644 --- a/src/gen/models/ProfitAndLossNetIncome.ts +++ b/src/gen/models/ProfitAndLossNetIncome.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossNetOperatingIncome.ts b/src/gen/models/ProfitAndLossNetOperatingIncome.ts index ec8f228e2..6edf928c1 100644 --- a/src/gen/models/ProfitAndLossNetOperatingIncome.ts +++ b/src/gen/models/ProfitAndLossNetOperatingIncome.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossRecord.ts b/src/gen/models/ProfitAndLossRecord.ts index 76a8a24c0..3b629d277 100644 --- a/src/gen/models/ProfitAndLossRecord.ts +++ b/src/gen/models/ProfitAndLossRecord.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossRecords.ts b/src/gen/models/ProfitAndLossRecords.ts index bd651d38c..f7ed8241b 100644 --- a/src/gen/models/ProfitAndLossRecords.ts +++ b/src/gen/models/ProfitAndLossRecords.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossSection.ts b/src/gen/models/ProfitAndLossSection.ts index 320a72310..6a835e4fb 100644 --- a/src/gen/models/ProfitAndLossSection.ts +++ b/src/gen/models/ProfitAndLossSection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PurchaseOrder.ts b/src/gen/models/PurchaseOrder.ts index de1191353..5685741bd 100644 --- a/src/gen/models/PurchaseOrder.ts +++ b/src/gen/models/PurchaseOrder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PurchaseOrdersFilter.ts b/src/gen/models/PurchaseOrdersFilter.ts index a5d89ba5b..1c3008261 100644 --- a/src/gen/models/PurchaseOrdersFilter.ts +++ b/src/gen/models/PurchaseOrdersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,12 @@ export interface PurchaseOrdersFilter { * @memberof PurchaseOrdersFilter */ updated_since?: Date + /** + * + * @type {string} + * @memberof PurchaseOrdersFilter + */ + supplier_id?: string } export function PurchaseOrdersFilterFromJSON(json: any): PurchaseOrdersFilter { @@ -39,7 +45,8 @@ export function PurchaseOrdersFilterFromJSONTyped( return json } return { - updated_since: !exists(json, 'updated_since') ? undefined : new Date(json['updated_since']) + updated_since: !exists(json, 'updated_since') ? undefined : new Date(json['updated_since']), + supplier_id: !exists(json, 'supplier_id') ? undefined : json['supplier_id'] } } @@ -52,6 +59,7 @@ export function PurchaseOrdersFilterToJSON(value?: PurchaseOrdersFilter | null): } return { updated_since: - value.updated_since === undefined ? undefined : new Date(value.updated_since).toISOString() + value.updated_since === undefined ? undefined : new Date(value.updated_since).toISOString(), + supplier_id: value.supplier_id } } diff --git a/src/gen/models/PurchaseOrdersSort.ts b/src/gen/models/PurchaseOrdersSort.ts index 93e7b8fbd..fc272d4e7 100644 --- a/src/gen/models/PurchaseOrdersSort.ts +++ b/src/gen/models/PurchaseOrdersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/RequestCountAllocation.ts b/src/gen/models/RequestCountAllocation.ts index cb1081e46..5e53801b0 100644 --- a/src/gen/models/RequestCountAllocation.ts +++ b/src/gen/models/RequestCountAllocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ResolveWebhookResponse.ts b/src/gen/models/ResolveWebhookResponse.ts index 5098ac784..7c13fe9b7 100644 --- a/src/gen/models/ResolveWebhookResponse.ts +++ b/src/gen/models/ResolveWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ResourceExample.ts b/src/gen/models/ResourceExample.ts index e01440133..b1ca300e3 100644 --- a/src/gen/models/ResourceExample.ts +++ b/src/gen/models/ResourceExample.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ResourceStatus.ts b/src/gen/models/ResourceStatus.ts index ebda749b1..7bcdf518a 100644 --- a/src/gen/models/ResourceStatus.ts +++ b/src/gen/models/ResourceStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Schedule.ts b/src/gen/models/Schedule.ts index 355627cd3..6d5a35b5b 100644 --- a/src/gen/models/Schedule.ts +++ b/src/gen/models/Schedule.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ScheduleWorkPattern.ts b/src/gen/models/ScheduleWorkPattern.ts index 5f647e079..da6bc96e5 100644 --- a/src/gen/models/ScheduleWorkPattern.ts +++ b/src/gen/models/ScheduleWorkPattern.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ScheduleWorkPatternOddWeeks.ts b/src/gen/models/ScheduleWorkPatternOddWeeks.ts index b1717282a..51e9003ea 100644 --- a/src/gen/models/ScheduleWorkPatternOddWeeks.ts +++ b/src/gen/models/ScheduleWorkPatternOddWeeks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SchemaSupport.ts b/src/gen/models/SchemaSupport.ts index d1a0014a9..e23146d90 100644 --- a/src/gen/models/SchemaSupport.ts +++ b/src/gen/models/SchemaSupport.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ServiceCharge.ts b/src/gen/models/ServiceCharge.ts index 5bf04b3b3..f4b59893d 100644 --- a/src/gen/models/ServiceCharge.ts +++ b/src/gen/models/ServiceCharge.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ServiceCharges.ts b/src/gen/models/ServiceCharges.ts index e5564e52e..71f89172b 100644 --- a/src/gen/models/ServiceCharges.ts +++ b/src/gen/models/ServiceCharges.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Session.ts b/src/gen/models/Session.ts index 3c701029a..32079802a 100644 --- a/src/gen/models/Session.ts +++ b/src/gen/models/Session.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SessionSettings.ts b/src/gen/models/SessionSettings.ts index 4bf6f8e8a..6c5195b18 100644 --- a/src/gen/models/SessionSettings.ts +++ b/src/gen/models/SessionSettings.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SessionTheme.ts b/src/gen/models/SessionTheme.ts index 0ff0a7b70..40d52f882 100644 --- a/src/gen/models/SessionTheme.ts +++ b/src/gen/models/SessionTheme.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SharedLink.ts b/src/gen/models/SharedLink.ts index 889bea72a..7046e6e5f 100644 --- a/src/gen/models/SharedLink.ts +++ b/src/gen/models/SharedLink.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SharedLinkTarget.ts b/src/gen/models/SharedLinkTarget.ts index db92e5bda..64f9e80d1 100644 --- a/src/gen/models/SharedLinkTarget.ts +++ b/src/gen/models/SharedLinkTarget.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SimpleFormFieldOption.ts b/src/gen/models/SimpleFormFieldOption.ts index 3b2d5afca..237f8669d 100644 --- a/src/gen/models/SimpleFormFieldOption.ts +++ b/src/gen/models/SimpleFormFieldOption.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SocialLink.ts b/src/gen/models/SocialLink.ts index e05626b81..857c3436e 100644 --- a/src/gen/models/SocialLink.ts +++ b/src/gen/models/SocialLink.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SortDirection.ts b/src/gen/models/SortDirection.ts index 786800e19..0e6f7d4c3 100644 --- a/src/gen/models/SortDirection.ts +++ b/src/gen/models/SortDirection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Status.ts b/src/gen/models/Status.ts index 994cc4514..6deb951a0 100644 --- a/src/gen/models/Status.ts +++ b/src/gen/models/Status.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Subsidiary.ts b/src/gen/models/Subsidiary.ts index 8e1a70b35..ccc82906c 100644 --- a/src/gen/models/Subsidiary.ts +++ b/src/gen/models/Subsidiary.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SubsidiaryReference.ts b/src/gen/models/SubsidiaryReference.ts index ea535c721..dbbd96854 100644 --- a/src/gen/models/SubsidiaryReference.ts +++ b/src/gen/models/SubsidiaryReference.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Supplier.ts b/src/gen/models/Supplier.ts index cf727d03b..2d50b1d69 100644 --- a/src/gen/models/Supplier.ts +++ b/src/gen/models/Supplier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SuppliersFilter.ts b/src/gen/models/SuppliersFilter.ts index 78a8dc274..4a0461a7f 100644 --- a/src/gen/models/SuppliersFilter.ts +++ b/src/gen/models/SuppliersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SuppliersSort.ts b/src/gen/models/SuppliersSort.ts index bf482edd4..9bd494a1b 100644 --- a/src/gen/models/SuppliersSort.ts +++ b/src/gen/models/SuppliersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SupportedProperty.ts b/src/gen/models/SupportedProperty.ts index c99e55f13..4487d6ea5 100644 --- a/src/gen/models/SupportedProperty.ts +++ b/src/gen/models/SupportedProperty.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Tax.ts b/src/gen/models/Tax.ts index 4f0ef00c1..e99986e91 100644 --- a/src/gen/models/Tax.ts +++ b/src/gen/models/Tax.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TaxRate.ts b/src/gen/models/TaxRate.ts index c62e44d09..353f10f3f 100644 --- a/src/gen/models/TaxRate.ts +++ b/src/gen/models/TaxRate.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TaxRatesFilter.ts b/src/gen/models/TaxRatesFilter.ts index 665c2ee16..3ed19aab7 100644 --- a/src/gen/models/TaxRatesFilter.ts +++ b/src/gen/models/TaxRatesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Team.ts b/src/gen/models/Team.ts index 1eda1646f..6750f782d 100644 --- a/src/gen/models/Team.ts +++ b/src/gen/models/Team.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Tender.ts b/src/gen/models/Tender.ts index e24846031..4d332f1fc 100644 --- a/src/gen/models/Tender.ts +++ b/src/gen/models/Tender.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Ticket.ts b/src/gen/models/Ticket.ts index b2533e1ea..3eebc42d7 100644 --- a/src/gen/models/Ticket.ts +++ b/src/gen/models/Ticket.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TicketsSort.ts b/src/gen/models/TicketsSort.ts index c1fafbbfc..bce885be1 100644 --- a/src/gen/models/TicketsSort.ts +++ b/src/gen/models/TicketsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TimeOffRequest.ts b/src/gen/models/TimeOffRequest.ts index d65ed0bb1..2e03b258c 100644 --- a/src/gen/models/TimeOffRequest.ts +++ b/src/gen/models/TimeOffRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -98,6 +98,12 @@ export interface TimeOffRequest { * @memberof TimeOffRequest */ amount?: number | null + /** + * The day part of the time off request. + * @type {string} + * @memberof TimeOffRequest + */ + day_part?: string | null /** * * @type {TimeOffRequestNotes} @@ -207,6 +213,7 @@ export function TimeOffRequestFromJSONTyped( approval_date: !exists(json, 'approval_date') ? undefined : json['approval_date'], units: !exists(json, 'units') ? undefined : json['units'], amount: !exists(json, 'amount') ? undefined : json['amount'], + day_part: !exists(json, 'day_part') ? undefined : json['day_part'], notes: !exists(json, 'notes') ? undefined : TimeOffRequestNotesFromJSON(json['notes']), custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], @@ -247,6 +254,7 @@ export function TimeOffRequestToJSON(value?: TimeOffRequest | null): any { approval_date: value.approval_date, units: value.units, amount: value.amount, + day_part: value.day_part, notes: TimeOffRequestNotesToJSON(value.notes), pass_through: PassThroughBodyToJSON(value.pass_through), policy_type: value.policy_type diff --git a/src/gen/models/TimeOffRequestNotes.ts b/src/gen/models/TimeOffRequestNotes.ts index 84eff33b3..8885b5f26 100644 --- a/src/gen/models/TimeOffRequestNotes.ts +++ b/src/gen/models/TimeOffRequestNotes.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TimeOffRequestsFilter.ts b/src/gen/models/TimeOffRequestsFilter.ts index b0580a87c..9834c7009 100644 --- a/src/gen/models/TimeOffRequestsFilter.ts +++ b/src/gen/models/TimeOffRequestsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,6 +49,12 @@ export interface TimeOffRequestsFilter { * @memberof TimeOffRequestsFilter */ time_off_request_status?: TimeOffRequestsFilterTimeOffRequestStatus + /** + * Company ID + * @type {string} + * @memberof TimeOffRequestsFilter + */ + company_id?: string } /** @@ -82,7 +88,8 @@ export function TimeOffRequestsFilterFromJSONTyped( employee_id: !exists(json, 'employee_id') ? undefined : json['employee_id'], time_off_request_status: !exists(json, 'time_off_request_status') ? undefined - : json['time_off_request_status'] + : json['time_off_request_status'], + company_id: !exists(json, 'company_id') ? undefined : json['company_id'] } } @@ -98,6 +105,7 @@ export function TimeOffRequestsFilterToJSON(value?: TimeOffRequestsFilter | null end_date: value.end_date, updated_since: value.updated_since, employee_id: value.employee_id, - time_off_request_status: value.time_off_request_status + time_off_request_status: value.time_off_request_status, + company_id: value.company_id } } diff --git a/src/gen/models/TooManyRequestsResponse.ts b/src/gen/models/TooManyRequestsResponse.ts index db5a02ee8..167562255 100644 --- a/src/gen/models/TooManyRequestsResponse.ts +++ b/src/gen/models/TooManyRequestsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TooManyRequestsResponseDetail.ts b/src/gen/models/TooManyRequestsResponseDetail.ts index 31f9a37f7..511153ac4 100644 --- a/src/gen/models/TooManyRequestsResponseDetail.ts +++ b/src/gen/models/TooManyRequestsResponseDetail.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TrackingCategory.ts b/src/gen/models/TrackingCategory.ts index f12b607e2..b881fa297 100644 --- a/src/gen/models/TrackingCategory.ts +++ b/src/gen/models/TrackingCategory.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,6 +39,12 @@ export interface TrackingCategory { * @memberof TrackingCategory */ name?: string + /** + * The code of the tracking category. + * @type {string} + * @memberof TrackingCategory + */ + code?: string | null /** * Based on the status some functionality is enabled or disabled. * @type {string} @@ -113,6 +119,7 @@ export function TrackingCategoryFromJSONTyped( id: !exists(json, 'id') ? undefined : json['id'], parent_id: !exists(json, 'parent_id') ? undefined : json['parent_id'], name: !exists(json, 'name') ? undefined : json['name'], + code: !exists(json, 'code') ? undefined : json['code'], status: !exists(json, 'status') ? undefined : json['status'], custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], row_version: !exists(json, 'row_version') ? undefined : json['row_version'], @@ -144,6 +151,7 @@ export function TrackingCategoryToJSON(value?: TrackingCategory | null): any { return { parent_id: value.parent_id, name: value.name, + code: value.code, status: value.status, row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) diff --git a/src/gen/models/TrackingItem.ts b/src/gen/models/TrackingItem.ts index 399523820..983669666 100644 --- a/src/gen/models/TrackingItem.ts +++ b/src/gen/models/TrackingItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnauthorizedResponse.ts b/src/gen/models/UnauthorizedResponse.ts index 4ab0ef4f0..ab30d90b8 100644 --- a/src/gen/models/UnauthorizedResponse.ts +++ b/src/gen/models/UnauthorizedResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnexpectedErrorResponse.ts b/src/gen/models/UnexpectedErrorResponse.ts index efecea6f8..19a2b475e 100644 --- a/src/gen/models/UnexpectedErrorResponse.ts +++ b/src/gen/models/UnexpectedErrorResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnifiedApiId.ts b/src/gen/models/UnifiedApiId.ts index df8b8e34c..ce1ed57ee 100644 --- a/src/gen/models/UnifiedApiId.ts +++ b/src/gen/models/UnifiedApiId.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnifiedFile.ts b/src/gen/models/UnifiedFile.ts index 66938fa01..a004b108a 100644 --- a/src/gen/models/UnifiedFile.ts +++ b/src/gen/models/UnifiedFile.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnifiedFilePermissions.ts b/src/gen/models/UnifiedFilePermissions.ts index bc0cb2f01..4b92e27ed 100644 --- a/src/gen/models/UnifiedFilePermissions.ts +++ b/src/gen/models/UnifiedFilePermissions.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnprocessableResponse.ts b/src/gen/models/UnprocessableResponse.ts index b9212b3ed..101d69c1c 100644 --- a/src/gen/models/UnprocessableResponse.ts +++ b/src/gen/models/UnprocessableResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateAccountingDepartmentResponse.ts b/src/gen/models/UpdateAccountingDepartmentResponse.ts index 676a17954..e48a8cb46 100644 --- a/src/gen/models/UpdateAccountingDepartmentResponse.ts +++ b/src/gen/models/UpdateAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateAccountingLocationResponse.ts b/src/gen/models/UpdateAccountingLocationResponse.ts index cffdf0aef..7e7a2cba2 100644 --- a/src/gen/models/UpdateAccountingLocationResponse.ts +++ b/src/gen/models/UpdateAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateActivityResponse.ts b/src/gen/models/UpdateActivityResponse.ts index 8894487db..ea0af7070 100644 --- a/src/gen/models/UpdateActivityResponse.ts +++ b/src/gen/models/UpdateActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateApplicantResponse.ts b/src/gen/models/UpdateApplicantResponse.ts index 2539dbd1a..697e5674f 100644 --- a/src/gen/models/UpdateApplicantResponse.ts +++ b/src/gen/models/UpdateApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateApplicationResponse.ts b/src/gen/models/UpdateApplicationResponse.ts index d641d155a..a52d00c94 100644 --- a/src/gen/models/UpdateApplicationResponse.ts +++ b/src/gen/models/UpdateApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateBillPaymentResponse.ts b/src/gen/models/UpdateBillPaymentResponse.ts new file mode 100644 index 000000000..b7bc286b9 --- /dev/null +++ b/src/gen/models/UpdateBillPaymentResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface UpdateBillPaymentResponse + */ +export interface UpdateBillPaymentResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof UpdateBillPaymentResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof UpdateBillPaymentResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof UpdateBillPaymentResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof UpdateBillPaymentResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof UpdateBillPaymentResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof UpdateBillPaymentResponse + */ + data: UnifiedId +} + +export function UpdateBillPaymentResponseFromJSON(json: any): UpdateBillPaymentResponse { + return UpdateBillPaymentResponseFromJSONTyped(json, false) +} + +export function UpdateBillPaymentResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): UpdateBillPaymentResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']) + } +} + +export function UpdateBillPaymentResponseToJSON(value?: UpdateBillPaymentResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data) + } +} diff --git a/src/gen/models/UpdateBillResponse.ts b/src/gen/models/UpdateBillResponse.ts index c190608aa..3acd01f77 100644 --- a/src/gen/models/UpdateBillResponse.ts +++ b/src/gen/models/UpdateBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCommentResponse.ts b/src/gen/models/UpdateCommentResponse.ts index 42206dd8c..991b139a1 100644 --- a/src/gen/models/UpdateCommentResponse.ts +++ b/src/gen/models/UpdateCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCompanyResponse.ts b/src/gen/models/UpdateCompanyResponse.ts index 271cdcc1a..010332edf 100644 --- a/src/gen/models/UpdateCompanyResponse.ts +++ b/src/gen/models/UpdateCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateConnectionResponse.ts b/src/gen/models/UpdateConnectionResponse.ts index ad663a181..c6ca0e739 100644 --- a/src/gen/models/UpdateConnectionResponse.ts +++ b/src/gen/models/UpdateConnectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateConsumerRequest.ts b/src/gen/models/UpdateConsumerRequest.ts index 22ce5d06b..9d6d1ddfe 100644 --- a/src/gen/models/UpdateConsumerRequest.ts +++ b/src/gen/models/UpdateConsumerRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateConsumerResponse.ts b/src/gen/models/UpdateConsumerResponse.ts index 06ef32b09..eb44f7778 100644 --- a/src/gen/models/UpdateConsumerResponse.ts +++ b/src/gen/models/UpdateConsumerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateContactResponse.ts b/src/gen/models/UpdateContactResponse.ts index ca9146a1b..efab35d11 100644 --- a/src/gen/models/UpdateContactResponse.ts +++ b/src/gen/models/UpdateContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCreditNoteResponse.ts b/src/gen/models/UpdateCreditNoteResponse.ts index 9936d7e76..bc05c1132 100644 --- a/src/gen/models/UpdateCreditNoteResponse.ts +++ b/src/gen/models/UpdateCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCustomMappingResponse.ts b/src/gen/models/UpdateCustomMappingResponse.ts index 9e21202a6..be1e85e95 100644 --- a/src/gen/models/UpdateCustomMappingResponse.ts +++ b/src/gen/models/UpdateCustomMappingResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCustomerResponse.ts b/src/gen/models/UpdateCustomerResponse.ts index d5dd5fe57..aebc4789e 100644 --- a/src/gen/models/UpdateCustomerResponse.ts +++ b/src/gen/models/UpdateCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateDepartmentResponse.ts b/src/gen/models/UpdateDepartmentResponse.ts index cdaf38aba..6d8c4a0e8 100644 --- a/src/gen/models/UpdateDepartmentResponse.ts +++ b/src/gen/models/UpdateDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateDriveGroupResponse.ts b/src/gen/models/UpdateDriveGroupResponse.ts index e9a5318d1..b73746286 100644 --- a/src/gen/models/UpdateDriveGroupResponse.ts +++ b/src/gen/models/UpdateDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateDriveResponse.ts b/src/gen/models/UpdateDriveResponse.ts index b48dcacbe..5cbde7baf 100644 --- a/src/gen/models/UpdateDriveResponse.ts +++ b/src/gen/models/UpdateDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateEcommerceCustomerResponse.ts b/src/gen/models/UpdateEcommerceCustomerResponse.ts index 862c1a483..beedbf2f8 100644 --- a/src/gen/models/UpdateEcommerceCustomerResponse.ts +++ b/src/gen/models/UpdateEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateEcommerceOrderResponse.ts b/src/gen/models/UpdateEcommerceOrderResponse.ts index a929ea97c..6925d6907 100644 --- a/src/gen/models/UpdateEcommerceOrderResponse.ts +++ b/src/gen/models/UpdateEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateEmployeeResponse.ts b/src/gen/models/UpdateEmployeeResponse.ts index 72f24a119..86e0e8977 100644 --- a/src/gen/models/UpdateEmployeeResponse.ts +++ b/src/gen/models/UpdateEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateExpenseResponse.ts b/src/gen/models/UpdateExpenseResponse.ts new file mode 100644 index 000000000..830528948 --- /dev/null +++ b/src/gen/models/UpdateExpenseResponse.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface UpdateExpenseResponse + */ +export interface UpdateExpenseResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof UpdateExpenseResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof UpdateExpenseResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof UpdateExpenseResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof UpdateExpenseResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof UpdateExpenseResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof UpdateExpenseResponse + */ + data: UnifiedId +} + +export function UpdateExpenseResponseFromJSON(json: any): UpdateExpenseResponse { + return UpdateExpenseResponseFromJSONTyped(json, false) +} + +export function UpdateExpenseResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): UpdateExpenseResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']) + } +} + +export function UpdateExpenseResponseToJSON(value?: UpdateExpenseResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data) + } +} diff --git a/src/gen/models/UpdateFileRequest.ts b/src/gen/models/UpdateFileRequest.ts index e50c3e8a3..05685d940 100644 --- a/src/gen/models/UpdateFileRequest.ts +++ b/src/gen/models/UpdateFileRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateFileResponse.ts b/src/gen/models/UpdateFileResponse.ts index a71b17f93..3b89d10f5 100644 --- a/src/gen/models/UpdateFileResponse.ts +++ b/src/gen/models/UpdateFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateFolderRequest.ts b/src/gen/models/UpdateFolderRequest.ts index af75a3e26..0086dc4eb 100644 --- a/src/gen/models/UpdateFolderRequest.ts +++ b/src/gen/models/UpdateFolderRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateFolderResponse.ts b/src/gen/models/UpdateFolderResponse.ts index 09a819a57..95d906b5c 100644 --- a/src/gen/models/UpdateFolderResponse.ts +++ b/src/gen/models/UpdateFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateHrisCompanyResponse.ts b/src/gen/models/UpdateHrisCompanyResponse.ts index 7c4c8cd1a..ae5b34517 100644 --- a/src/gen/models/UpdateHrisCompanyResponse.ts +++ b/src/gen/models/UpdateHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateInvoiceItemsResponse.ts b/src/gen/models/UpdateInvoiceItemsResponse.ts index 4a405f146..be3af1c03 100644 --- a/src/gen/models/UpdateInvoiceItemsResponse.ts +++ b/src/gen/models/UpdateInvoiceItemsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateInvoiceResponse.ts b/src/gen/models/UpdateInvoiceResponse.ts index da7a84869..63913df66 100644 --- a/src/gen/models/UpdateInvoiceResponse.ts +++ b/src/gen/models/UpdateInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateItemResponse.ts b/src/gen/models/UpdateItemResponse.ts index e33424fb6..b66dcfea7 100644 --- a/src/gen/models/UpdateItemResponse.ts +++ b/src/gen/models/UpdateItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateJobResponse.ts b/src/gen/models/UpdateJobResponse.ts index 13fddf421..712ef346b 100644 --- a/src/gen/models/UpdateJobResponse.ts +++ b/src/gen/models/UpdateJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateJournalEntryResponse.ts b/src/gen/models/UpdateJournalEntryResponse.ts index 3aa4467f3..156fb6da1 100644 --- a/src/gen/models/UpdateJournalEntryResponse.ts +++ b/src/gen/models/UpdateJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateLeadResponse.ts b/src/gen/models/UpdateLeadResponse.ts index 3a2d7afb9..edda8e2e7 100644 --- a/src/gen/models/UpdateLeadResponse.ts +++ b/src/gen/models/UpdateLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateLedgerAccountResponse.ts b/src/gen/models/UpdateLedgerAccountResponse.ts index 722dbce64..cb8c0d4f5 100644 --- a/src/gen/models/UpdateLedgerAccountResponse.ts +++ b/src/gen/models/UpdateLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateLocationResponse.ts b/src/gen/models/UpdateLocationResponse.ts index 590079130..854a71cda 100644 --- a/src/gen/models/UpdateLocationResponse.ts +++ b/src/gen/models/UpdateLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateMerchantResponse.ts b/src/gen/models/UpdateMerchantResponse.ts index fd77b64e7..3fe1cf040 100644 --- a/src/gen/models/UpdateMerchantResponse.ts +++ b/src/gen/models/UpdateMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateMessageResponse.ts b/src/gen/models/UpdateMessageResponse.ts index 5b0159fa7..e370ee18e 100644 --- a/src/gen/models/UpdateMessageResponse.ts +++ b/src/gen/models/UpdateMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateModifierGroupResponse.ts b/src/gen/models/UpdateModifierGroupResponse.ts index 5c8bc9ddf..91252dcb0 100644 --- a/src/gen/models/UpdateModifierGroupResponse.ts +++ b/src/gen/models/UpdateModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateModifierResponse.ts b/src/gen/models/UpdateModifierResponse.ts index 0c85c80a1..d6bcc57f1 100644 --- a/src/gen/models/UpdateModifierResponse.ts +++ b/src/gen/models/UpdateModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateNoteResponse.ts b/src/gen/models/UpdateNoteResponse.ts index 19331bdac..87d6f6f29 100644 --- a/src/gen/models/UpdateNoteResponse.ts +++ b/src/gen/models/UpdateNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateOpportunityResponse.ts b/src/gen/models/UpdateOpportunityResponse.ts index bd1cfa579..0c1c625e8 100644 --- a/src/gen/models/UpdateOpportunityResponse.ts +++ b/src/gen/models/UpdateOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateOrderResponse.ts b/src/gen/models/UpdateOrderResponse.ts index eccd5a011..467d96e2b 100644 --- a/src/gen/models/UpdateOrderResponse.ts +++ b/src/gen/models/UpdateOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateOrderTypeResponse.ts b/src/gen/models/UpdateOrderTypeResponse.ts index bb230e27f..4fd626437 100644 --- a/src/gen/models/UpdateOrderTypeResponse.ts +++ b/src/gen/models/UpdateOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePaymentResponse.ts b/src/gen/models/UpdatePaymentResponse.ts index aa0f1eab2..69b220dad 100644 --- a/src/gen/models/UpdatePaymentResponse.ts +++ b/src/gen/models/UpdatePaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePipelineResponse.ts b/src/gen/models/UpdatePipelineResponse.ts index aff92f7bc..8a8296312 100644 --- a/src/gen/models/UpdatePipelineResponse.ts +++ b/src/gen/models/UpdatePipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePosPaymentResponse.ts b/src/gen/models/UpdatePosPaymentResponse.ts index 614433c43..d078c5f0c 100644 --- a/src/gen/models/UpdatePosPaymentResponse.ts +++ b/src/gen/models/UpdatePosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateProductResponse.ts b/src/gen/models/UpdateProductResponse.ts index 6ad308394..b71db84d2 100644 --- a/src/gen/models/UpdateProductResponse.ts +++ b/src/gen/models/UpdateProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePurchaseOrderResponse.ts b/src/gen/models/UpdatePurchaseOrderResponse.ts index 94c9ed356..4cc03e171 100644 --- a/src/gen/models/UpdatePurchaseOrderResponse.ts +++ b/src/gen/models/UpdatePurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateSharedLinkResponse.ts b/src/gen/models/UpdateSharedLinkResponse.ts index 345fdf047..8b4d420b3 100644 --- a/src/gen/models/UpdateSharedLinkResponse.ts +++ b/src/gen/models/UpdateSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateSubsidiaryResponse.ts b/src/gen/models/UpdateSubsidiaryResponse.ts index a1df0d8cd..0e07fe3c7 100644 --- a/src/gen/models/UpdateSubsidiaryResponse.ts +++ b/src/gen/models/UpdateSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateSupplierResponse.ts b/src/gen/models/UpdateSupplierResponse.ts index b1a01dcbc..05f406232 100644 --- a/src/gen/models/UpdateSupplierResponse.ts +++ b/src/gen/models/UpdateSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTaxRateResponse.ts b/src/gen/models/UpdateTaxRateResponse.ts index 07e182c72..d873f58f5 100644 --- a/src/gen/models/UpdateTaxRateResponse.ts +++ b/src/gen/models/UpdateTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTenderResponse.ts b/src/gen/models/UpdateTenderResponse.ts index 0cf2a95cd..9a5101c84 100644 --- a/src/gen/models/UpdateTenderResponse.ts +++ b/src/gen/models/UpdateTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTicketResponse.ts b/src/gen/models/UpdateTicketResponse.ts index c742070a1..0017ea021 100644 --- a/src/gen/models/UpdateTicketResponse.ts +++ b/src/gen/models/UpdateTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTimeOffRequestResponse.ts b/src/gen/models/UpdateTimeOffRequestResponse.ts index c120f7f88..ad7ddb27a 100644 --- a/src/gen/models/UpdateTimeOffRequestResponse.ts +++ b/src/gen/models/UpdateTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTrackingCategoryResponse.ts b/src/gen/models/UpdateTrackingCategoryResponse.ts index c730ab7bb..0faacf2d3 100644 --- a/src/gen/models/UpdateTrackingCategoryResponse.ts +++ b/src/gen/models/UpdateTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateUploadSessionResponse.ts b/src/gen/models/UpdateUploadSessionResponse.ts index 529b7d8f7..b0818106c 100644 --- a/src/gen/models/UpdateUploadSessionResponse.ts +++ b/src/gen/models/UpdateUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateUserResponse.ts b/src/gen/models/UpdateUserResponse.ts index 92ada8c0d..650b88497 100644 --- a/src/gen/models/UpdateUserResponse.ts +++ b/src/gen/models/UpdateUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateWebhookRequest.ts b/src/gen/models/UpdateWebhookRequest.ts index 77b1b40a3..8ef91a57c 100644 --- a/src/gen/models/UpdateWebhookRequest.ts +++ b/src/gen/models/UpdateWebhookRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateWebhookResponse.ts b/src/gen/models/UpdateWebhookResponse.ts index 488fdc506..dde8e9b21 100644 --- a/src/gen/models/UpdateWebhookResponse.ts +++ b/src/gen/models/UpdateWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UploadSession.ts b/src/gen/models/UploadSession.ts index 04a6d5957..4e282c08d 100644 --- a/src/gen/models/UploadSession.ts +++ b/src/gen/models/UploadSession.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/User.ts b/src/gen/models/User.ts index 2c9f9e294..afe1368b8 100644 --- a/src/gen/models/User.ts +++ b/src/gen/models/User.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ValidateConnectionStateResponse.ts b/src/gen/models/ValidateConnectionStateResponse.ts index 133908caf..00e8c3214 100644 --- a/src/gen/models/ValidateConnectionStateResponse.ts +++ b/src/gen/models/ValidateConnectionStateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ValidateConnectionStateResponseData.ts b/src/gen/models/ValidateConnectionStateResponseData.ts index 86e848b84..f0c1bc201 100644 --- a/src/gen/models/ValidateConnectionStateResponseData.ts +++ b/src/gen/models/ValidateConnectionStateResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/VaultEventType.ts b/src/gen/models/VaultEventType.ts index 31fca28f6..1223e40c1 100644 --- a/src/gen/models/VaultEventType.ts +++ b/src/gen/models/VaultEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/VirtualWebhooks.ts b/src/gen/models/VirtualWebhooks.ts index db15b2f74..991bd0f55 100644 --- a/src/gen/models/VirtualWebhooks.ts +++ b/src/gen/models/VirtualWebhooks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WalletDetails.ts b/src/gen/models/WalletDetails.ts index 4ec553b9a..722a99663 100644 --- a/src/gen/models/WalletDetails.ts +++ b/src/gen/models/WalletDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Webhook.ts b/src/gen/models/Webhook.ts index d2d364527..3a660ed3b 100644 --- a/src/gen/models/Webhook.ts +++ b/src/gen/models/Webhook.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEvent.ts b/src/gen/models/WebhookEvent.ts index d066950bd..4b9961c53 100644 --- a/src/gen/models/WebhookEvent.ts +++ b/src/gen/models/WebhookEvent.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLog.ts b/src/gen/models/WebhookEventLog.ts index c4421101d..8bbc383e3 100644 --- a/src/gen/models/WebhookEventLog.ts +++ b/src/gen/models/WebhookEventLog.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLogAttempts.ts b/src/gen/models/WebhookEventLogAttempts.ts index bd2225287..6d606be5e 100644 --- a/src/gen/models/WebhookEventLogAttempts.ts +++ b/src/gen/models/WebhookEventLogAttempts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLogsFilter.ts b/src/gen/models/WebhookEventLogsFilter.ts index 68af54319..14fb48174 100644 --- a/src/gen/models/WebhookEventLogsFilter.ts +++ b/src/gen/models/WebhookEventLogsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLogsFilterService.ts b/src/gen/models/WebhookEventLogsFilterService.ts index 1567af5ac..a783e74d4 100644 --- a/src/gen/models/WebhookEventLogsFilterService.ts +++ b/src/gen/models/WebhookEventLogsFilterService.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventType.ts b/src/gen/models/WebhookEventType.ts index cd99d199a..9a7101742 100644 --- a/src/gen/models/WebhookEventType.ts +++ b/src/gen/models/WebhookEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -119,7 +119,10 @@ export enum WebhookEventType { issue_tracking_ticket_deleted = 'issue-tracking.ticket.deleted', ats_application_created = 'ats.application.created', ats_application_updated = 'ats.application.updated', - ats_application_deleted = 'ats.application.deleted' + ats_application_deleted = 'ats.application.deleted', + accounting_expense_created = 'accounting.expense.created', + accounting_expense_updated = 'accounting.expense.updated', + accounting_expense_deleted = 'accounting.expense.deleted' } export function WebhookEventTypeFromJSON(json: any): WebhookEventType { diff --git a/src/gen/models/WebhookSubscription.ts b/src/gen/models/WebhookSubscription.ts index de2624f54..ac0380ea4 100644 --- a/src/gen/models/WebhookSubscription.ts +++ b/src/gen/models/WebhookSubscription.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookSupport.ts b/src/gen/models/WebhookSupport.ts index 170676809..73ce9594b 100644 --- a/src/gen/models/WebhookSupport.ts +++ b/src/gen/models/WebhookSupport.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Website.ts b/src/gen/models/Website.ts index 7fb3667a4..df3951291 100644 --- a/src/gen/models/Website.ts +++ b/src/gen/models/Website.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/index.ts b/src/gen/models/index.ts index f46d6c9d6..f96cc0a76 100644 --- a/src/gen/models/index.ts +++ b/src/gen/models/index.ts @@ -43,6 +43,7 @@ export * from './BankAccount' export * from './Benefit' export * from './Bill' export * from './BillLineItem' +export * from './BillPayment' export * from './BillsFilter' export * from './BillsSort' export * from './Branch' @@ -94,6 +95,7 @@ export * from './CreateApplicantResponse' export * from './CreateApplicationResponse' export * from './CreateAttachmentRequest' export * from './CreateAttachmentResponse' +export * from './CreateBillPaymentResponse' export * from './CreateBillResponse' export * from './CreateCommentResponse' export * from './CreateCompanyResponse' @@ -110,6 +112,7 @@ export * from './CreateDriveResponse' export * from './CreateEcommerceCustomerResponse' export * from './CreateEcommerceOrderResponse' export * from './CreateEmployeeResponse' +export * from './CreateExpenseResponse' export * from './CreateFileRequest' export * from './CreateFileResponse' export * from './CreateFolderRequest' @@ -169,6 +172,7 @@ export * from './DeleteActivityResponse' export * from './DeleteApplicantResponse' export * from './DeleteApplicationResponse' export * from './DeleteAttachmentResponse' +export * from './DeleteBillPaymentResponse' export * from './DeleteBillResponse' export * from './DeleteCommentResponse' export * from './DeleteCompanyResponse' @@ -182,6 +186,7 @@ export * from './DeleteDriveResponse' export * from './DeleteEcommerceCustomerResponse' export * from './DeleteEcommerceOrderResponse' export * from './DeleteEmployeeResponse' +export * from './DeleteExpenseResponse' export * from './DeleteFileResponse' export * from './DeleteFolderResponse' export * from './DeleteHrisCompanyResponse' @@ -217,6 +222,7 @@ export * from './DeleteUploadSessionResponse' export * from './DeleteUserResponse' export * from './DeleteWebhookResponse' export * from './Department' +export * from './DeprecatedLinkedSupplier' export * from './DeprecatedLinkedTrackingCategory' export * from './Drive' export * from './DriveGroup' @@ -255,6 +261,8 @@ export * from './EmploymentStatus' export * from './ExecuteWebhookEventRequest' export * from './ExecuteWebhookEventsRequest' export * from './ExecuteWebhookResponse' +export * from './Expense' +export * from './ExpenseLineItem' export * from './FilesFilter' export * from './FilesSearch' export * from './FilesSort' @@ -282,6 +290,8 @@ export * from './GetApplicationsResponse' export * from './GetAttachmentResponse' export * from './GetAttachmentsResponse' export * from './GetBalanceSheetResponse' +export * from './GetBillPaymentResponse' +export * from './GetBillPaymentsResponse' export * from './GetBillResponse' export * from './GetBillsResponse' export * from './GetCollectionResponse' @@ -328,6 +338,8 @@ export * from './GetEmployeePayrollsResponse' export * from './GetEmployeeResponse' export * from './GetEmployeeSchedulesResponse' export * from './GetEmployeesResponse' +export * from './GetExpenseResponse' +export * from './GetExpensesResponse' export * from './GetFileResponse' export * from './GetFilesResponse' export * from './GetFolderResponse' @@ -500,6 +512,8 @@ export * from './PaymentFrequency' export * from './PaymentRequiredResponse' export * from './PaymentsFilter' export * from './PaymentsSort' +export * from './PaymentStatus' +export * from './PaymentType' export * from './PaymentUnit' export * from './Payroll' export * from './PayrollsFilter' @@ -583,6 +597,7 @@ export * from './UpdateAccountingLocationResponse' export * from './UpdateActivityResponse' export * from './UpdateApplicantResponse' export * from './UpdateApplicationResponse' +export * from './UpdateBillPaymentResponse' export * from './UpdateBillResponse' export * from './UpdateCommentResponse' export * from './UpdateCompanyResponse' @@ -600,6 +615,7 @@ export * from './UpdateDriveResponse' export * from './UpdateEcommerceCustomerResponse' export * from './UpdateEcommerceOrderResponse' export * from './UpdateEmployeeResponse' +export * from './UpdateExpenseResponse' export * from './UpdateFileRequest' export * from './UpdateFileResponse' export * from './UpdateFolderRequest' diff --git a/src/gen/runtime.ts b/src/gen/runtime.ts index e025356b4..855e218af 100644 --- a/src/gen/runtime.ts +++ b/src/gen/runtime.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.7.0 + * The version of the OpenAPI document: 10.7.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/tests/apis/AccountingApiTest.api.test.ts b/src/gen/tests/apis/AccountingApiTest.api.test.ts index 45101b82d..104f39157 100644 --- a/src/gen/tests/apis/AccountingApiTest.api.test.ts +++ b/src/gen/tests/apis/AccountingApiTest.api.test.ts @@ -48,6 +48,7 @@ describe('AccountingApi', () => { id: '12345' }, description: 'A sample image', + parent_folder_id: '123', updated_by: '12345', created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', @@ -199,6 +200,7 @@ describe('AccountingApi', () => { id: '12345' }, description: 'A sample image', + parent_folder_id: '123', updated_by: '12345', created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', @@ -317,8 +319,8 @@ describe('AccountingApi', () => { }) }) - describe('#billsAdd', () => { - const endpoint = '/accounting/bills' + describe('#billPaymentsAdd', () => { + const endpoint = '/accounting/bill-payments' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -336,7 +338,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'bills', + resource: 'payments', operation: 'add', data: { id: '12345' @@ -349,8 +351,20 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = { - bill: { - bill_number: '10001', + billPayment: { + currency: 'USD', + currency_rate: 0.69, + total_amount: 1000, + reference: '123456', + payment_method: 'cash', + payment_method_reference: '123456', + payment_method_id: '12345', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + transaction_date: '2021-05-01T12:00:00.000Z', supplier: { id: '12345', display_name: 'Windsurf Shop', @@ -382,93 +396,35 @@ describe('AccountingApi', () => { } }, company_id: '12345', - currency: 'USD', - currency_rate: 0.69, - tax_inclusive: true, - bill_date: '2020-09-30', - due_date: '2020-10-30', - paid_date: '2020-10-30', - po_number: '90000117', - reference: '123456', - line_items: [ + reconciled: true, + status: 'authorised', + type: 'accounts_receivable', + allocations: [ { - row_id: '12345', - code: '120-C', - line_number: 1, - description: - 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'expense_account', - tax_amount: 27500, - total_amount: 27500, - quantity: 1, - unit_price: 27500.5, - unit_of_measure: 'pc.', - discount_percentage: 0.01, - discount_amount: 19.99, - location_id: '1234', - department_id: '1234', - item: { - id: '12344', - code: '120-C', - name: 'Model Y' - }, - tax_rate: { - id: '123456', - rate: 10 - }, - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], - row_version: '1-12345' + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' } ], - terms: 'Net 30 days', - balance: 27500, - deposit: 0, - sub_total: 27500, - total_tax: 2500, - total: 27500, - tax_code: '1234', - notes: 'Some notes about this bill.', - status: 'draft', - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - payment_method: 'cash', - channel: 'email', - language: 'EN', - accounting_by_row: false, - bank_account: { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' - }, - discount_percentage: 5.5, + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', + display_id: '123456', pass_through: [ { service_id: 'string', @@ -484,14 +440,14 @@ describe('AccountingApi', () => { ] } } as any - const current = await accounting.billsAdd(params) + const current = await accounting.billPaymentsAdd(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#billsAll', () => { - const endpoint = '/accounting/bills' + describe('#billPaymentsAll', () => { + const endpoint = '/accounting/bill-payments' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -509,13 +465,26 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'bills', + resource: 'payments', operation: 'all', data: [ { id: '12345', downstream_id: '12345', - bill_number: '10001', + currency: 'USD', + currency_rate: 0.69, + total_amount: 1000, + reference: '123456', + payment_method: 'cash', + payment_method_reference: '123456', + payment_method_id: '12345', + account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + transaction_date: '2021-05-01T12:00:00.000Z', supplier: { id: '12345', display_id: 'SUPP00101', @@ -549,102 +518,41 @@ describe('AccountingApi', () => { } }, company_id: '12345', - currency: 'USD', - currency_rate: 0.69, - tax_inclusive: true, - bill_date: '2020-09-30', - due_date: '2020-10-30', - paid_date: '2020-10-30', - po_number: '90000117', - reference: '123456', - line_items: [ + reconciled: true, + status: 'authorised', + type: 'accounts_receivable', + allocations: [ { - id: '12345', - row_id: '12345', - code: '120-C', - line_number: 1, - description: - 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'expense_account', - tax_amount: 27500, - total_amount: 27500, - quantity: 1, - unit_price: 27500.5, - unit_of_measure: 'pc.', - discount_percentage: 0.01, - discount_amount: 19.99, - location_id: '1234', - department_id: '1234', - item: { - id: '12344', - code: '120-C', - name: 'Model Y' - }, - tax_rate: { - id: '123456', - code: 'N-T', - name: 'GST on Purchases', - rate: 10 - }, - ledger_account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, - tracking_categories: [[Object]], - row_version: '1-12345', - updated_by: '12345', - created_by: '12345', - created_at: '2020-09-30T07:43:32.000Z', - updated_at: '2020-09-30T07:43:32.000Z' + id: '123456', + type: 'invoice', + code: 'N091', + amount: 49.99, + allocation_id: '123456' } ], - terms: 'Net 30 days', - balance: 27500, - deposit: 0, - sub_total: 27500, - total_tax: 2500, - total: 27500, - tax_code: '1234', - notes: 'Some notes about this bill.', - status: 'draft', - ledger_account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, - payment_method: 'cash', - channel: 'email', - language: 'EN', - accounting_by_row: false, - bank_account: { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' - }, - discount_percentage: 5.5, + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + display_id: '123456', + custom_mappings: {}, updated_by: '12345', created_by: '12345', - updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', - row_version: '1-12345', - custom_mappings: {}, + updated_at: '2020-09-30T07:43:32.000Z', pass_through: [ { service_id: 'string', @@ -676,14 +584,14 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = {} as any - const current = await accounting.billsAll(params) + const current = await accounting.billPaymentsAll(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#billsDelete', () => { - const endpoint = '/accounting/bills/{id}' + describe('#billPaymentsDelete', () => { + const endpoint = '/accounting/bill-payments/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -701,7 +609,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'bills', + resource: 'payments', operation: 'delete', data: { id: '12345' @@ -716,14 +624,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.billsDelete(params) + const current = await accounting.billPaymentsDelete(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#billsOne', () => { - const endpoint = '/accounting/bills/{id}' + describe('#billPaymentsOne', () => { + const endpoint = '/accounting/bill-payments/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -741,23 +649,36 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'bills', + resource: 'payments', operation: 'one', data: { id: '12345', downstream_id: '12345', - bill_number: '10001', - supplier: { - id: '12345', - display_id: 'SUPP00101', - display_name: 'Windsurf Shop', - company_name: 'The boring company', - address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', + currency: 'USD', + currency_rate: 0.69, + total_amount: 1000, + reference: '123456', + payment_method: 'cash', + payment_method_reference: '123456', + payment_method_id: '12345', + account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + transaction_date: '2021-05-01T12:00:00.000Z', + supplier: { + id: '12345', + display_id: 'SUPP00101', + display_name: 'Windsurf Shop', + company_name: 'The boring company', + address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', line2: 'apt #', line3: 'Suite #', line4: 'delivery instructions', @@ -780,107 +701,41 @@ describe('AccountingApi', () => { } }, company_id: '12345', - currency: 'USD', - currency_rate: 0.69, - tax_inclusive: true, - bill_date: '2020-09-30', - due_date: '2020-10-30', - paid_date: '2020-10-30', - po_number: '90000117', - reference: '123456', - line_items: [ + reconciled: true, + status: 'authorised', + type: 'accounts_receivable', + allocations: [ { - id: '12345', - row_id: '12345', - code: '120-C', - line_number: 1, - description: - 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'expense_account', - tax_amount: 27500, - total_amount: 27500, - quantity: 1, - unit_price: 27500.5, - unit_of_measure: 'pc.', - discount_percentage: 0.01, - discount_amount: 19.99, - location_id: '1234', - department_id: '1234', - item: { - id: '12344', - code: '120-C', - name: 'Model Y' - }, - tax_rate: { - id: '123456', - code: 'N-T', - name: 'GST on Purchases', - rate: 10 - }, - ledger_account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], - row_version: '1-12345', - updated_by: '12345', - created_by: '12345', - created_at: '2020-09-30T07:43:32.000Z', - updated_at: '2020-09-30T07:43:32.000Z' + id: '123456', + type: 'invoice', + code: 'N091', + amount: 49.99, + allocation_id: '123456' } ], - terms: 'Net 30 days', - balance: 27500, - deposit: 0, - sub_total: 27500, - total_tax: 2500, - total: 27500, - tax_code: '1234', - notes: 'Some notes about this bill.', - status: 'draft', - ledger_account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, - payment_method: 'cash', - channel: 'email', - language: 'EN', - accounting_by_row: false, - bank_account: { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' - }, - discount_percentage: 5.5, + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + display_id: '123456', + custom_mappings: {}, updated_by: '12345', created_by: '12345', - updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', - row_version: '1-12345', - custom_mappings: {}, + updated_at: '2020-09-30T07:43:32.000Z', pass_through: [ { service_id: 'string', @@ -905,14 +760,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.billsOne(params) + const current = await accounting.billPaymentsOne(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#billsUpdate', () => { - const endpoint = '/accounting/bills/{id}' + describe('#billPaymentsUpdate', () => { + const endpoint = '/accounting/bill-payments/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -930,7 +785,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'bills', + resource: 'payments', operation: 'update', data: { id: '12345' @@ -944,8 +799,20 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = { id: 'id_example', - bill: { - bill_number: '10001', + billPayment: { + currency: 'USD', + currency_rate: 0.69, + total_amount: 1000, + reference: '123456', + payment_method: 'cash', + payment_method_reference: '123456', + payment_method_id: '12345', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + transaction_date: '2021-05-01T12:00:00.000Z', supplier: { id: '12345', display_name: 'Windsurf Shop', @@ -977,93 +844,35 @@ describe('AccountingApi', () => { } }, company_id: '12345', - currency: 'USD', - currency_rate: 0.69, - tax_inclusive: true, - bill_date: '2020-09-30', - due_date: '2020-10-30', - paid_date: '2020-10-30', - po_number: '90000117', - reference: '123456', - line_items: [ + reconciled: true, + status: 'authorised', + type: 'accounts_receivable', + allocations: [ { - row_id: '12345', - code: '120-C', - line_number: 1, - description: - 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'expense_account', - tax_amount: 27500, - total_amount: 27500, - quantity: 1, - unit_price: 27500.5, - unit_of_measure: 'pc.', - discount_percentage: 0.01, - discount_amount: 19.99, - location_id: '1234', - department_id: '1234', - item: { - id: '12344', - code: '120-C', - name: 'Model Y' - }, - tax_rate: { - id: '123456', - rate: 10 - }, - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], - row_version: '1-12345' + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' } ], - terms: 'Net 30 days', - balance: 27500, - deposit: 0, - sub_total: 27500, - total_tax: 2500, - total: 27500, - tax_code: '1234', - notes: 'Some notes about this bill.', - status: 'draft', - ledger_account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - payment_method: 'cash', - channel: 'email', - language: 'EN', - accounting_by_row: false, - bank_account: { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' - }, - discount_percentage: 5.5, + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', + display_id: '123456', pass_through: [ { service_id: 'string', @@ -1079,14 +888,14 @@ describe('AccountingApi', () => { ] } } as any - const current = await accounting.billsUpdate(params) + const current = await accounting.billPaymentsUpdate(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#companyInfoOne', () => { - const endpoint = '/accounting/company-info' + describe('#billsAdd', () => { + const endpoint = '/accounting/bills' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -1104,59 +913,25 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'company-info', - operation: 'one', + resource: 'bills', + operation: 'add', data: { - id: '12345', - company_name: 'SpaceX', - status: 'active', - legal_name: 'SpaceX Inc.', - country: 'US', - sales_tax_number: '111.222.333', - automated_sales_tax: true, - sales_tax_enabled: true, - default_sales_tax: { - id: '1234', - name: 'GST on Purchases', - code: 'ABN', - description: 'Reduced rate GST Purchases', - effective_tax_rate: 10, - total_tax_rate: 10, - tax_payable_account_id: '123456', - tax_remitted_account_id: '123456', - components: [ - { - id: '10', - name: 'GST', - rate: 10, - compound: true - } - ], - type: 'NONE', - report_tax_type: 'NONE', - original_tax_rate_id: '12345', - status: 'active', - custom_mappings: {}, - row_version: '1-12345', - updated_by: '12345', - created_by: '12345', - updated_at: '2020-09-30T07:43:32.000Z', - created_at: '2020-09-30T07:43:32.000Z', - pass_through: [ - { - service_id: 'string', - operation_id: 'string', - extend_object: {}, - extend_paths: [[Object]] - } - ] - }, - currency: 'USD', - language: 'EN', - fiscal_year_start_month: 'January', - company_start_date: '2015-06-05', - addresses: [ - { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + bill: { + bill_number: '10001', + supplier: { + id: '12345', + display_name: 'Windsurf Shop', + address: { id: '123', type: 'primary', string: '25 Spring Street, Blackburn, VIC 3130', @@ -1182,114 +957,24 @@ describe('AccountingApi', () => { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - ], - phone_numbers: [ - { - id: '12345', - country_code: '1', - area_code: '323', - number: '111-111-1111', - extension: '105', - type: 'primary' - } - ], - emails: [ - { - id: '123', - email: 'elon@musk.com', - type: 'primary' - } - ], - custom_mappings: {}, - row_version: '1-12345', - updated_by: '12345', - created_by: '12345', - updated_at: '2020-09-30T07:43:32.000Z', - created_at: '2020-09-30T07:43:32.000Z' - } - } as any - - ;(fetch as jest.MockedFunction).mockResolvedValueOnce( - Promise.resolve(new Response(JSON.stringify(mockedResponse))) - ) - - const { accounting } = apideck - const params = {} as any - const current = await accounting.companyInfoOne(params) - - expect(fetch).toHaveBeenCalledTimes(1) - }) - }) - - describe('#creditNotesAdd', () => { - const endpoint = '/accounting/credit-notes' - - const config = { - apiKey: 'REPLACE_WITH_API_KEY', - appId: 'REPLACE_WITH_APP_ID', - consumerId: 'REPLACE_WITH_CONSUMER_ID' - } - const apideck = new Apideck({ ...config, basePath: basePath }) - - afterEach(() => { - jest.clearAllMocks() - }) - - it('should call Apideck with expected params', async () => { - const mockedResponse: Record = { - status_code: 200, - status: 'OK', - service: 'xero', - resource: 'credit-notes', - operation: 'add', - data: { - id: '12345' - } - } as any - - ;(fetch as jest.MockedFunction).mockResolvedValueOnce( - Promise.resolve(new Response(JSON.stringify(mockedResponse))) - ) - - const { accounting } = apideck - const params = { - creditNote: { - number: 'OIT00546', - customer: { - id: '12345', - display_name: 'Windsurf Shop', - name: 'Windsurf Shop', - email: 'boring@boring.com' }, company_id: '12345', currency: 'USD', currency_rate: 0.69, tax_inclusive: true, - sub_total: 27500, - total_amount: 49.99, - total_tax: 2500, - tax_code: '1234', - balance: 27500, - remaining_credit: 27500, - status: 'authorised', + bill_date: '2020-09-30', + due_date: '2020-10-30', + paid_date: '2020-10-30', + po_number: '90000117', reference: '123456', - date_issued: '2021-05-01T12:00:00.000Z', - date_paid: '2021-05-01T12:00:00.000Z', - type: 'accounts_receivable_credit', - account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, line_items: [ { - id: '12345', row_id: '12345', code: '120-C', line_number: 1, description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'sales_item', + type: 'expense_account', tax_amount: 27500, total_amount: 27500, quantity: 1, @@ -1308,102 +993,56 @@ describe('AccountingApi', () => { id: '123456', rate: 10 }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], ledger_account: { id: '123456', nominal_code: 'N091', code: '453' }, - custom_fields: [ + tracking_categories: [ { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' + id: '123456', + name: 'New York' } ], row_version: '1-12345' } ], - allocations: [ + terms: 'Net 30 days', + balance: 27500, + deposit: 0, + sub_total: 27500, + total_tax: 2500, + total: 27500, + tax_code: '1234', + notes: 'Some notes about this bill.', + status: 'draft', + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + payment_method: 'cash', + channel: 'email', + language: 'EN', + accounting_by_row: false, + bank_account: { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' + }, + discount_percentage: 5.5, + tracking_categories: [ { id: '123456', - type: 'invoice', - amount: 49.99, - allocation_id: '123456' - } - ], - note: 'Some notes about this credit note', - terms: 'Some terms about this credit note', - billing_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' - }, - shipping_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' - }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], - custom_fields: [ - { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' + name: 'New York' } ], row_version: '1-12345', @@ -1419,17 +1058,18 @@ describe('AccountingApi', () => { } ] } - ] + ], + accounting_period: '01-24' } } as any - const current = await accounting.creditNotesAdd(params) + const current = await accounting.billsAdd(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#creditNotesAll', () => { - const endpoint = '/accounting/credit-notes' + describe('#billsAll', () => { + const endpoint = '/accounting/bills' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -1447,41 +1087,54 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'credit-notes', + resource: 'bills', operation: 'all', data: [ { - id: '123456', - number: 'OIT00546', - customer: { + id: '12345', + downstream_id: '12345', + bill_number: '10001', + supplier: { id: '12345', - display_id: 'CUST00101', + display_id: 'SUPP00101', display_name: 'Windsurf Shop', - name: 'Windsurf Shop', company_name: 'The boring company', - email: 'boring@boring.com' + address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } }, company_id: '12345', currency: 'USD', currency_rate: 0.69, tax_inclusive: true, - sub_total: 27500, - total_amount: 49.99, - total_tax: 2500, - tax_code: '1234', - balance: 27500, - remaining_credit: 27500, - status: 'authorised', + bill_date: '2020-09-30', + due_date: '2020-10-30', + paid_date: '2020-10-30', + po_number: '90000117', reference: '123456', - date_issued: '2021-05-01T12:00:00.000Z', - date_paid: '2021-05-01T12:00:00.000Z', - type: 'accounts_receivable_credit', - account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, line_items: [ { id: '12345', @@ -1490,7 +1143,7 @@ describe('AccountingApi', () => { line_number: 1, description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'sales_item', + type: 'expense_account', tax_amount: 27500, total_amount: 27500, quantity: 1, @@ -1511,14 +1164,13 @@ describe('AccountingApi', () => { name: 'GST on Purchases', rate: 10 }, - tracking_categories: [[Object]], ledger_account: { id: '123456', name: 'Bank account', nominal_code: 'N091', code: '453' }, - custom_fields: [[Object]], + tracking_categories: [[Object]], row_version: '1-12345', updated_by: '12345', created_by: '12345', @@ -1526,89 +1178,51 @@ describe('AccountingApi', () => { updated_at: '2020-09-30T07:43:32.000Z' } ], - allocations: [ - { - id: '123456', - type: 'invoice', - code: 'N091', - amount: 49.99, - allocation_id: '123456' - } - ], - note: 'Some notes about this credit note', - terms: 'Some terms about this credit note', - billing_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + terms: 'Net 30 days', + balance: 27500, + deposit: 0, + sub_total: 27500, + total_tax: 2500, + total: 27500, + tax_code: '1234', + notes: 'Some notes about this bill.', + status: 'draft', + ledger_account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' }, - shipping_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + payment_method: 'cash', + channel: 'email', + language: 'EN', + accounting_by_row: false, + bank_account: { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' }, + discount_percentage: 5.5, tracking_categories: [ { id: '123456', name: 'New York' } ], - custom_mappings: {}, - custom_fields: [ - { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' - } - ], - row_version: '1-12345', updated_by: '12345', created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', + row_version: '1-12345', + custom_mappings: {}, pass_through: [ { service_id: 'string', @@ -1616,7 +1230,8 @@ describe('AccountingApi', () => { extend_object: {}, extend_paths: [[Object]] } - ] + ], + accounting_period: '01-24' } ], meta: { @@ -1640,14 +1255,14 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = {} as any - const current = await accounting.creditNotesAll(params) + const current = await accounting.billsAll(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#creditNotesDelete', () => { - const endpoint = '/accounting/credit-notes/{id}' + describe('#billsDelete', () => { + const endpoint = '/accounting/bills/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -1665,7 +1280,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'credit-notes', + resource: 'bills', operation: 'delete', data: { id: '12345' @@ -1680,14 +1295,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.creditNotesDelete(params) + const current = await accounting.billsDelete(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#creditNotesOne', () => { - const endpoint = '/accounting/credit-notes/{id}' + describe('#billsOne', () => { + const endpoint = '/accounting/bills/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -1705,41 +1320,54 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'credit-notes', + resource: 'bills', operation: 'one', data: { - id: '123456', - number: 'OIT00546', - customer: { + id: '12345', + downstream_id: '12345', + bill_number: '10001', + supplier: { id: '12345', - display_id: 'CUST00101', + display_id: 'SUPP00101', display_name: 'Windsurf Shop', - name: 'Windsurf Shop', company_name: 'The boring company', - email: 'boring@boring.com' - }, - company_id: '12345', - currency: 'USD', - currency_rate: 0.69, - tax_inclusive: true, - sub_total: 27500, - total_amount: 49.99, - total_tax: 2500, - tax_code: '1234', - balance: 27500, - remaining_credit: 27500, - status: 'authorised', - reference: '123456', - date_issued: '2021-05-01T12:00:00.000Z', - date_paid: '2021-05-01T12:00:00.000Z', - type: 'accounts_receivable_credit', - account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, - line_items: [ + address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } + }, + company_id: '12345', + currency: 'USD', + currency_rate: 0.69, + tax_inclusive: true, + bill_date: '2020-09-30', + due_date: '2020-10-30', + paid_date: '2020-10-30', + po_number: '90000117', + reference: '123456', + line_items: [ { id: '12345', row_id: '12345', @@ -1747,7 +1375,7 @@ describe('AccountingApi', () => { line_number: 1, description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'sales_item', + type: 'expense_account', tax_amount: 27500, total_amount: 27500, quantity: 1, @@ -1768,24 +1396,16 @@ describe('AccountingApi', () => { name: 'GST on Purchases', rate: 10 }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], ledger_account: { id: '123456', name: 'Bank account', nominal_code: 'N091', code: '453' }, - custom_fields: [ + tracking_categories: [ { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' + id: '123456', + name: 'New York' } ], row_version: '1-12345', @@ -1795,89 +1415,51 @@ describe('AccountingApi', () => { updated_at: '2020-09-30T07:43:32.000Z' } ], - allocations: [ - { - id: '123456', - type: 'invoice', - code: 'N091', - amount: 49.99, - allocation_id: '123456' - } - ], - note: 'Some notes about this credit note', - terms: 'Some terms about this credit note', - billing_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + terms: 'Net 30 days', + balance: 27500, + deposit: 0, + sub_total: 27500, + total_tax: 2500, + total: 27500, + tax_code: '1234', + notes: 'Some notes about this bill.', + status: 'draft', + ledger_account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' }, - shipping_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + payment_method: 'cash', + channel: 'email', + language: 'EN', + accounting_by_row: false, + bank_account: { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' }, + discount_percentage: 5.5, tracking_categories: [ { id: '123456', name: 'New York' } ], - custom_mappings: {}, - custom_fields: [ - { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' - } - ], - row_version: '1-12345', updated_by: '12345', created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', + row_version: '1-12345', + custom_mappings: {}, pass_through: [ { service_id: 'string', @@ -1890,7 +1472,8 @@ describe('AccountingApi', () => { } ] } - ] + ], + accounting_period: '01-24' } } as any @@ -1902,14 +1485,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.creditNotesOne(params) + const current = await accounting.billsOne(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#creditNotesUpdate', () => { - const endpoint = '/accounting/credit-notes/{id}' + describe('#billsUpdate', () => { + const endpoint = '/accounting/bills/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -1927,7 +1510,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'credit-notes', + resource: 'bills', operation: 'update', data: { id: '12345' @@ -1941,43 +1524,55 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = { id: 'id_example', - creditNote: { - number: 'OIT00546', - customer: { + bill: { + bill_number: '10001', + supplier: { id: '12345', display_name: 'Windsurf Shop', - name: 'Windsurf Shop', - email: 'boring@boring.com' + address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } }, company_id: '12345', currency: 'USD', currency_rate: 0.69, tax_inclusive: true, - sub_total: 27500, - total_amount: 49.99, - total_tax: 2500, - tax_code: '1234', - balance: 27500, - remaining_credit: 27500, - status: 'authorised', + bill_date: '2020-09-30', + due_date: '2020-10-30', + paid_date: '2020-10-30', + po_number: '90000117', reference: '123456', - date_issued: '2021-05-01T12:00:00.000Z', - date_paid: '2021-05-01T12:00:00.000Z', - type: 'accounts_receivable_credit', - account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, line_items: [ { - id: '12345', row_id: '12345', code: '120-C', line_number: 1, description: 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', - type: 'sales_item', + type: 'expense_account', tax_amount: 27500, total_amount: 27500, quantity: 1, @@ -1996,104 +1591,1601 @@ describe('AccountingApi', () => { id: '123456', rate: 10 }, - tracking_categories: [ - { - id: '123456', - name: 'New York' - } - ], ledger_account: { id: '123456', nominal_code: 'N091', code: '453' }, - custom_fields: [ + tracking_categories: [ { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' + id: '123456', + name: 'New York' } ], row_version: '1-12345' } ], - allocations: [ - { - id: '123456', - type: 'invoice', - amount: 49.99, - allocation_id: '123456' - } - ], - note: 'Some notes about this credit note', - terms: 'Some terms about this credit note', - billing_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + terms: 'Net 30 days', + balance: 27500, + deposit: 0, + sub_total: 27500, + total_tax: 2500, + total: 27500, + tax_code: '1234', + notes: 'Some notes about this bill.', + status: 'draft', + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' }, - shipping_address: { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' + payment_method: 'cash', + channel: 'email', + language: 'EN', + accounting_by_row: false, + bank_account: { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' }, + discount_percentage: 5.5, tracking_categories: [ { - id: '123456', - name: 'New York' + id: '123456', + name: 'New York' + } + ], + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ], + accounting_period: '01-24' + } + } as any + const current = await accounting.billsUpdate(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#companyInfoOne', () => { + const endpoint = '/accounting/company-info' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'company-info', + operation: 'one', + data: { + id: '12345', + company_name: 'SpaceX', + status: 'active', + legal_name: 'SpaceX Inc.', + country: 'US', + sales_tax_number: '111.222.333', + automated_sales_tax: true, + sales_tax_enabled: true, + default_sales_tax: { + id: '1234', + name: 'GST on Purchases', + code: 'ABN', + description: 'Reduced rate GST Purchases', + effective_tax_rate: 10, + total_tax_rate: 10, + tax_payable_account_id: '123456', + tax_remitted_account_id: '123456', + components: [ + { + id: '10', + name: 'GST', + rate: 10, + compound: true + } + ], + type: 'NONE', + report_tax_type: 'NONE', + original_tax_rate_id: '12345', + status: 'active', + custom_mappings: {}, + row_version: '1-12345', + updated_by: '12345', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [[Object]] + } + ] + }, + currency: 'USD', + language: 'EN', + fiscal_year_start_month: 'January', + company_start_date: '2015-06-05', + addresses: [ + { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } + ], + phone_numbers: [ + { + id: '12345', + country_code: '1', + area_code: '323', + number: '111-111-1111', + extension: '105', + type: 'primary' + } + ], + emails: [ + { + id: '123', + email: 'elon@musk.com', + type: 'primary' + } + ], + custom_mappings: {}, + row_version: '1-12345', + updated_by: '12345', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = {} as any + const current = await accounting.companyInfoOne(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#creditNotesAdd', () => { + const endpoint = '/accounting/credit-notes' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'credit-notes', + operation: 'add', + data: { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + creditNote: { + number: 'OIT00546', + customer: { + id: '12345', + display_name: 'Windsurf Shop', + name: 'Windsurf Shop', + email: 'boring@boring.com' + }, + company_id: '12345', + currency: 'USD', + currency_rate: 0.69, + tax_inclusive: true, + sub_total: 27500, + total_amount: 49.99, + total_tax: 2500, + tax_code: '1234', + balance: 27500, + remaining_credit: 27500, + status: 'authorised', + reference: '123456', + date_issued: '2021-05-01T12:00:00.000Z', + date_paid: '2021-05-01T12:00:00.000Z', + type: 'accounts_receivable_credit', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + line_items: [ + { + id: '12345', + row_id: '12345', + code: '120-C', + line_number: 1, + description: + 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', + type: 'sales_item', + tax_amount: 27500, + total_amount: 27500, + quantity: 1, + unit_price: 27500.5, + unit_of_measure: 'pc.', + discount_percentage: 0.01, + discount_amount: 19.99, + location_id: '1234', + department_id: '1234', + item: { + id: '12344', + code: '120-C', + name: 'Model Y' + }, + tax_rate: { + id: '123456', + rate: 10 + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345' + } + ], + allocations: [ + { + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' + } + ], + note: 'Some notes about this credit note', + terms: 'Some terms about this credit note', + billing_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + shipping_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await accounting.creditNotesAdd(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#creditNotesAll', () => { + const endpoint = '/accounting/credit-notes' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'credit-notes', + operation: 'all', + data: [ + { + id: '123456', + number: 'OIT00546', + customer: { + id: '12345', + display_id: 'CUST00101', + display_name: 'Windsurf Shop', + name: 'Windsurf Shop', + company_name: 'The boring company', + email: 'boring@boring.com' + }, + company_id: '12345', + currency: 'USD', + currency_rate: 0.69, + tax_inclusive: true, + sub_total: 27500, + total_amount: 49.99, + total_tax: 2500, + tax_code: '1234', + balance: 27500, + remaining_credit: 27500, + status: 'authorised', + reference: '123456', + date_issued: '2021-05-01T12:00:00.000Z', + date_paid: '2021-05-01T12:00:00.000Z', + type: 'accounts_receivable_credit', + account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + line_items: [ + { + id: '12345', + row_id: '12345', + code: '120-C', + line_number: 1, + description: + 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', + type: 'sales_item', + tax_amount: 27500, + total_amount: 27500, + quantity: 1, + unit_price: 27500.5, + unit_of_measure: 'pc.', + discount_percentage: 0.01, + discount_amount: 19.99, + location_id: '1234', + department_id: '1234', + item: { + id: '12344', + code: '120-C', + name: 'Model Y' + }, + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + tracking_categories: [[Object]], + ledger_account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + custom_fields: [[Object]], + row_version: '1-12345', + updated_by: '12345', + created_by: '12345', + created_at: '2020-09-30T07:43:32.000Z', + updated_at: '2020-09-30T07:43:32.000Z' + } + ], + allocations: [ + { + id: '123456', + type: 'invoice', + code: 'N091', + amount: 49.99, + allocation_id: '123456' + } + ], + note: 'Some notes about this credit note', + terms: 'Some terms about this credit note', + billing_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + shipping_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + custom_mappings: {}, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + updated_by: '12345', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [[Object]] + } + ] + } + ], + meta: { + items_on_page: 50, + cursors: { + previous: 'em9oby1jcm06OnBhZ2U6OjE=', + current: 'em9oby1jcm06OnBhZ2U6OjI=', + next: 'em9oby1jcm06OnBhZ2U6OjM=' + } + }, + links: { + previous: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D', + current: 'https://unify.apideck.com/crm/companies', + next: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = {} as any + const current = await accounting.creditNotesAll(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#creditNotesDelete', () => { + const endpoint = '/accounting/credit-notes/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'credit-notes', + operation: 'delete', + data: { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.creditNotesDelete(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#creditNotesOne', () => { + const endpoint = '/accounting/credit-notes/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'credit-notes', + operation: 'one', + data: { + id: '123456', + number: 'OIT00546', + customer: { + id: '12345', + display_id: 'CUST00101', + display_name: 'Windsurf Shop', + name: 'Windsurf Shop', + company_name: 'The boring company', + email: 'boring@boring.com' + }, + company_id: '12345', + currency: 'USD', + currency_rate: 0.69, + tax_inclusive: true, + sub_total: 27500, + total_amount: 49.99, + total_tax: 2500, + tax_code: '1234', + balance: 27500, + remaining_credit: 27500, + status: 'authorised', + reference: '123456', + date_issued: '2021-05-01T12:00:00.000Z', + date_paid: '2021-05-01T12:00:00.000Z', + type: 'accounts_receivable_credit', + account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + line_items: [ + { + id: '12345', + row_id: '12345', + code: '120-C', + line_number: 1, + description: + 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', + type: 'sales_item', + tax_amount: 27500, + total_amount: 27500, + quantity: 1, + unit_price: 27500.5, + unit_of_measure: 'pc.', + discount_percentage: 0.01, + discount_amount: 19.99, + location_id: '1234', + department_id: '1234', + item: { + id: '12344', + code: '120-C', + name: 'Model Y' + }, + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + ledger_account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + updated_by: '12345', + created_by: '12345', + created_at: '2020-09-30T07:43:32.000Z', + updated_at: '2020-09-30T07:43:32.000Z' + } + ], + allocations: [ + { + id: '123456', + type: 'invoice', + code: 'N091', + amount: 49.99, + allocation_id: '123456' + } + ], + note: 'Some notes about this credit note', + terms: 'Some terms about this credit note', + billing_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + shipping_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + custom_mappings: {}, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + updated_by: '12345', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.creditNotesOne(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#creditNotesUpdate', () => { + const endpoint = '/accounting/credit-notes/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'credit-notes', + operation: 'update', + data: { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example', + creditNote: { + number: 'OIT00546', + customer: { + id: '12345', + display_name: 'Windsurf Shop', + name: 'Windsurf Shop', + email: 'boring@boring.com' + }, + company_id: '12345', + currency: 'USD', + currency_rate: 0.69, + tax_inclusive: true, + sub_total: 27500, + total_amount: 49.99, + total_tax: 2500, + tax_code: '1234', + balance: 27500, + remaining_credit: 27500, + status: 'authorised', + reference: '123456', + date_issued: '2021-05-01T12:00:00.000Z', + date_paid: '2021-05-01T12:00:00.000Z', + type: 'accounts_receivable_credit', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + line_items: [ + { + id: '12345', + row_id: '12345', + code: '120-C', + line_number: 1, + description: + 'Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.', + type: 'sales_item', + tax_amount: 27500, + total_amount: 27500, + quantity: 1, + unit_price: 27500.5, + unit_of_measure: 'pc.', + discount_percentage: 0.01, + discount_amount: 19.99, + location_id: '1234', + department_id: '1234', + item: { + id: '12344', + code: '120-C', + name: 'Model Y' + }, + tax_rate: { + id: '123456', + rate: 10 + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + ledger_account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345' + } + ], + allocations: [ + { + id: '123456', + type: 'invoice', + amount: 49.99, + allocation_id: '123456' + } + ], + note: 'Some notes about this credit note', + terms: 'Some terms about this credit note', + billing_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + shipping_address: { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + }, + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await accounting.creditNotesUpdate(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customersAdd', () => { + const endpoint = '/accounting/customers' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'customers', + operation: 'add', + data: { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + customer: { + display_id: 'EMP00101', + display_name: 'Windsurf Shop', + company_name: 'SpaceX', + company_id: '12345', + title: 'CEO', + first_name: 'Elon', + middle_name: 'D.', + last_name: 'Musk', + suffix: 'Jr.', + individual: true, + project: false, + addresses: [ + { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } + ], + phone_numbers: [ + { + id: '12345', + country_code: '1', + area_code: '323', + number: '111-111-1111', + extension: '105', + type: 'primary' + } + ], + emails: [ + { + id: '123', + email: 'elon@musk.com', + type: 'primary' + } + ], + websites: [ + { + id: '12345', + url: 'http://example.com', + type: 'primary' + } + ], + bank_accounts: [ + { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' + } + ], + notes: 'Some notes about this customer', + tax_rate: { + id: '123456', + rate: 10 + }, + tax_number: 'US123945459', + currency: 'USD', + account: { + id: '123456', + nominal_code: 'N091', + code: '453' + }, + parent: { + id: '12345', + name: 'Windsurf Shop' + }, + status: 'active', + payment_method: 'cash', + channel: 'email', + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await accounting.customersAdd(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customersAll', () => { + const endpoint = '/accounting/customers' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'customers', + operation: 'all', + data: [ + { + id: '12345', + downstream_id: '12345', + display_id: 'EMP00101', + display_name: 'Windsurf Shop', + company_name: 'SpaceX', + company_id: '12345', + title: 'CEO', + first_name: 'Elon', + middle_name: 'D.', + last_name: 'Musk', + suffix: 'Jr.', + individual: true, + project: false, + addresses: [ + { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' + } + ], + phone_numbers: [ + { + id: '12345', + country_code: '1', + area_code: '323', + number: '111-111-1111', + extension: '105', + type: 'primary' + } + ], + emails: [ + { + id: '123', + email: 'elon@musk.com', + type: 'primary' + } + ], + websites: [ + { + id: '12345', + url: 'http://example.com', + type: 'primary' + } + ], + bank_accounts: [ + { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' + } + ], + notes: 'Some notes about this customer', + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + tax_number: 'US123945459', + currency: 'USD', + account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + parent: { + id: '12345', + name: 'Windsurf Shop' + }, + status: 'active', + payment_method: 'cash', + channel: 'email', + custom_mappings: {}, + updated_by: '12345', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [[Object]] + } + ] + } + ], + meta: { + items_on_page: 50, + cursors: { + previous: 'em9oby1jcm06OnBhZ2U6OjE=', + current: 'em9oby1jcm06OnBhZ2U6OjI=', + next: 'em9oby1jcm06OnBhZ2U6OjM=' + } + }, + links: { + previous: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D', + current: 'https://unify.apideck.com/crm/companies', + next: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = {} as any + const current = await accounting.customersAll(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customersDelete', () => { + const endpoint = '/accounting/customers/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'customers', + operation: 'delete', + data: { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.customersDelete(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customersOne', () => { + const endpoint = '/accounting/customers/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'customers', + operation: 'one', + data: { + id: '12345', + downstream_id: '12345', + display_id: 'EMP00101', + display_name: 'Windsurf Shop', + company_name: 'SpaceX', + company_id: '12345', + title: 'CEO', + first_name: 'Elon', + middle_name: 'D.', + last_name: 'Musk', + suffix: 'Jr.', + individual: true, + project: false, + addresses: [ + { + id: '123', + type: 'primary', + string: '25 Spring Street, Blackburn, VIC 3130', + name: 'HQ US', + line1: 'Main street', + line2: 'apt #', + line3: 'Suite #', + line4: 'delivery instructions', + street_number: '25', + city: 'San Francisco', + state: 'CA', + postal_code: '94104', + country: 'US', + latitude: '40.759211', + longitude: '-73.984638', + county: 'Santa Clara', + contact_name: 'Elon Musk', + salutation: 'Mr', + phone_number: '111-111-1111', + fax: '122-111-1111', + email: 'elon@musk.com', + website: 'https://elonmusk.com', + notes: 'Address notes or delivery instructions.', + row_version: '1-12345' } ], - custom_fields: [ + phone_numbers: [ { - id: '2389328923893298', - name: 'employee_level', - description: 'Employee Level', - value: 'Uses Salesforce and Marketo' + id: '12345', + country_code: '1', + area_code: '323', + number: '111-111-1111', + extension: '105', + type: 'primary' + } + ], + emails: [ + { + id: '123', + email: 'elon@musk.com', + type: 'primary' + } + ], + websites: [ + { + id: '12345', + url: 'http://example.com', + type: 'primary' + } + ], + bank_accounts: [ + { + bank_name: 'Monzo', + account_number: '123465', + account_name: 'SPACEX LLC', + account_type: 'credit_card', + iban: 'CH2989144532982975332', + bic: 'AUDSCHGGXXX', + routing_number: '012345678', + bsb_number: '062-001', + branch_identifier: '001', + bank_code: 'BNH', + currency: 'USD' } ], + notes: 'Some notes about this customer', + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + tax_number: 'US123945459', + currency: 'USD', + account: { + id: '123456', + name: 'Bank account', + nominal_code: 'N091', + code: '453' + }, + parent: { + id: '12345', + name: 'Windsurf Shop' + }, + status: 'active', + payment_method: 'cash', + channel: 'email', + custom_mappings: {}, + updated_by: '12345', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', row_version: '1-12345', pass_through: [ { @@ -2110,14 +3202,23 @@ describe('AccountingApi', () => { ] } } as any - const current = await accounting.creditNotesUpdate(params) + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.customersOne(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#customersAdd', () => { - const endpoint = '/accounting/customers' + describe('#customersUpdate', () => { + const endpoint = '/accounting/customers/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2136,7 +3237,7 @@ describe('AccountingApi', () => { status: 'OK', service: 'xero', resource: 'customers', - operation: 'add', + operation: 'update', data: { id: '12345' } @@ -2148,6 +3249,7 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = { + id: 'id_example', customer: { display_id: 'EMP00101', display_name: 'Windsurf Shop', @@ -2262,14 +3364,77 @@ describe('AccountingApi', () => { ] } } as any - const current = await accounting.customersAdd(params) + const current = await accounting.customersUpdate(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#customersAll', () => { - const endpoint = '/accounting/customers' + describe('#departmentsAdd', () => { + const endpoint = '/accounting/departments' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'departments', + operation: 'add', + data: { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + department: { + parent_id: '12345', + name: 'Sales', + status: 'active', + subsidiaries: [ + { + name: 'SpaceX' + } + ], + row_version: '1-12345', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await accounting.departmentsAdd(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#departmentsAll', () => { + const endpoint = '/accounting/departments' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2287,118 +3452,26 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'customers', + resource: 'subsidiaries', operation: 'all', data: [ { id: '12345', - downstream_id: '12345', - display_id: 'EMP00101', - display_name: 'Windsurf Shop', - company_name: 'SpaceX', - company_id: '12345', - title: 'CEO', - first_name: 'Elon', - middle_name: 'D.', - last_name: 'Musk', - suffix: 'Jr.', - individual: true, - project: false, - addresses: [ - { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' - } - ], - phone_numbers: [ - { - id: '12345', - country_code: '1', - area_code: '323', - number: '111-111-1111', - extension: '105', - type: 'primary' - } - ], - emails: [ - { - id: '123', - email: 'elon@musk.com', - type: 'primary' - } - ], - websites: [ - { - id: '12345', - url: 'http://example.com', - type: 'primary' - } - ], - bank_accounts: [ + parent_id: '12345', + name: 'Sales', + status: 'active', + subsidiaries: [ { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' + id: '12345', + name: 'SpaceX' } ], - notes: 'Some notes about this customer', - tax_rate: { - id: '123456', - code: 'N-T', - name: 'GST on Purchases', - rate: 10 - }, - tax_number: 'US123945459', - currency: 'USD', - account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, - parent: { - id: '12345', - name: 'Windsurf Shop' - }, - status: 'active', - payment_method: 'cash', - channel: 'email', custom_mappings: {}, + row_version: '1-12345', updated_by: '12345', created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', - row_version: '1-12345', pass_through: [ { service_id: 'string', @@ -2430,14 +3503,14 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = {} as any - const current = await accounting.customersAll(params) + const current = await accounting.departmentsAll(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#customersDelete', () => { - const endpoint = '/accounting/customers/{id}' + describe('#departmentsDelete', () => { + const endpoint = '/accounting/departments/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2454,8 +3527,8 @@ describe('AccountingApi', () => { const mockedResponse: Record = { status_code: 200, status: 'OK', - service: 'xero', - resource: 'customers', + service: 'quickbooks', + resource: 'departments', operation: 'delete', data: { id: '12345' @@ -2470,14 +3543,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.customersDelete(params) + const current = await accounting.departmentsDelete(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#customersOne', () => { - const endpoint = '/accounting/customers/{id}' + describe('#departmentsOne', () => { + const endpoint = '/accounting/departments/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2495,117 +3568,25 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'xero', - resource: 'customers', + resource: 'subsidiaries', operation: 'one', data: { id: '12345', - downstream_id: '12345', - display_id: 'EMP00101', - display_name: 'Windsurf Shop', - company_name: 'SpaceX', - company_id: '12345', - title: 'CEO', - first_name: 'Elon', - middle_name: 'D.', - last_name: 'Musk', - suffix: 'Jr.', - individual: true, - project: false, - addresses: [ - { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' - } - ], - phone_numbers: [ - { - id: '12345', - country_code: '1', - area_code: '323', - number: '111-111-1111', - extension: '105', - type: 'primary' - } - ], - emails: [ - { - id: '123', - email: 'elon@musk.com', - type: 'primary' - } - ], - websites: [ + parent_id: '12345', + name: 'Sales', + status: 'active', + subsidiaries: [ { id: '12345', - url: 'http://example.com', - type: 'primary' - } - ], - bank_accounts: [ - { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' + name: 'SpaceX' } ], - notes: 'Some notes about this customer', - tax_rate: { - id: '123456', - code: 'N-T', - name: 'GST on Purchases', - rate: 10 - }, - tax_number: 'US123945459', - currency: 'USD', - account: { - id: '123456', - name: 'Bank account', - nominal_code: 'N091', - code: '453' - }, - parent: { - id: '12345', - name: 'Windsurf Shop' - }, - status: 'active', - payment_method: 'cash', - channel: 'email', custom_mappings: {}, + row_version: '1-12345', updated_by: '12345', created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', - row_version: '1-12345', pass_through: [ { service_id: 'string', @@ -2630,14 +3611,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.customersOne(params) + const current = await accounting.departmentsOne(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#customersUpdate', () => { - const endpoint = '/accounting/customers/{id}' + describe('#departmentsUpdate', () => { + const endpoint = '/accounting/departments/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2647,126 +3628,37 @@ describe('AccountingApi', () => { const apideck = new Apideck({ ...config, basePath: basePath }) afterEach(() => { - jest.clearAllMocks() - }) - - it('should call Apideck with expected params', async () => { - const mockedResponse: Record = { - status_code: 200, - status: 'OK', - service: 'xero', - resource: 'customers', - operation: 'update', - data: { - id: '12345' - } - } as any - - ;(fetch as jest.MockedFunction).mockResolvedValueOnce( - Promise.resolve(new Response(JSON.stringify(mockedResponse))) - ) - - const { accounting } = apideck - const params = { - id: 'id_example', - customer: { - display_id: 'EMP00101', - display_name: 'Windsurf Shop', - company_name: 'SpaceX', - company_id: '12345', - title: 'CEO', - first_name: 'Elon', - middle_name: 'D.', - last_name: 'Musk', - suffix: 'Jr.', - individual: true, - project: false, - addresses: [ - { - id: '123', - type: 'primary', - string: '25 Spring Street, Blackburn, VIC 3130', - name: 'HQ US', - line1: 'Main street', - line2: 'apt #', - line3: 'Suite #', - line4: 'delivery instructions', - street_number: '25', - city: 'San Francisco', - state: 'CA', - postal_code: '94104', - country: 'US', - latitude: '40.759211', - longitude: '-73.984638', - county: 'Santa Clara', - contact_name: 'Elon Musk', - salutation: 'Mr', - phone_number: '111-111-1111', - fax: '122-111-1111', - email: 'elon@musk.com', - website: 'https://elonmusk.com', - notes: 'Address notes or delivery instructions.', - row_version: '1-12345' - } - ], - phone_numbers: [ - { - id: '12345', - country_code: '1', - area_code: '323', - number: '111-111-1111', - extension: '105', - type: 'primary' - } - ], - emails: [ - { - id: '123', - email: 'elon@musk.com', - type: 'primary' - } - ], - websites: [ - { - id: '12345', - url: 'http://example.com', - type: 'primary' - } - ], - bank_accounts: [ + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'departments', + operation: 'update', + data: { + id: '12345' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example', + department: { + parent_id: '12345', + name: 'Sales', + status: 'active', + subsidiaries: [ { - bank_name: 'Monzo', - account_number: '123465', - account_name: 'SPACEX LLC', - account_type: 'credit_card', - iban: 'CH2989144532982975332', - bic: 'AUDSCHGGXXX', - routing_number: '012345678', - bsb_number: '062-001', - branch_identifier: '001', - bank_code: 'BNH', - currency: 'USD' + name: 'SpaceX' } ], - notes: 'Some notes about this customer', - tax_rate: { - id: '123456', - rate: 10 - }, - tax_number: 'US123945459', - currency: 'USD', - account: { - id: '123456', - nominal_code: 'N091', - code: '453' - }, - parent: { - id: '12345', - name: 'Windsurf Shop' - }, - status: 'active', - payment_method: 'cash', - channel: 'email', row_version: '1-12345', pass_through: [ { @@ -2783,14 +3675,14 @@ describe('AccountingApi', () => { ] } } as any - const current = await accounting.customersUpdate(params) + const current = await accounting.departmentsUpdate(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#departmentsAdd', () => { - const endpoint = '/accounting/departments' + describe('#expensesAdd', () => { + const endpoint = '/accounting/expenses' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2808,7 +3700,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'quickbooks', - resource: 'departments', + resource: 'Expenses', operation: 'add', data: { id: '12345' @@ -2821,13 +3713,50 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = { - department: { - parent_id: '12345', - name: 'Sales', - status: 'active', - subsidiaries: [ + expense: { + number: 'OIT00546', + transaction_date: '2021-05-01T12:00:00.000Z', + account_id: '123456', + customer_id: '12345', + supplier_id: '12345', + company_id: '12345', + department_id: '12345', + currency: 'USD', + currency_rate: 0.69, + type: 'expense', + memo: 'For travel expenses incurred on 2024-05-15', + tax_rate: { + id: '123456', + rate: 10 + }, + total_amount: 275, + line_items: [ { - name: 'SpaceX' + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + account_id: '123456', + customer_id: '12345', + department_id: '12345', + location_id: '12345', + tax_rate: { + id: '123456', + rate: 10 + }, + description: 'Travel US.', + total_amount: 275, + billable: true + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' } ], row_version: '1-12345', @@ -2846,14 +3775,14 @@ describe('AccountingApi', () => { ] } } as any - const current = await accounting.departmentsAdd(params) + const current = await accounting.expensesAdd(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#departmentsAll', () => { - const endpoint = '/accounting/departments' + describe('#expensesAll', () => { + const endpoint = '/accounting/expenses' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2870,27 +3799,61 @@ describe('AccountingApi', () => { const mockedResponse: Record = { status_code: 200, status: 'OK', - service: 'xero', - resource: 'subsidiaries', + service: 'quickbooks', + resource: 'Expenses', operation: 'all', data: [ { id: '12345', - parent_id: '12345', - name: 'Sales', - status: 'active', - subsidiaries: [ + number: 'OIT00546', + transaction_date: '2021-05-01T12:00:00.000Z', + account_id: '123456', + customer_id: '12345', + supplier_id: '12345', + company_id: '12345', + department_id: '12345', + currency: 'USD', + currency_rate: 0.69, + type: 'expense', + memo: 'For travel expenses incurred on 2024-05-15', + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + total_amount: 275, + line_items: [ { id: '12345', - name: 'SpaceX' + tracking_categories: [[Object]], + account_id: '123456', + customer_id: '12345', + department_id: '12345', + location_id: '12345', + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + description: 'Travel US.', + total_amount: 275, + billable: true + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' } ], custom_mappings: {}, - row_version: '1-12345', - updated_by: '12345', - created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', + row_version: '1-12345', pass_through: [ { service_id: 'string', @@ -2922,14 +3885,14 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = {} as any - const current = await accounting.departmentsAll(params) + const current = await accounting.expensesAll(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#departmentsDelete', () => { - const endpoint = '/accounting/departments/{id}' + describe('#expensesDelete', () => { + const endpoint = '/accounting/expenses/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2947,7 +3910,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'quickbooks', - resource: 'departments', + resource: 'Expenses', operation: 'delete', data: { id: '12345' @@ -2962,14 +3925,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.departmentsDelete(params) + const current = await accounting.expensesDelete(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#departmentsOne', () => { - const endpoint = '/accounting/departments/{id}' + describe('#expensesOne', () => { + const endpoint = '/accounting/expenses/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -2986,26 +3949,65 @@ describe('AccountingApi', () => { const mockedResponse: Record = { status_code: 200, status: 'OK', - service: 'xero', - resource: 'subsidiaries', + service: 'quickbooks', + resource: 'Expenses', operation: 'one', data: { id: '12345', - parent_id: '12345', - name: 'Sales', - status: 'active', - subsidiaries: [ + number: 'OIT00546', + transaction_date: '2021-05-01T12:00:00.000Z', + account_id: '123456', + customer_id: '12345', + supplier_id: '12345', + company_id: '12345', + department_id: '12345', + currency: 'USD', + currency_rate: 0.69, + type: 'expense', + memo: 'For travel expenses incurred on 2024-05-15', + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + total_amount: 275, + line_items: [ { id: '12345', - name: 'SpaceX' + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + account_id: '123456', + customer_id: '12345', + department_id: '12345', + location_id: '12345', + tax_rate: { + id: '123456', + code: 'N-T', + name: 'GST on Purchases', + rate: 10 + }, + description: 'Travel US.', + total_amount: 275, + billable: true + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' } ], custom_mappings: {}, - row_version: '1-12345', - updated_by: '12345', - created_by: '12345', updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', + row_version: '1-12345', pass_through: [ { service_id: 'string', @@ -3030,14 +4032,14 @@ describe('AccountingApi', () => { const params = { id: 'id_example' } as any - const current = await accounting.departmentsOne(params) + const current = await accounting.expensesOne(params) expect(fetch).toHaveBeenCalledTimes(1) }) }) - describe('#departmentsUpdate', () => { - const endpoint = '/accounting/departments/{id}' + describe('#expensesUpdate', () => { + const endpoint = '/accounting/expenses/{id}' const config = { apiKey: 'REPLACE_WITH_API_KEY', @@ -3055,7 +4057,7 @@ describe('AccountingApi', () => { status_code: 200, status: 'OK', service: 'quickbooks', - resource: 'departments', + resource: 'Expenses', operation: 'update', data: { id: '12345' @@ -3069,13 +4071,50 @@ describe('AccountingApi', () => { const { accounting } = apideck const params = { id: 'id_example', - department: { - parent_id: '12345', - name: 'Sales', - status: 'active', - subsidiaries: [ + expense: { + number: 'OIT00546', + transaction_date: '2021-05-01T12:00:00.000Z', + account_id: '123456', + customer_id: '12345', + supplier_id: '12345', + company_id: '12345', + department_id: '12345', + currency: 'USD', + currency_rate: 0.69, + type: 'expense', + memo: 'For travel expenses incurred on 2024-05-15', + tax_rate: { + id: '123456', + rate: 10 + }, + total_amount: 275, + line_items: [ { - name: 'SpaceX' + tracking_categories: [ + { + id: '123456', + name: 'New York' + } + ], + account_id: '123456', + customer_id: '12345', + department_id: '12345', + location_id: '12345', + tax_rate: { + id: '123456', + rate: 10 + }, + description: 'Travel US.', + total_amount: 275, + billable: true + } + ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' } ], row_version: '1-12345', @@ -3094,7 +4133,7 @@ describe('AccountingApi', () => { ] } } as any - const current = await accounting.departmentsUpdate(params) + const current = await accounting.expensesUpdate(params) expect(fetch).toHaveBeenCalledTimes(1) }) @@ -4688,7 +5727,8 @@ describe('AccountingApi', () => { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 }, { description: @@ -4751,7 +5791,8 @@ describe('AccountingApi', () => { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 } ], memo: 'Thank you for your business and have a great day!', @@ -4766,6 +5807,7 @@ describe('AccountingApi', () => { name: 'New York' } ], + accounting_period: '01-24', row_version: '1-12345', pass_through: [ { @@ -4858,7 +5900,8 @@ describe('AccountingApi', () => { address: [Object] }, department_id: '12345', - location_id: '12345' + location_id: '12345', + line_number: 1 }, { id: '12345', @@ -4901,7 +5944,8 @@ describe('AccountingApi', () => { address: [Object] }, department_id: '12345', - location_id: '12345' + location_id: '12345', + line_number: 1 } ], memo: 'Thank you for your business and have a great day!', @@ -4916,6 +5960,7 @@ describe('AccountingApi', () => { name: 'New York' } ], + accounting_period: '01-24', custom_mappings: {}, updated_by: '12345', created_by: '12345', @@ -5098,7 +6143,8 @@ describe('AccountingApi', () => { } }, department_id: '12345', - location_id: '12345' + location_id: '12345', + line_number: 1 }, { id: '12345', @@ -5171,7 +6217,8 @@ describe('AccountingApi', () => { } }, department_id: '12345', - location_id: '12345' + location_id: '12345', + line_number: 1 } ], memo: 'Thank you for your business and have a great day!', @@ -5186,6 +6233,7 @@ describe('AccountingApi', () => { name: 'New York' } ], + accounting_period: '01-24', custom_mappings: {}, updated_by: '12345', created_by: '12345', @@ -5322,7 +6370,8 @@ describe('AccountingApi', () => { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 }, { description: @@ -5385,7 +6434,8 @@ describe('AccountingApi', () => { notes: 'Address notes or delivery instructions.', row_version: '1-12345' } - } + }, + line_number: 1 } ], memo: 'Thank you for your business and have a great day!', @@ -5400,6 +6450,7 @@ describe('AccountingApi', () => { name: 'New York' } ], + accounting_period: '01-24', row_version: '1-12345', pass_through: [ { @@ -6353,11 +7404,11 @@ describe('AccountingApi', () => { payment: { currency: 'USD', currency_rate: 0.69, - total_amount: 49.99, + total_amount: 1000, reference: '123456', - payment_method: 'Credit Card', + payment_method: 'cash', payment_method_reference: '123456', - payment_method_id: '123456', + payment_method_id: '12345', accounts_receivable_account_type: 'Account', accounts_receivable_account_id: '123456', account: { @@ -6373,7 +7424,6 @@ describe('AccountingApi', () => { email: 'boring@boring.com' }, supplier: { - id: '12345', display_name: 'Windsurf Shop', address: { id: '123', @@ -6414,8 +7464,8 @@ describe('AccountingApi', () => { allocation_id: '123456' } ], - note: 'Some notes about this payment', - number: 'Some notes about this payment', + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', @@ -6476,15 +7526,15 @@ describe('AccountingApi', () => { operation: 'all', data: [ { - id: '123456', + id: '12345', downstream_id: '12345', currency: 'USD', currency_rate: 0.69, - total_amount: 49.99, + total_amount: 1000, reference: '123456', - payment_method: 'Credit Card', + payment_method: 'cash', payment_method_reference: '123456', - payment_method_id: '123456', + payment_method_id: '12345', accounts_receivable_account_type: 'Account', accounts_receivable_account_id: '123456', account: { @@ -6547,8 +7597,8 @@ describe('AccountingApi', () => { allocation_id: '123456' } ], - note: 'Some notes about this payment', - number: 'Some notes about this payment', + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', @@ -6669,15 +7719,15 @@ describe('AccountingApi', () => { resource: 'payments', operation: 'one', data: { - id: '123456', + id: '12345', downstream_id: '12345', currency: 'USD', currency_rate: 0.69, - total_amount: 49.99, + total_amount: 1000, reference: '123456', - payment_method: 'Credit Card', + payment_method: 'cash', payment_method_reference: '123456', - payment_method_id: '123456', + payment_method_id: '12345', accounts_receivable_account_type: 'Account', accounts_receivable_account_id: '123456', account: { @@ -6740,8 +7790,8 @@ describe('AccountingApi', () => { allocation_id: '123456' } ], - note: 'Some notes about this payment', - number: 'Some notes about this payment', + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', @@ -6829,11 +7879,11 @@ describe('AccountingApi', () => { payment: { currency: 'USD', currency_rate: 0.69, - total_amount: 49.99, + total_amount: 1000, reference: '123456', - payment_method: 'Credit Card', + payment_method: 'cash', payment_method_reference: '123456', - payment_method_id: '123456', + payment_method_id: '12345', accounts_receivable_account_type: 'Account', accounts_receivable_account_id: '123456', account: { @@ -6849,7 +7899,6 @@ describe('AccountingApi', () => { email: 'boring@boring.com' }, supplier: { - id: '12345', display_name: 'Windsurf Shop', address: { id: '123', @@ -6890,8 +7939,8 @@ describe('AccountingApi', () => { allocation_id: '123456' } ], - note: 'Some notes about this payment', - number: 'Some notes about this payment', + note: 'Some notes about this transaction', + number: '123456', tracking_categories: [ { id: '123456', @@ -9231,6 +10280,7 @@ describe('AccountingApi', () => { trackingCategory: { parent_id: '12345', name: 'Department', + code: '100', status: 'active', row_version: '1-12345', pass_through: [ @@ -9280,6 +10330,7 @@ describe('AccountingApi', () => { id: '12345', parent_id: '12345', name: 'Department', + code: '100', status: 'active', custom_mappings: {}, row_version: '1-12345', @@ -9389,6 +10440,7 @@ describe('AccountingApi', () => { id: '12345', parent_id: '12345', name: 'Department', + code: '100', status: 'active', custom_mappings: {}, row_version: '1-12345', @@ -9462,6 +10514,7 @@ describe('AccountingApi', () => { trackingCategory: { parent_id: '12345', name: 'Department', + code: '100', status: 'active', row_version: '1-12345', pass_through: [ diff --git a/src/gen/tests/apis/CrmApiTest.api.test.ts b/src/gen/tests/apis/CrmApiTest.api.test.ts index a92ae02c8..ad5a80eba 100644 --- a/src/gen/tests/apis/CrmApiTest.api.test.ts +++ b/src/gen/tests/apis/CrmApiTest.api.test.ts @@ -2058,6 +2058,7 @@ describe('CrmApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -2187,6 +2188,7 @@ describe('CrmApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -2374,6 +2376,7 @@ describe('CrmApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -2525,6 +2528,7 @@ describe('CrmApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', diff --git a/src/gen/tests/apis/HrisApiTest.api.test.ts b/src/gen/tests/apis/HrisApiTest.api.test.ts index a3a943908..4b7d05ae8 100644 --- a/src/gen/tests/apis/HrisApiTest.api.test.ts +++ b/src/gen/tests/apis/HrisApiTest.api.test.ts @@ -1291,6 +1291,7 @@ describe('HrisApi', () => { const { hris } = apideck const params = { employee: { + id: '12345', first_name: 'Elon', last_name: 'Musk', middle_name: 'D.', @@ -2127,6 +2128,7 @@ describe('HrisApi', () => { const params = { id: 'id_example', employee: { + id: '12345', first_name: 'Elon', last_name: 'Musk', middle_name: 'D.', @@ -2548,6 +2550,7 @@ describe('HrisApi', () => { approval_date: '2022-03-21', units: 'hours', amount: 3.5, + day_part: 'morning', notes: { employee: 'Relaxing on the beach for a few hours.', manager: 'Enjoy!' @@ -2609,6 +2612,7 @@ describe('HrisApi', () => { approval_date: '2022-03-21', units: 'hours', amount: 3.5, + day_part: 'morning', notes: { employee: 'Relaxing on the beach for a few hours.', manager: 'Enjoy!' @@ -2731,6 +2735,7 @@ describe('HrisApi', () => { approval_date: '2022-03-21', units: 'hours', amount: 3.5, + day_part: 'morning', notes: { employee: 'Relaxing on the beach for a few hours.', manager: 'Enjoy!' @@ -2818,6 +2823,7 @@ describe('HrisApi', () => { approval_date: '2022-03-21', units: 'hours', amount: 3.5, + day_part: 'morning', notes: { employee: 'Relaxing on the beach for a few hours.', manager: 'Enjoy!' diff --git a/src/gen/tests/apis/LeadApiTest.api.test.ts b/src/gen/tests/apis/LeadApiTest.api.test.ts index c1fb81b56..43e3ad9b5 100644 --- a/src/gen/tests/apis/LeadApiTest.api.test.ts +++ b/src/gen/tests/apis/LeadApiTest.api.test.ts @@ -51,6 +51,7 @@ describe('LeadApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -180,6 +181,7 @@ describe('LeadApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -367,6 +369,7 @@ describe('LeadApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', @@ -518,6 +521,7 @@ describe('LeadApi', () => { name: 'Elon Musk', company_name: 'Spacex', owner_id: '54321', + owner_name: 'John Doe', company_id: '2', lead_id: '2', lead_source: 'Cold Call', diff --git a/yarn.lock b/yarn.lock index 12da46edb..b03fba17c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18,38 +18,38 @@ "@babel/highlight" "^7.24.7" picocolors "^1.0.0" -"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.24.8": - version "7.24.9" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.24.9.tgz#53eee4e68f1c1d0282aa0eb05ddb02d033fc43a0" - integrity sha512-e701mcfApCJqMMueQI0Fb68Amflj83+dvAvHawoBpAz+GDjCIyGHzNwnefjsWJ3xiYAqqiQFoWbspGYBdb2/ng== +"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.25.2", "@babel/compat-data@^7.25.4": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.4.tgz#7d2a80ce229890edcf4cc259d4d696cb4dae2fcb" + integrity sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ== "@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9", "@babel/core@^7.4.4", "@babel/core@^7.7.5": - version "7.24.9" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.9.tgz#dc07c9d307162c97fa9484ea997ade65841c7c82" - integrity sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg== + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.2.tgz#ed8eec275118d7613e77a352894cd12ded8eba77" + integrity sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA== dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.24.7" - "@babel/generator" "^7.24.9" - "@babel/helper-compilation-targets" "^7.24.8" - "@babel/helper-module-transforms" "^7.24.9" - "@babel/helpers" "^7.24.8" - "@babel/parser" "^7.24.8" - "@babel/template" "^7.24.7" - "@babel/traverse" "^7.24.8" - "@babel/types" "^7.24.9" + "@babel/generator" "^7.25.0" + "@babel/helper-compilation-targets" "^7.25.2" + "@babel/helper-module-transforms" "^7.25.2" + "@babel/helpers" "^7.25.0" + "@babel/parser" "^7.25.0" + "@babel/template" "^7.25.0" + "@babel/traverse" "^7.25.2" + "@babel/types" "^7.25.2" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.24.8", "@babel/generator@^7.24.9", "@babel/generator@^7.7.2": - version "7.24.10" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.10.tgz#a4ab681ec2a78bbb9ba22a3941195e28a81d8e76" - integrity sha512-o9HBZL1G2129luEUlG1hB4N/nlYNWHnpwlND9eOMclRqqu1YDy2sSYVCFUZwl8I1Gxh+QSRrP2vD7EpUmFVXxg== +"@babel/generator@^7.25.0", "@babel/generator@^7.25.6", "@babel/generator@^7.7.2": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.25.6.tgz#0df1ad8cb32fe4d2b01d8bf437f153d19342a87c" + integrity sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw== dependencies: - "@babel/types" "^7.24.9" + "@babel/types" "^7.25.6" "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" jsesc "^2.5.1" @@ -69,36 +69,34 @@ "@babel/traverse" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/helper-compilation-targets@^7.10.4", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.24.7", "@babel/helper-compilation-targets@^7.24.8": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.8.tgz#b607c3161cd9d1744977d4f97139572fe778c271" - integrity sha512-oU+UoqCHdp+nWVDkpldqIQL/i/bvAv53tRqLG/s+cOXxe66zOYLU7ar/Xs3LdmBihrUMEUhwu6dMZwbNOYDwvw== +"@babel/helper-compilation-targets@^7.10.4", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.24.7", "@babel/helper-compilation-targets@^7.24.8", "@babel/helper-compilation-targets@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz#e1d9410a90974a3a5a66e84ff55ef62e3c02d06c" + integrity sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw== dependencies: - "@babel/compat-data" "^7.24.8" + "@babel/compat-data" "^7.25.2" "@babel/helper-validator-option" "^7.24.8" browserslist "^4.23.1" lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.24.7": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.8.tgz#47f546408d13c200c0867f9d935184eaa0851b09" - integrity sha512-4f6Oqnmyp2PP3olgUMmOwC3akxSm5aBYraQ6YDdKy7NcAMkDECHWG0DEnV6M2UAkERgIBhYt8S27rURPg7SxWA== +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.24.7", "@babel/helper-create-class-features-plugin@^7.25.4": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.4.tgz#57eaf1af38be4224a9d9dd01ddde05b741f50e14" + integrity sha512-ro/bFs3/84MDgDmMwbcHgDa8/E6J3QKNTk4xJJnVeFtGE+tL0K26E3pNxhYz2b67fJpt7Aphw5XcploKXuCvCQ== dependencies: "@babel/helper-annotate-as-pure" "^7.24.7" - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-function-name" "^7.24.7" "@babel/helper-member-expression-to-functions" "^7.24.8" "@babel/helper-optimise-call-expression" "^7.24.7" - "@babel/helper-replace-supers" "^7.24.7" + "@babel/helper-replace-supers" "^7.25.0" "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" - "@babel/helper-split-export-declaration" "^7.24.7" + "@babel/traverse" "^7.25.4" semver "^6.3.1" -"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.24.7.tgz#be4f435a80dc2b053c76eeb4b7d16dd22cfc89da" - integrity sha512-03TCmXy2FtXJEZfbXDTSqq1fRJArk7lX9DOFC/47VthYcxyIOx+eXQmdo6DOQvrbpIix+KfXwvuXdFDZHxt+rA== +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.24.7", "@babel/helper-create-regexp-features-plugin@^7.25.0", "@babel/helper-create-regexp-features-plugin@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.2.tgz#24c75974ed74183797ffd5f134169316cd1808d9" + integrity sha512-+wqVGP+DFmqwFD3EH6TMTfUNeqDehV3E/dl+Sd54eaXqm17tEUNbEIn4sVivVowbvUpOtIGxdo3GoXyDH9N/9g== dependencies: "@babel/helper-annotate-as-pure" "^7.24.7" regexpu-core "^5.3.1" @@ -118,7 +116,7 @@ resolve "^1.14.2" semver "^6.1.2" -"@babel/helper-define-polyfill-provider@^0.6.1", "@babel/helper-define-polyfill-provider@^0.6.2": +"@babel/helper-define-polyfill-provider@^0.6.2": version "0.6.2" resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.2.tgz#18594f789c3594acb24cfdb4a7f7b7d2e8bd912d" integrity sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ== @@ -129,29 +127,7 @@ lodash.debounce "^4.0.8" resolve "^1.14.2" -"@babel/helper-environment-visitor@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz#4b31ba9551d1f90781ba83491dd59cf9b269f7d9" - integrity sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ== - dependencies: - "@babel/types" "^7.24.7" - -"@babel/helper-function-name@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz#75f1e1725742f39ac6584ee0b16d94513da38dd2" - integrity sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA== - dependencies: - "@babel/template" "^7.24.7" - "@babel/types" "^7.24.7" - -"@babel/helper-hoist-variables@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz#b4ede1cde2fd89436397f30dc9376ee06b0f25ee" - integrity sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ== - dependencies: - "@babel/types" "^7.24.7" - -"@babel/helper-member-expression-to-functions@^7.24.7", "@babel/helper-member-expression-to-functions@^7.24.8": +"@babel/helper-member-expression-to-functions@^7.24.8": version "7.24.8" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.8.tgz#6155e079c913357d24a4c20480db7c712a5c3fb6" integrity sha512-LABppdt+Lp/RlBxqrh4qgf1oEH/WxdzQNDJIu5gC/W1GyvPVrOBiItmmM8wan2fm4oYqFuFfkXmlGpLQhPY8CA== @@ -167,16 +143,15 @@ "@babel/traverse" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/helper-module-transforms@^7.24.7", "@babel/helper-module-transforms@^7.24.8", "@babel/helper-module-transforms@^7.24.9": - version "7.24.9" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.24.9.tgz#e13d26306b89eea569180868e652e7f514de9d29" - integrity sha512-oYbh+rtFKj/HwBQkFlUzvcybzklmVdVV3UU+mN7n2t/q3yGHbuVdNxyFvSBO1tfvjyArpHNcWMAzsSPdyI46hw== +"@babel/helper-module-transforms@^7.24.7", "@babel/helper-module-transforms@^7.24.8", "@babel/helper-module-transforms@^7.25.0", "@babel/helper-module-transforms@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz#ee713c29768100f2776edf04d4eb23b8d27a66e6" + integrity sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ== dependencies: - "@babel/helper-environment-visitor" "^7.24.7" "@babel/helper-module-imports" "^7.24.7" "@babel/helper-simple-access" "^7.24.7" - "@babel/helper-split-export-declaration" "^7.24.7" "@babel/helper-validator-identifier" "^7.24.7" + "@babel/traverse" "^7.25.2" "@babel/helper-optimise-call-expression@^7.24.7": version "7.24.7" @@ -190,23 +165,23 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz#94ee67e8ec0e5d44ea7baeb51e571bd26af07878" integrity sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg== -"@babel/helper-remap-async-to-generator@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.24.7.tgz#b3f0f203628522713849d49403f1a414468be4c7" - integrity sha512-9pKLcTlZ92hNZMQfGCHImUpDOlAgkkpqalWEeftW5FBya75k8Li2ilerxkM/uBEj01iBZXcCIB/bwvDYgWyibA== +"@babel/helper-remap-async-to-generator@^7.24.7", "@babel/helper-remap-async-to-generator@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.0.tgz#d2f0fbba059a42d68e5e378feaf181ef6055365e" + integrity sha512-NhavI2eWEIz/H9dbrG0TuOicDhNexze43i5z7lEqwYm0WEZVTwnPpA0EafUTP7+6/W79HWIP2cTe3Z5NiSTVpw== dependencies: "@babel/helper-annotate-as-pure" "^7.24.7" - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-wrap-function" "^7.24.7" + "@babel/helper-wrap-function" "^7.25.0" + "@babel/traverse" "^7.25.0" -"@babel/helper-replace-supers@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz#f933b7eed81a1c0265740edc91491ce51250f765" - integrity sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg== +"@babel/helper-replace-supers@^7.24.7", "@babel/helper-replace-supers@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.25.0.tgz#ff44deac1c9f619523fe2ca1fd650773792000a9" + integrity sha512-q688zIvQVYtZu+i2PsdIu/uWGRpfxzr5WESsfpShfZECkO+d2o+WROWezCi/Q6kJ0tfPa5+pUGUlfx2HhrA3Bg== dependencies: - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-member-expression-to-functions" "^7.24.7" + "@babel/helper-member-expression-to-functions" "^7.24.8" "@babel/helper-optimise-call-expression" "^7.24.7" + "@babel/traverse" "^7.25.0" "@babel/helper-simple-access@^7.24.7": version "7.24.7" @@ -224,13 +199,6 @@ "@babel/traverse" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/helper-split-export-declaration@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz#83949436890e07fa3d6873c61a96e3bbf692d856" - integrity sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA== - dependencies: - "@babel/types" "^7.24.7" - "@babel/helper-string-parser@^7.24.8": version "7.24.8" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz#5b3329c9a58803d5df425e5785865881a81ca48d" @@ -246,23 +214,22 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz#3725cdeea8b480e86d34df15304806a06975e33d" integrity sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q== -"@babel/helper-wrap-function@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.24.7.tgz#52d893af7e42edca7c6d2c6764549826336aae1f" - integrity sha512-N9JIYk3TD+1vq/wn77YnJOqMtfWhNewNE+DJV4puD2X7Ew9J4JvrzrFDfTfyv5EgEXVy9/Wt8QiOErzEmv5Ifw== +"@babel/helper-wrap-function@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.25.0.tgz#dab12f0f593d6ca48c0062c28bcfb14ebe812f81" + integrity sha512-s6Q1ebqutSiZnEjaofc/UKDyC4SbzV5n5SrA2Gq8UawLycr3i04f1dX4OzoQVnexm6aOCh37SQNYlJ/8Ku+PMQ== dependencies: - "@babel/helper-function-name" "^7.24.7" - "@babel/template" "^7.24.7" - "@babel/traverse" "^7.24.7" - "@babel/types" "^7.24.7" + "@babel/template" "^7.25.0" + "@babel/traverse" "^7.25.0" + "@babel/types" "^7.25.0" -"@babel/helpers@^7.24.8": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.8.tgz#2820d64d5d6686cca8789dd15b074cd862795873" - integrity sha512-gV2265Nkcz7weJJfvDoAEVzC1e2OTDpkGbEsebse8koXUJUXPsCMi7sRo/+SPMuMZ9MtUPnGwITTnQnU5YjyaQ== +"@babel/helpers@^7.25.0": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.25.6.tgz#57ee60141829ba2e102f30711ffe3afab357cc60" + integrity sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q== dependencies: - "@babel/template" "^7.24.7" - "@babel/types" "^7.24.8" + "@babel/template" "^7.25.0" + "@babel/types" "^7.25.6" "@babel/highlight@^7.24.7": version "7.24.7" @@ -274,25 +241,34 @@ js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.11.5", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.24.7", "@babel/parser@^7.24.8", "@babel/parser@^7.7.0": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.8.tgz#58a4dbbcad7eb1d48930524a3fd93d93e9084c6f" - integrity sha512-WzfbgXOkGzZiXXCqk43kKwZjzwx4oulxZi3nq2TYL9mOjQv6kYwul9mz6ID36njuL7Xkp6nJEfok848Zj10j/w== +"@babel/parser@^7.1.0", "@babel/parser@^7.11.5", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.25.0", "@babel/parser@^7.25.6", "@babel/parser@^7.7.0": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.6.tgz#85660c5ef388cbbf6e3d2a694ee97a38f18afe2f" + integrity sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q== + dependencies: + "@babel/types" "^7.25.6" -"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.7.tgz#fd059fd27b184ea2b4c7e646868a9a381bbc3055" - integrity sha512-TiT1ss81W80eQsN+722OaeQMY/G4yTb4G9JrqeiDADs3N8lbPMGldWi9x8tyqCW5NLx1Jh2AvkE6r6QvEltMMQ== +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.25.3": + version "7.25.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.3.tgz#dca427b45a6c0f5c095a1c639dfe2476a3daba7f" + integrity sha512-wUrcsxZg6rqBXG05HG1FPYgsP6EvwF4WpBbxIpWIIYnH8wG0gzx3yZY3dtEHas4sTAOGkbTsc9EGPxwff8lRoA== dependencies: - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" + "@babel/traverse" "^7.25.3" -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.7.tgz#468096ca44bbcbe8fcc570574e12eb1950e18107" - integrity sha512-unaQgZ/iRu/By6tsjMZzpeBZjChYfLYry6HrEXPoz3KmfF0sVBQ1l8zKMQ4xRGLWVsjuvB8nQfjNP/DcfEOCsg== +"@babel/plugin-bugfix-safari-class-field-initializer-scope@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.0.tgz#cd0c583e01369ef51676bdb3d7b603e17d2b3f73" + integrity sha512-Bm4bH2qsX880b/3ziJ8KD711LT7z4u8CFudmjqle65AZj/HNUFhEf90dqYv6O86buWvSBmeQDjv0Tn2aF/bIBA== dependencies: - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.0.tgz#749bde80356b295390954643de7635e0dffabe73" + integrity sha512-lXwdNZtTmeVOOFtwM/WDe7yg1PL8sYhRk/XH0FzbR2HDQ0xC+EnQ/JHeoMYSavtU115tnUk0q9CDyq8si+LMAA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.8" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.24.7": version "7.24.7" @@ -303,13 +279,13 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" "@babel/plugin-transform-optional-chaining" "^7.24.7" -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.7.tgz#71b21bb0286d5810e63a1538aa901c58e87375ec" - integrity sha512-utA4HuR6F4Vvcr+o4DnjL8fCOlgRFGbeeBEGNg3ZTrLFw6VWG5XmUrvcQ0FjIYMU2ST4XcR2Wsp7t9qOAPnxMg== +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.0.tgz#3a82a70e7cb7294ad2559465ebcb871dfbf078fb" + integrity sha512-tggFrk1AIShG/RUQbEwt2Tr/E+ObkfwrPjR6BjbRvsx24+PSjK8zrq0GWPNCjo8qpRx4DuJzlcvWJqlm+0h3kw== dependencies: - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" + "@babel/traverse" "^7.25.0" "@babel/plugin-proposal-class-properties@^7.4.4": version "7.18.6" @@ -367,18 +343,18 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-import-assertions@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz#2a0b406b5871a20a841240586b1300ce2088a778" - integrity sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg== + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.25.6.tgz#bb918905c58711b86f9710d74a3744b6c56573b5" + integrity sha512-aABl0jHw9bZ2karQ/uUD6XP4u0SG22SJrOHFoL6XB1R7dTovOP4TzTlsxOYC5yQ1pdscVK2JTUnF6QL3ARoAiQ== dependencies: - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/plugin-syntax-import-attributes@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz#b4f9ea95a79e6912480c4b626739f86a076624ca" - integrity sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A== + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz#6d4c78f042db0e82fd6436cd65fec5dc78ad2bde" + integrity sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ== dependencies: - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/plugin-syntax-import-meta@^7.10.4", "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" @@ -450,7 +426,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": +"@babel/plugin-syntax-top-level-await@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== @@ -458,11 +434,11 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz#58d458271b4d3b6bb27ee6ac9525acbb259bad1c" - integrity sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA== + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.4.tgz#04db9ce5a9043d9c635e75ae7969a2cd50ca97ff" + integrity sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg== dependencies: - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/plugin-syntax-unicode-sets-regex@^7.18.6": version "7.18.6" @@ -479,15 +455,15 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.7" -"@babel/plugin-transform-async-generator-functions@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.7.tgz#7330a5c50e05181ca52351b8fd01642000c96cfd" - integrity sha512-o+iF77e3u7ZS4AoAuJvapz9Fm001PuD2V3Lp6OSE4FYQke+cSewYtnek+THqGRWyQloRCyvWL1OkyfNEl9vr/g== +"@babel/plugin-transform-async-generator-functions@^7.25.4": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.4.tgz#2afd4e639e2d055776c9f091b6c0c180ed8cf083" + integrity sha512-jz8cV2XDDTqjKPwVPJBIjORVEmSGYhdRa8e5k5+vN+uwcjSrSxUaebBRa4ko1jqNF2uxyg8G6XYk30Jv285xzg== dependencies: - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" - "@babel/helper-remap-async-to-generator" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" + "@babel/helper-remap-async-to-generator" "^7.25.0" "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/traverse" "^7.25.4" "@babel/plugin-transform-async-to-generator@^7.24.7": version "7.24.7" @@ -505,20 +481,20 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.7" -"@babel/plugin-transform-block-scoping@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.7.tgz#42063e4deb850c7bd7c55e626bf4e7ab48e6ce02" - integrity sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ== +"@babel/plugin-transform-block-scoping@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.0.tgz#23a6ed92e6b006d26b1869b1c91d1b917c2ea2ac" + integrity sha512-yBQjYoOjXlFv9nlXb3f1casSHOZkWr29NX+zChVanLg5Nc157CrbEX9D7hxxtTpuFy7Q0YzmmWfJxzvps4kXrQ== dependencies: - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" -"@babel/plugin-transform-class-properties@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.7.tgz#256879467b57b0b68c7ddfc5b76584f398cd6834" - integrity sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w== +"@babel/plugin-transform-class-properties@^7.25.4": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.4.tgz#bae7dbfcdcc2e8667355cd1fb5eda298f05189fd" + integrity sha512-nZeZHyCWPfjkdU5pA/uHiTaDAFUEqkpzf1YoQT2NeSynCGYq9rxfyI3XpQbfx/a0hSnFH6TGlEXvae5Vi7GD8g== dependencies: - "@babel/helper-create-class-features-plugin" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-create-class-features-plugin" "^7.25.4" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/plugin-transform-class-static-block@^7.24.7": version "7.24.7" @@ -529,18 +505,16 @@ "@babel/helper-plugin-utils" "^7.24.7" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-transform-classes@^7.24.8": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.8.tgz#ad23301fe5bc153ca4cf7fb572a9bc8b0b711cf7" - integrity sha512-VXy91c47uujj758ud9wx+OMgheXm4qJfyhj1P18YvlrQkNOSrwsteHk+EFS3OMGfhMhpZa0A+81eE7G4QC+3CA== +"@babel/plugin-transform-classes@^7.25.4": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.4.tgz#d29dbb6a72d79f359952ad0b66d88518d65ef89a" + integrity sha512-oexUfaQle2pF/b6E0dwsxQtAol9TLSO88kQvym6HHBWFliV2lGdrPieX+WgMRLSJDVzdYywk7jXbLPuO2KLTLg== dependencies: "@babel/helper-annotate-as-pure" "^7.24.7" - "@babel/helper-compilation-targets" "^7.24.8" - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-function-name" "^7.24.7" + "@babel/helper-compilation-targets" "^7.25.2" "@babel/helper-plugin-utils" "^7.24.8" - "@babel/helper-replace-supers" "^7.24.7" - "@babel/helper-split-export-declaration" "^7.24.7" + "@babel/helper-replace-supers" "^7.25.0" + "@babel/traverse" "^7.25.4" globals "^11.1.0" "@babel/plugin-transform-computed-properties@^7.24.7": @@ -573,6 +547,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.7" +"@babel/plugin-transform-duplicate-named-capturing-groups-regex@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.0.tgz#809af7e3339466b49c034c683964ee8afb3e2604" + integrity sha512-YLpb4LlYSc3sCUa35un84poXoraOiQucUTTu8X1j18JV+gNa8E0nyUf/CjZ171IRGr4jEguF+vzJU66QZhn29g== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.25.0" + "@babel/helper-plugin-utils" "^7.24.8" + "@babel/plugin-transform-dynamic-import@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.7.tgz#4d8b95e3bae2b037673091aa09cd33fecd6419f4" @@ -605,14 +587,14 @@ "@babel/helper-plugin-utils" "^7.24.7" "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" -"@babel/plugin-transform-function-name@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.7.tgz#6d8601fbffe665c894440ab4470bc721dd9131d6" - integrity sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w== +"@babel/plugin-transform-function-name@^7.25.1": + version "7.25.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.1.tgz#b85e773097526c1a4fc4ba27322748643f26fc37" + integrity sha512-TVVJVdW9RKMNgJJlLtHsKDTydjZAbwIsn6ySBPQaEAUU5+gVvlJt/9nRmqVbsV/IBanRjzWoaAQKLoamWVOUuA== dependencies: - "@babel/helper-compilation-targets" "^7.24.7" - "@babel/helper-function-name" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-compilation-targets" "^7.24.8" + "@babel/helper-plugin-utils" "^7.24.8" + "@babel/traverse" "^7.25.1" "@babel/plugin-transform-json-strings@^7.24.7": version "7.24.7" @@ -622,12 +604,12 @@ "@babel/helper-plugin-utils" "^7.24.7" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-transform-literals@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.7.tgz#36b505c1e655151a9d7607799a9988fc5467d06c" - integrity sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ== +"@babel/plugin-transform-literals@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.2.tgz#deb1ad14fc5490b9a65ed830e025bca849d8b5f3" + integrity sha512-HQI+HcTbm9ur3Z2DkO+jgESMAMcYLuN/A7NRw9juzxAezN9AvqvUTnpKP/9kkYANz6u7dFlAyOu44ejuGySlfw== dependencies: - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/plugin-transform-logical-assignment-operators@^7.24.7": version "7.24.7" @@ -661,15 +643,15 @@ "@babel/helper-plugin-utils" "^7.24.8" "@babel/helper-simple-access" "^7.24.7" -"@babel/plugin-transform-modules-systemjs@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.24.7.tgz#f8012316c5098f6e8dee6ecd58e2bc6f003d0ce7" - integrity sha512-GYQE0tW7YoaN13qFh3O1NCY4MPkUiAH3fiF7UcV/I3ajmDKEdG3l+UOcbAm4zUE3gnvUU+Eni7XrVKo9eO9auw== +"@babel/plugin-transform-modules-systemjs@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.0.tgz#8f46cdc5f9e5af74f3bd019485a6cbe59685ea33" + integrity sha512-YPJfjQPDXxyQWg/0+jHKj1llnY5f/R6a0p/vP4lPymxLu7Lvl4k2WMitqi08yxwQcCVUUdG9LCUj4TNEgAp3Jw== dependencies: - "@babel/helper-hoist-variables" "^7.24.7" - "@babel/helper-module-transforms" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-module-transforms" "^7.25.0" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/helper-validator-identifier" "^7.24.7" + "@babel/traverse" "^7.25.0" "@babel/plugin-transform-modules-umd@^7.24.7": version "7.24.7" @@ -752,13 +734,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.7" -"@babel/plugin-transform-private-methods@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.7.tgz#e6318746b2ae70a59d023d5cc1344a2ba7a75f5e" - integrity sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ== +"@babel/plugin-transform-private-methods@^7.25.4": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.4.tgz#9bbefbe3649f470d681997e0b64a4b254d877242" + integrity sha512-ao8BG7E2b/URaUQGqN3Tlsg+M3KlHY6rJ1O1gXAEUnZoyNQnvKyH87Kfg+FoxSeyWUB8ISZZsC91C44ZuBFytw== dependencies: - "@babel/helper-create-class-features-plugin" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-create-class-features-plugin" "^7.25.4" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/plugin-transform-private-property-in-object@^7.24.7": version "7.24.7" @@ -851,27 +833,28 @@ "@babel/helper-create-regexp-features-plugin" "^7.24.7" "@babel/helper-plugin-utils" "^7.24.7" -"@babel/plugin-transform-unicode-sets-regex@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.7.tgz#d40705d67523803a576e29c63cef6e516b858ed9" - integrity sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg== +"@babel/plugin-transform-unicode-sets-regex@^7.25.4": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.4.tgz#be664c2a0697ffacd3423595d5edef6049e8946c" + integrity sha512-qesBxiWkgN1Q+31xUE9RcMk79eOXXDCv6tfyGMRSs4RGlioSg2WVyQAm07k726cSE56pa+Kb0y9epX2qaXzTvA== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.24.7" - "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-create-regexp-features-plugin" "^7.25.2" + "@babel/helper-plugin-utils" "^7.24.8" "@babel/preset-env@^7.11.0": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.24.8.tgz#e0db94d7f17d6f0e2564e8d29190bc8cdacec2d1" - integrity sha512-vObvMZB6hNWuDxhSaEPTKCwcqkAIuDtE+bQGn4XMXne1DSLzFVY8Vmj1bm+mUQXYNN8NmaQEO+r8MMbzPr1jBQ== + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.25.4.tgz#be23043d43a34a2721cd0f676c7ba6f1481f6af6" + integrity sha512-W9Gyo+KmcxjGahtt3t9fb14vFRWvPpu5pT6GBlovAK6BTBcxgjfVMSQCfJl4oi35ODrxP6xx2Wr8LNST57Mraw== dependencies: - "@babel/compat-data" "^7.24.8" - "@babel/helper-compilation-targets" "^7.24.8" + "@babel/compat-data" "^7.25.4" + "@babel/helper-compilation-targets" "^7.25.2" "@babel/helper-plugin-utils" "^7.24.8" "@babel/helper-validator-option" "^7.24.8" - "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.24.7" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.24.7" + "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.25.3" + "@babel/plugin-bugfix-safari-class-field-initializer-scope" "^7.25.0" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.25.0" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.24.7" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.24.7" + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.25.0" "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" @@ -892,29 +875,30 @@ "@babel/plugin-syntax-top-level-await" "^7.14.5" "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" "@babel/plugin-transform-arrow-functions" "^7.24.7" - "@babel/plugin-transform-async-generator-functions" "^7.24.7" + "@babel/plugin-transform-async-generator-functions" "^7.25.4" "@babel/plugin-transform-async-to-generator" "^7.24.7" "@babel/plugin-transform-block-scoped-functions" "^7.24.7" - "@babel/plugin-transform-block-scoping" "^7.24.7" - "@babel/plugin-transform-class-properties" "^7.24.7" + "@babel/plugin-transform-block-scoping" "^7.25.0" + "@babel/plugin-transform-class-properties" "^7.25.4" "@babel/plugin-transform-class-static-block" "^7.24.7" - "@babel/plugin-transform-classes" "^7.24.8" + "@babel/plugin-transform-classes" "^7.25.4" "@babel/plugin-transform-computed-properties" "^7.24.7" "@babel/plugin-transform-destructuring" "^7.24.8" "@babel/plugin-transform-dotall-regex" "^7.24.7" "@babel/plugin-transform-duplicate-keys" "^7.24.7" + "@babel/plugin-transform-duplicate-named-capturing-groups-regex" "^7.25.0" "@babel/plugin-transform-dynamic-import" "^7.24.7" "@babel/plugin-transform-exponentiation-operator" "^7.24.7" "@babel/plugin-transform-export-namespace-from" "^7.24.7" "@babel/plugin-transform-for-of" "^7.24.7" - "@babel/plugin-transform-function-name" "^7.24.7" + "@babel/plugin-transform-function-name" "^7.25.1" "@babel/plugin-transform-json-strings" "^7.24.7" - "@babel/plugin-transform-literals" "^7.24.7" + "@babel/plugin-transform-literals" "^7.25.2" "@babel/plugin-transform-logical-assignment-operators" "^7.24.7" "@babel/plugin-transform-member-expression-literals" "^7.24.7" "@babel/plugin-transform-modules-amd" "^7.24.7" "@babel/plugin-transform-modules-commonjs" "^7.24.8" - "@babel/plugin-transform-modules-systemjs" "^7.24.7" + "@babel/plugin-transform-modules-systemjs" "^7.25.0" "@babel/plugin-transform-modules-umd" "^7.24.7" "@babel/plugin-transform-named-capturing-groups-regex" "^7.24.7" "@babel/plugin-transform-new-target" "^7.24.7" @@ -925,7 +909,7 @@ "@babel/plugin-transform-optional-catch-binding" "^7.24.7" "@babel/plugin-transform-optional-chaining" "^7.24.8" "@babel/plugin-transform-parameters" "^7.24.7" - "@babel/plugin-transform-private-methods" "^7.24.7" + "@babel/plugin-transform-private-methods" "^7.25.4" "@babel/plugin-transform-private-property-in-object" "^7.24.7" "@babel/plugin-transform-property-literals" "^7.24.7" "@babel/plugin-transform-regenerator" "^7.24.7" @@ -938,10 +922,10 @@ "@babel/plugin-transform-unicode-escapes" "^7.24.7" "@babel/plugin-transform-unicode-property-regex" "^7.24.7" "@babel/plugin-transform-unicode-regex" "^7.24.7" - "@babel/plugin-transform-unicode-sets-regex" "^7.24.7" + "@babel/plugin-transform-unicode-sets-regex" "^7.25.4" "@babel/preset-modules" "0.1.6-no-external-plugins" babel-plugin-polyfill-corejs2 "^0.4.10" - babel-plugin-polyfill-corejs3 "^0.10.4" + babel-plugin-polyfill-corejs3 "^0.10.6" babel-plugin-polyfill-regenerator "^0.6.1" core-js-compat "^3.37.1" semver "^6.3.1" @@ -961,41 +945,38 @@ integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.8.tgz#5d958c3827b13cc6d05e038c07fb2e5e3420d82e" - integrity sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA== + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.6.tgz#9afc3289f7184d8d7f98b099884c26317b9264d2" + integrity sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ== dependencies: regenerator-runtime "^0.14.0" -"@babel/template@^7.24.7", "@babel/template@^7.3.3": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.7.tgz#02efcee317d0609d2c07117cb70ef8fb17ab7315" - integrity sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig== +"@babel/template@^7.24.7", "@babel/template@^7.25.0", "@babel/template@^7.3.3": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.0.tgz#e733dc3134b4fede528c15bc95e89cb98c52592a" + integrity sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q== dependencies: "@babel/code-frame" "^7.24.7" - "@babel/parser" "^7.24.7" - "@babel/types" "^7.24.7" + "@babel/parser" "^7.25.0" + "@babel/types" "^7.25.0" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.11.5", "@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.7.0": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.8.tgz#6c14ed5232b7549df3371d820fbd9abfcd7dfab7" - integrity sha512-t0P1xxAPzEDcEPmjprAQq19NWum4K0EQPjMwZQZbHt+GiZqvjCHjj755Weq1YRPVzBI+3zSfvScfpnuIecVFJQ== +"@babel/traverse@^7.1.0", "@babel/traverse@^7.11.5", "@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.25.0", "@babel/traverse@^7.25.1", "@babel/traverse@^7.25.2", "@babel/traverse@^7.25.3", "@babel/traverse@^7.25.4", "@babel/traverse@^7.7.0": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.6.tgz#04fad980e444f182ecf1520504941940a90fea41" + integrity sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ== dependencies: "@babel/code-frame" "^7.24.7" - "@babel/generator" "^7.24.8" - "@babel/helper-environment-visitor" "^7.24.7" - "@babel/helper-function-name" "^7.24.7" - "@babel/helper-hoist-variables" "^7.24.7" - "@babel/helper-split-export-declaration" "^7.24.7" - "@babel/parser" "^7.24.8" - "@babel/types" "^7.24.8" + "@babel/generator" "^7.25.6" + "@babel/parser" "^7.25.6" + "@babel/template" "^7.25.0" + "@babel/types" "^7.25.6" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.24.7", "@babel/types@^7.24.8", "@babel/types@^7.24.9", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": - version "7.24.9" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.9.tgz#228ce953d7b0d16646e755acf204f4cf3d08cc73" - integrity sha512-xm8XrMKz0IlUdocVbYJe0Z9xEgidU7msskG8BbhnTPK/HZ2z/7FP7ykqPgrUH+C+r414mNfNWam1f2vqOjqjYQ== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.24.7", "@babel/types@^7.24.8", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.25.6", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.6.tgz#893942ddb858f32ae7a004ec9d3a76b3463ef8e6" + integrity sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw== dependencies: "@babel/helper-string-parser" "^7.24.8" "@babel/helper-validator-identifier" "^7.24.7" @@ -1479,6 +1460,11 @@ estree-walker "^1.0.1" picomatch "^2.2.2" +"@rtsao/scc@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@rtsao/scc/-/scc-1.1.0.tgz#927dd2fae9bc3361403ac2c7a00c32ddce9ad7e8" + integrity sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g== + "@sinclair/typebox@^0.27.8": version "0.27.8" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" @@ -1544,9 +1530,9 @@ integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== "@types/estree@*": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" - integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== + version "1.0.6" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" + integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== "@types/estree@0.0.39": version "0.0.39" @@ -1596,9 +1582,9 @@ pretty-format "^25.2.1" "@types/jest@^29.2.4": - version "29.5.12" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544" - integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw== + version "29.5.13" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc" + integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg== dependencies: expect "^29.0.0" pretty-format "^29.0.0" @@ -1614,11 +1600,11 @@ integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== "@types/node@*": - version "20.14.11" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.11.tgz#09b300423343460455043ddd4d0ded6ac579b74b" - integrity sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA== + version "22.5.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.5.tgz#52f939dd0f65fc552a4ad0b392f3c466cc5d7a44" + integrity sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA== dependencies: - undici-types "~5.26.4" + undici-types "~6.19.2" "@types/normalize-package-data@^2.4.0": version "2.4.4" @@ -1665,9 +1651,9 @@ "@types/yargs-parser" "*" "@types/yargs@^17.0.8": - version "17.0.32" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.32.tgz#030774723a2f7faafebf645f4e5a48371dca6229" - integrity sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog== + version "17.0.33" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" + integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== dependencies: "@types/yargs-parser" "*" @@ -1797,9 +1783,9 @@ ansi-regex@^5.0.0, ansi-regex@^5.0.1: integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== ansi-regex@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" - integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + version "6.1.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" + integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" @@ -1883,7 +1869,7 @@ array-equal@^1.0.0: resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.2.tgz#a8572e64e822358271250b9156d20d96ef5dec04" integrity sha512-gUHx76KtnhEgB3HOuFYiCm3FIdEs6ocM2asHvNTkfu/Y09qQVrrVVaOKENmS2KkSaGoxgXNqC+ZVtR/n0MOkSA== -array-includes@^3.1.6, array-includes@^3.1.7, array-includes@^3.1.8: +array-includes@^3.1.6, array-includes@^3.1.8: version "3.1.8" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== @@ -1912,7 +1898,7 @@ array.prototype.findlast@^1.2.5: es-object-atoms "^1.0.0" es-shim-unscopables "^1.0.2" -array.prototype.findlastindex@^1.2.3: +array.prototype.findlastindex@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz#8c35a755c72908719453f87145ca011e39334d0d" integrity sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ== @@ -1944,16 +1930,6 @@ array.prototype.flatmap@^1.3.2: es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -array.prototype.toreversed@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz#b989a6bf35c4c5051e1dc0325151bf8088954eba" - integrity sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - array.prototype.tosorted@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz#fe954678ff53034e717ea3352a03f0b0b86f7ffc" @@ -2039,21 +2015,19 @@ aws-sign2@~0.7.0: integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== aws4@^1.8.0: - version "1.13.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.13.0.tgz#d9b802e9bb9c248d7be5f7f5ef178dc3684e9dcc" - integrity sha512-3AungXC4I8kKsS9PuS4JH2nc+0bVY/mjgrephHTIi8fpEeGsTHBUJeosp0Wc1myYMElmD0B3Oc4XL/HVJ4PV2g== + version "1.13.2" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.13.2.tgz#0aa167216965ac9474ccfa83892cfb6b3e1e52ef" + integrity sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw== -axe-core@^4.9.1: - version "4.9.1" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.9.1.tgz#fcd0f4496dad09e0c899b44f6c4bb7848da912ae" - integrity sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw== +axe-core@^4.10.0: + version "4.10.0" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.10.0.tgz#d9e56ab0147278272739a000880196cdfe113b59" + integrity sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g== -axobject-query@~3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.1.1.tgz#3b6e5c6d4e43ca7ba51c5babf99d22a9c68485e1" - integrity sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg== - dependencies: - deep-equal "^2.0.5" +axobject-query@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-4.1.0.tgz#28768c76d0e3cff21bc62a9e2d0b6ac30042a1ee" + integrity sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ== babel-eslint@^10.0.3: version "10.1.0" @@ -2152,13 +2126,13 @@ babel-plugin-polyfill-corejs2@^0.4.10: "@babel/helper-define-polyfill-provider" "^0.6.2" semver "^6.3.1" -babel-plugin-polyfill-corejs3@^0.10.4: - version "0.10.4" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz#789ac82405ad664c20476d0233b485281deb9c77" - integrity sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg== +babel-plugin-polyfill-corejs3@^0.10.6: + version "0.10.6" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz#2deda57caef50f59c525aeb4964d3b2f867710c7" + integrity sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.6.1" - core-js-compat "^3.36.1" + "@babel/helper-define-polyfill-provider" "^0.6.2" + core-js-compat "^3.38.0" babel-plugin-polyfill-regenerator@^0.0.4: version "0.0.4" @@ -2197,22 +2171,25 @@ babel-preset-current-node-syntax@^0.1.2: "@babel/plugin-syntax-optional-chaining" "^7.8.3" babel-preset-current-node-syntax@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" - integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== + version "1.1.0" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz#9a929eafece419612ef4ae4f60b1862ebad8ef30" + integrity sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" - "@babel/plugin-syntax-class-properties" "^7.8.3" - "@babel/plugin-syntax-import-meta" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-import-attributes" "^7.24.7" + "@babel/plugin-syntax-import-meta" "^7.10.4" "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-top-level-await" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" babel-preset-jest@^25.5.0: version "25.5.0" @@ -2298,14 +2275,14 @@ browser-resolve@^1.11.3: dependencies: resolve "1.1.7" -browserslist@^4.23.0, browserslist@^4.23.1: - version "4.23.2" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.2.tgz#244fe803641f1c19c28c48c4b6ec9736eb3d32ed" - integrity sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA== +browserslist@^4.23.1, browserslist@^4.23.3: + version "4.23.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" + integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== dependencies: - caniuse-lite "^1.0.30001640" - electron-to-chromium "^1.4.820" - node-releases "^2.0.14" + caniuse-lite "^1.0.30001646" + electron-to-chromium "^1.5.4" + node-releases "^2.0.18" update-browserslist-db "^1.1.0" bs-logger@0.x: @@ -2373,10 +2350,10 @@ camelcase@^6.0.0, camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001640: - version "1.0.30001642" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001642.tgz#6aa6610eb24067c246d30c57f055a9d0a7f8d05f" - integrity sha512-3XQ0DoRgLijXJErLSl+bLnJ+Et4KqV1PY6JJBGAFlsNsz31zeAIncyeZfLCabHK/jtSh+671RM9YMldxjUPZtA== +caniuse-lite@^1.0.30001646: + version "1.0.30001660" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz#31218de3463fabb44d0b7607b652e56edf2e2355" + integrity sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg== capture-exit@^2.0.0: version "2.0.0" @@ -2441,9 +2418,9 @@ ci-info@^3.2.0: integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== cjs-module-lexer@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz#c485341ae8fd999ca4ee5af2d7a1c9ae01e0099c" - integrity sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q== + version "1.4.1" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz#707413784dbb3a72aa11c2f2b042a0bef4004170" + integrity sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA== class-utils@^0.3.5: version "0.3.6" @@ -2621,12 +2598,12 @@ copy-descriptor@^0.1.0: resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== -core-js-compat@^3.36.1, core-js-compat@^3.37.1: - version "3.37.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.37.1.tgz#c844310c7852f4bdf49b8d339730b97e17ff09ee" - integrity sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg== +core-js-compat@^3.37.1, core-js-compat@^3.38.0: + version "3.38.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.38.1.tgz#2bc7a298746ca5a7bcb9c164bcb120f2ebc09a09" + integrity sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw== dependencies: - browserslist "^4.23.0" + browserslist "^4.23.3" core-util-is@1.0.2: version "1.0.2" @@ -2764,11 +2741,11 @@ debug@^3.2.7: ms "^2.1.1" debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: - version "4.3.5" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e" - integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== + version "4.3.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" + integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== dependencies: - ms "2.1.2" + ms "^2.1.3" decamelize@^1.2.0: version "1.2.0" @@ -2920,10 +2897,10 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -electron-to-chromium@^1.4.820: - version "1.4.829" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.829.tgz#3034a865b5eac9064c9db8b38ba99b60a446bb73" - integrity sha512-5qp1N2POAfW0u1qGAxXEtz6P7bO1m6gpZr5hdf5ve6lxpLM7MpiM4jIPz7xcrNlClQMafbyUDDWjlIQZ1Mw0Rw== +electron-to-chromium@^1.5.4: + version "1.5.25" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.25.tgz#492ade1cde401332b9b75aa0c55fd5e1550ca66c" + integrity sha512-kMb204zvK3PsSlgvvwzI3wBIcAw15tRkYk+NQdsjdDtcQWTp2RABbMQ9rUBy8KNEOM+/E6ep+XC3AykiWZld4g== emittery@^0.13.1: version "0.13.1" @@ -3099,9 +3076,9 @@ es-to-primitive@^1.2.1: is-symbol "^1.0.2" escalade@^3.1.1, escalade@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" - integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== + version "3.2.0" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" + integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== escape-string-regexp@^1.0.5: version "1.0.5" @@ -3148,10 +3125,10 @@ eslint-import-resolver-node@^0.3.9: is-core-module "^2.13.0" resolve "^1.22.4" -eslint-module-utils@^2.8.0: - version "2.8.1" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz#52f2404300c3bd33deece9d7372fb337cc1d7c34" - integrity sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q== +eslint-module-utils@^2.9.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.11.0.tgz#b99b211ca4318243f09661fae088f373ad5243c4" + integrity sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ== dependencies: debug "^3.2.7" @@ -3163,39 +3140,40 @@ eslint-plugin-flowtype@^3.13.0: lodash "^4.17.15" eslint-plugin-import@^2.18.2: - version "2.29.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz#d45b37b5ef5901d639c15270d74d46d161150643" - integrity sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw== + version "2.30.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz#21ceea0fc462657195989dd780e50c92fe95f449" + integrity sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw== dependencies: - array-includes "^3.1.7" - array.prototype.findlastindex "^1.2.3" + "@rtsao/scc" "^1.1.0" + array-includes "^3.1.8" + array.prototype.findlastindex "^1.2.5" array.prototype.flat "^1.3.2" array.prototype.flatmap "^1.3.2" debug "^3.2.7" doctrine "^2.1.0" eslint-import-resolver-node "^0.3.9" - eslint-module-utils "^2.8.0" - hasown "^2.0.0" - is-core-module "^2.13.1" + eslint-module-utils "^2.9.0" + hasown "^2.0.2" + is-core-module "^2.15.1" is-glob "^4.0.3" minimatch "^3.1.2" - object.fromentries "^2.0.7" - object.groupby "^1.0.1" - object.values "^1.1.7" + object.fromentries "^2.0.8" + object.groupby "^1.0.3" + object.values "^1.2.0" semver "^6.3.1" tsconfig-paths "^3.15.0" eslint-plugin-jsx-a11y@^6.2.3: - version "6.9.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz#67ab8ff460d4d3d6a0b4a570e9c1670a0a8245c8" - integrity sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g== + version "6.10.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.0.tgz#36fb9dead91cafd085ddbe3829602fb10ef28339" + integrity sha512-ySOHvXX8eSN6zz8Bywacm7CvGNhUtdjvqfQDVe6020TUK34Cywkw7m0KsCCk1Qtm9G1FayfTN1/7mMYnYO2Bhg== dependencies: aria-query "~5.1.3" array-includes "^3.1.8" array.prototype.flatmap "^1.3.2" ast-types-flow "^0.0.8" - axe-core "^4.9.1" - axobject-query "~3.1.1" + axe-core "^4.10.0" + axobject-query "^4.1.0" damerau-levenshtein "^1.0.8" emoji-regex "^9.2.2" es-iterator-helpers "^1.0.19" @@ -3220,14 +3198,13 @@ eslint-plugin-react-hooks@^2.2.0: integrity sha512-Y2c4b55R+6ZzwtTppKwSmK/Kar8AdLiC2f9NADCuxbcTgPPg41Gyqa6b9GppgXSvCtkRw43ZE86CT5sejKC6/g== eslint-plugin-react@^7.14.3: - version "7.34.4" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.34.4.tgz#1f0dc313a0937db7ce15fd1f6c3d77e70f3e02fb" - integrity sha512-Np+jo9bUwJNxCsT12pXtrGhJgT3T44T1sHhn1Ssr42XFn8TES0267wPGo5nNrMHi8qkyimDAX2BUmkf9pSaVzA== + version "7.36.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.36.1.tgz#f1dabbb11f3d4ebe8b0cf4e54aff4aee81144ee5" + integrity sha512-/qwbqNXZoq+VP30s1d4Nc1C5GTxjJQjk4Jzs4Wq2qzxFM7dSmuG2UkIjg2USMLh3A/aVcUNrK7v0J5U1XEGGwA== dependencies: array-includes "^3.1.8" array.prototype.findlast "^1.2.5" array.prototype.flatmap "^1.3.2" - array.prototype.toreversed "^1.1.2" array.prototype.tosorted "^1.1.4" doctrine "^2.1.0" es-iterator-helpers "^1.0.19" @@ -3701,7 +3678,7 @@ function-bind@^1.1.2: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -function.prototype.name@^1.1.5, function.prototype.name@^1.1.6: +function.prototype.name@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== @@ -4020,9 +3997,9 @@ import-fresh@^3.0.0, import-fresh@^3.1.0: resolve-from "^4.0.0" import-local@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" - integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== + version "3.2.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.2.0.tgz#c3d5c745798c02a6f8b897726aba5100186ee260" + integrity sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA== dependencies: pkg-dir "^4.2.0" resolve-cwd "^3.0.0" @@ -4150,10 +4127,10 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" -is-core-module@^2.13.0, is-core-module@^2.13.1: - version "2.15.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.0.tgz#71c72ec5442ace7e76b306e9d48db361f22699ea" - integrity sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA== +is-core-module@^2.13.0, is-core-module@^2.15.1: + version "2.15.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.1.tgz#a7363a25bee942fefab0de13bf6aa372c82dcc37" + integrity sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ== dependencies: hasown "^2.0.2" @@ -5618,9 +5595,9 @@ micromatch@4.0.5: picomatch "^2.3.1" micromatch@4.x, micromatch@^4.0.2, micromatch@^4.0.4: - version "4.0.7" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5" - integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== + version "4.0.8" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== dependencies: braces "^3.0.3" picomatch "^2.3.1" @@ -5713,7 +5690,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.1.1: +ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -5787,10 +5764,10 @@ node-notifier@^6.0.0: shellwords "^0.1.1" which "^1.3.1" -node-releases@^2.0.14: - version "2.0.17" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.17.tgz#d74bc4fec38d839eec5db2a3c9c963d4f33cb366" - integrity sha512-Ww6ZlOiEQfPfXM45v17oabk77Z7mg5bOt7AjDyzy7RjK9OrLrLC8dyZQoAPEOtFX9SaNf1Tdvr5gRJWdTJj7GA== +node-releases@^2.0.18: + version "2.0.18" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" + integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g== normalize-package-data@^2.5.0: version "2.5.0" @@ -5903,7 +5880,7 @@ object.entries@^1.1.8: define-properties "^1.2.1" es-object-atoms "^1.0.0" -object.fromentries@^2.0.7, object.fromentries@^2.0.8: +object.fromentries@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== @@ -5913,7 +5890,7 @@ object.fromentries@^2.0.7, object.fromentries@^2.0.8: es-abstract "^1.23.2" es-object-atoms "^1.0.0" -object.groupby@^1.0.1: +object.groupby@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz#9b125c36238129f6f7b61954a1e7176148d5002e" integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== @@ -5929,7 +5906,7 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -object.values@^1.1.6, object.values@^1.1.7, object.values@^1.2.0: +object.values@^1.1.6, object.values@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.2.0.tgz#65405a9d92cee68ac2d303002e0b8470a4d9ab1b" integrity sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ== @@ -6114,9 +6091,9 @@ performance-now@^2.1.0: integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== picocolors@^1.0.0, picocolors@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" - integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== + version "1.1.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.0.tgz#5358b76a78cde483ba5cef6a9dc9671440b27d59" + integrity sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw== picomatch@^2.0.4, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" @@ -6234,9 +6211,9 @@ psl@^1.1.28: integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== + version "3.0.2" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.2.tgz#836f3edd6bc2ee599256c924ffe0d88573ddcbf8" + integrity sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw== dependencies: end-of-stream "^1.1.0" once "^1.3.1" @@ -6318,9 +6295,9 @@ reflect.getprototypeof@^1.0.4: which-builtin-type "^1.1.3" regenerate-unicode-properties@^10.1.0: - version "10.1.1" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz#6b0e05489d9076b04c436f318d9b067bba459480" - integrity sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q== + version "10.2.0" + resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz#626e39df8c372338ea9b8028d1f99dc3fd9c3db0" + integrity sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA== dependencies: regenerate "^1.4.2" @@ -6944,9 +6921,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.18" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz#22aa922dcf2f2885a6494a261f2d8b75345d0326" - integrity sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ== + version "3.0.20" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz#e44ed19ed318dd1e5888f93325cee800f0f51b89" + integrity sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw== split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" @@ -7462,9 +7439,9 @@ tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tslib@^2.0.3, tslib@^2.4.1: - version "2.6.3" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" - integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== + version "2.7.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" + integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== tsutils@^3.17.1: version "3.21.0" @@ -7588,15 +7565,15 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" -undici-types@~5.26.4: - version "5.26.5" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" - integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== unicode-canonical-property-names-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" - integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + version "2.0.1" + resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz#cb3173fe47ca743e228216e4a3ddc4c84d628cc2" + integrity sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg== unicode-match-property-ecmascript@^2.0.0: version "2.0.0" @@ -7607,9 +7584,9 @@ unicode-match-property-ecmascript@^2.0.0: unicode-property-aliases-ecmascript "^2.0.0" unicode-match-property-value-ecmascript@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" - integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== + version "2.2.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz#a0401aee72714598f739b68b104e4fe3a0cb3c71" + integrity sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg== unicode-property-aliases-ecmascript@^2.0.0: version "2.1.0" @@ -7787,12 +7764,12 @@ which-boxed-primitive@^1.0.2: is-symbol "^1.0.3" which-builtin-type@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/which-builtin-type/-/which-builtin-type-1.1.3.tgz#b1b8443707cc58b6e9bf98d32110ff0c2cbd029b" - integrity sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw== + version "1.1.4" + resolved "https://registry.yarnpkg.com/which-builtin-type/-/which-builtin-type-1.1.4.tgz#592796260602fc3514a1b5ee7fa29319b72380c3" + integrity sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w== dependencies: - function.prototype.name "^1.1.5" - has-tostringtag "^1.0.0" + function.prototype.name "^1.1.6" + has-tostringtag "^1.0.2" is-async-function "^2.0.0" is-date-object "^1.0.5" is-finalizationregistry "^1.0.2" @@ -7801,10 +7778,10 @@ which-builtin-type@^1.1.3: is-weakref "^1.0.2" isarray "^2.0.5" which-boxed-primitive "^1.0.2" - which-collection "^1.0.1" - which-typed-array "^1.1.9" + which-collection "^1.0.2" + which-typed-array "^1.1.15" -which-collection@^1.0.1: +which-collection@^1.0.1, which-collection@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.2.tgz#627ef76243920a107e7ce8e96191debe4b16c2a0" integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw== @@ -7819,7 +7796,7 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== -which-typed-array@^1.1.13, which-typed-array@^1.1.14, which-typed-array@^1.1.15, which-typed-array@^1.1.9: +which-typed-array@^1.1.13, which-typed-array@^1.1.14, which-typed-array@^1.1.15: version "1.1.15" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.15.tgz#264859e9b11a649b388bfaaf4f767df1f779b38d" integrity sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==